Fixed error caused by missing damageMultiplier2 text in Book Of Virtues Wisp function

This commit is contained in:
Wofsauge committed 2026-03-08 21:17:22 +01:00
1 parent c6ac3fa22f
commit a1daac239f
9 files changed
+10 -2

No files matched your search

+1
View File
@@ -1605,6 +1605,7 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
-- The placeholder therefore can be used in all parts that make up the wisp descriptions -- The placeholder therefore can be used in all parts that make up the wisp descriptions
StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text
Shotspeed = "{1}% Rychlost střely", -- {1} will be replaced with the shot speed changes in % Shotspeed = "{1}% Rychlost střely", -- {1} will be replaced with the shot speed changes in %
Damage = "{1}% Poškození", -- {1} will be replaced with the damage changes in %
Chance = " ({1}% Šance)", -- {1} will be replaced with the chance Chance = " ({1}% Šance)", -- {1} will be replaced with the chance
SingleRoom = "Bludička pro jednu místnost", SingleRoom = "Bludička pro jednu místnost",
NoWisps = "Žádné bludičky", NoWisps = "Žádné bludičky",
+1
View File
@@ -525,6 +525,7 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
-- The placeholder therefore can be used in all parts that make up the wisp descriptions -- The placeholder therefore can be used in all parts that make up the wisp descriptions
StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text
Shotspeed = "{1}% Schussgeschwindigkeit", -- {1} will be replaced with the shot speed changes in % Shotspeed = "{1}% Schussgeschwindigkeit", -- {1} will be replaced with the shot speed changes in %
Damage = "{1}% Schaden", -- {1} will be replaced with the damage changes in %
Chance = " ({1}% Chance)", -- {1} will be replaced with the chance Chance = " ({1}% Chance)", -- {1} will be replaced with the chance
SingleRoom = "Einzelraum-Wisp{plural_s}", SingleRoom = "Einzelraum-Wisp{plural_s}",
NoWisps = "Kein Wisp", NoWisps = "Kein Wisp",
+1
View File
@@ -485,6 +485,7 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
-- The placeholder therefore can be used in all parts that make up the wisp descriptions -- The placeholder therefore can be used in all parts that make up the wisp descriptions
StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text
Shotspeed = "{1}% Shot speed", -- {1} will be replaced with the shot speed changes in % Shotspeed = "{1}% Shot speed", -- {1} will be replaced with the shot speed changes in %
Damage = "{1}% Damage", -- {1} will be replaced with the damage changes in %
Chance = " ({1}% Chance)", -- {1} will be replaced with the chance Chance = " ({1}% Chance)", -- {1} will be replaced with the chance
SingleRoom = "Single room wisp", SingleRoom = "Single room wisp",
NoWisps = "No Wisps", NoWisps = "No Wisps",
+1
View File
@@ -485,6 +485,7 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
-- The placeholder therefore can be used in all parts that make up the wisp descriptions -- The placeholder therefore can be used in all parts that make up the wisp descriptions
StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text
Shotspeed = "{1}% Velocità Colpi", -- {1} will be replaced with the shot speed changes in % Shotspeed = "{1}% Velocità Colpi", -- {1} will be replaced with the shot speed changes in %
Damage = "{1}% Danni", -- {1} will be replaced with the damage changes in %
Chance = " ({1}% di chance)", -- {1} will be replaced with the chance Chance = " ({1}% di chance)", -- {1} will be replaced with the chance
SingleRoom = "Fiammella per una singola stanza", SingleRoom = "Fiammella per una singola stanza",
NoWisps = "Niente fiammelle", NoWisps = "Niente fiammelle",
+1
View File
@@ -493,6 +493,7 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
-- The placeholder therefore can be used in all parts that make up the wisp descriptions -- The placeholder therefore can be used in all parts that make up the wisp descriptions
StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text
Shotspeed = "弾速:{1}%", -- {1} will be replaced with the shot speed changes in % Shotspeed = "弾速:{1}%", -- {1} will be replaced with the shot speed changes in %
Damage = "ダメージ: {1}%", -- {1} will be replaced with the damage changes in %
Chance = "(確率{1}%)", -- {1} will be replaced with the chance Chance = "(確率{1}%)", -- {1} will be replaced with the chance
SingleRoom = "その部屋でのみ有効", SingleRoom = "その部屋でのみ有効",
NoWisps = "ウィスプなし", NoWisps = "ウィスプなし",
+1
View File
@@ -578,6 +578,7 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
-- The placeholder therefore can be used in all parts that make up the wisp descriptions -- The placeholder therefore can be used in all parts that make up the wisp descriptions
StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text
Shotspeed = "탄속 {1}%", -- {1} will be replaced with the shot speed changes in % Shotspeed = "탄속 {1}%", -- {1} will be replaced with the shot speed changes in %
Damage = "피해 {1}%", -- {1} will be replaced with the damage changes in %
Chance = " (확률 {1}%)", -- {1} will be replaced with the chance Chance = " (확률 {1}%)", -- {1} will be replaced with the chance
SingleRoom = "방을 나가면 사라집니다.", SingleRoom = "방을 나가면 사라집니다.",
NoWisps = "위습 없음", NoWisps = "위습 없음",
+1
View File
@@ -485,6 +485,7 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
-- The placeholder therefore can be used in all parts that make up the wisp descriptions -- The placeholder therefore can be used in all parts that make up the wisp descriptions
StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text
Shotspeed = "{1}% vel. de lágrimas", -- {1} will be replaced with the shot speed changes in % Shotspeed = "{1}% vel. de lágrimas", -- {1} will be replaced with the shot speed changes in %
Damage = "{1}% Daño", -- {1} will be replaced with the damage changes in %
Chance = " ({1}% de probabilidad)", -- {1} will be replaced with the chance Chance = " ({1}% de probabilidad)", -- {1} will be replaced with the chance
SingleRoom = "Fuego de una sola habitación", SingleRoom = "Fuego de una sola habitación",
NoWisps = "No hay fuego", NoWisps = "No hay fuego",
+1
View File
@@ -486,6 +486,7 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
-- The placeholder therefore can be used in all parts that make up the wisp descriptions -- The placeholder therefore can be used in all parts that make up the wisp descriptions
StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text
Shotspeed = "{1}%弹速", -- {1} will be replaced with the shot speed changes in % Shotspeed = "{1}%弹速", -- {1} will be replaced with the shot speed changes in %
Damage = "{1}%伤害", -- {1} will be replaced with the damage changes in %
Chance = " ({1}%概率)", -- {1} will be replaced with the chance Chance = " ({1}%概率)", -- {1} will be replaced with the chance
SingleRoom = "单房间魂火", SingleRoom = "单房间魂火",
NoWisps = "无魂火", NoWisps = "无魂火",
+2 -2
View File
@@ -1195,8 +1195,8 @@ if EID.isRepentance then
-- damage multiplier based on proc chance -- damage multiplier based on proc chance
if damageMultiplier2 ~= 1 then if damageMultiplier2 ~= 1 then
local damageText2 = EID:ReplaceVariableStr(EID:getDescriptionEntry("BookOfVirtuesWispTexts", "Damage"), damageMultiplier2) local damageText2 = EID:ReplaceVariableStr(EID:getDescriptionEntry("BookOfVirtuesWispTexts", "Damage"), damageMultiplier2 * 100)
descriptionText = descriptionText .. "#" .. textColor .. damageText2 .. GetChanceString(2, procChance, procChance, 0) descriptionText = descriptionText .. "#{{Damage}} " .. textColor .. damageText2 .. GetChanceString(2, procChance, procChance, 0)
end end
-- create list of tear effect descriptions -- create list of tear effect descriptions
descriptionText = descriptionText .. GetFlagString(1, "TearFlagNames", "{{Shotspeed}} " .. textColor, tearFlags, procChance, procChance) descriptionText = descriptionText .. GetFlagString(1, "TearFlagNames", "{{Shotspeed}} " .. textColor, tearFlags, procChance, procChance)