From 46f9790ef42c55dd39966f7f0382434541116160 Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Mon, 12 May 2025 23:20:16 +0200 Subject: [PATCH] BookOfVirtues: Removed prepend damage2 text (was debug text) --- descriptions/rep/en_us.lua | 1 - descriptions/rep/ko_kr.lua | 1 - features/eid_modifiers.lua | 7 ++----- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/descriptions/rep/en_us.lua b/descriptions/rep/en_us.lua index f0f9aded..ec1cda9d 100644 --- a/descriptions/rep/en_us.lua +++ b/descriptions/rep/en_us.lua @@ -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 diff --git a/descriptions/rep/ko_kr.lua b/descriptions/rep/ko_kr.lua index a2b798fe..7b2b7049 100644 --- a/descriptions/rep/ko_kr.lua +++ b/descriptions/rep/ko_kr.lua @@ -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 diff --git a/features/eid_modifiers.lua b/features/eid_modifiers.lua index de9e2439..f59251ef 100644 --- a/features/eid_modifiers.lua +++ b/features/eid_modifiers.lua @@ -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)