BookOfVirtues: Removed prepend damage2 text (was debug text)

This commit is contained in:
Wofsauge committed 2025-05-12 23:20:16 +02:00
1 parent 20208208bf
commit 46f9790ef4
3 files changed
+2 -7

No files matched your search

-1
View File
@@ -486,7 +486,6 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
StatDescription = "{{Heart}} {health} {{Damage}} {damage}", -- {health} will be replaced with the health text, {damage} with the damage text or the "CantShoot" text
Health = "{1} health", -- {1} will be replaced with the health
Damage = "{1} dps", -- {1} will be replaced with the calculated damage
Damage2 = "dmg", -- prepend text for damage multiplier based on proc chance
CantShoot = "Can't shoot!",
Shotspeed = "{1}% Shot speed", -- {1} will be replaced with the shot speed changes in %
Chance = " ({1}% Chance)", -- {1} will be replaced with the chance
-1
View File
@@ -579,7 +579,6 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
StatDescription = "{{Heart}} {health} / {{DamageSmall}} {damage}", -- {health} will be replaced with the health text, {damage} with the damage text or the "CantShoot" text
Health = "{1}", -- {1} will be replaced with the health
Damage = "{1} DPS", -- {1} will be replaced with the calculated damage
Damage2 = "{{DamageSmall}} ", -- prepend text for damage multiplier based on proc chance
CantShoot = "공격불가",
Shotspeed = "탄속 {1}%", -- {1} will be replaced with the shot speed changes in %
Chance = " (확률 {1}%)", -- {1} will be replaced with the chance
+2 -5
View File
@@ -1153,11 +1153,8 @@ if EID.isRepentance then
-- damage multiplier based on proc chance
if damageMultiplier2 ~= 1 then
local damageText2 = EID:getDescriptionEntry("BookOfVirtuesWispTexts", "Damage2")
local dmgText2 = EID:ReplaceVariableStr(EID:getDescriptionEntry("BookOfVirtuesWispTexts", "Damage"),
damageMultiplier2)
descriptionText = descriptionText ..
"#" .. textColor .. damageText2 .. dmgText2 .. GetChanceString(2, procChance, procChance, 0)
local damageText2 = EID:ReplaceVariableStr(EID:getDescriptionEntry("BookOfVirtuesWispTexts", "Damage"), damageMultiplier2)
descriptionText = descriptionText .. "#" .. textColor .. damageText2 .. GetChanceString(2, procChance, procChance, 0)
end
-- create list of tear effect descriptions
descriptionText = descriptionText .. GetFlagString(1, "TearFlagNames", "{{Shotspeed}} " .. textColor, tearFlags, procChance, procChance)