From 51c53b6ead975c9e1bb390e042a2d55b99a3ef6d Mon Sep 17 00:00:00 2001 From: AnchyDev Date: Fri, 8 Mar 2024 17:56:45 +1100 Subject: [PATCH] Fixed spell scaling for missing config key/value. --- src/scripts/ToSUnitScript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/ToSUnitScript.cpp b/src/scripts/ToSUnitScript.cpp index d0d278e..ebdc58b 100644 --- a/src/scripts/ToSUnitScript.cpp +++ b/src/scripts/ToSUnitScript.cpp @@ -103,7 +103,7 @@ void ToSUnitScript::ModifySpellDamageTaken(Unit* /*target*/, Unit* attacker, int uint32 currentWave = iScript->GetData(TOS_DATA_ENCOUNTER_CURRENT_WAVE); - uint32 baseDamage = sConfigMgr->GetOption("TrialOfStrength.Scaling.BaseDamage.Spell", 500); + uint32 baseDamage = sConfigMgr->GetOption("TrialOfStrength.Scaling.BaseDamage.Spell", 1000); uint32 damageDivider = sConfigMgr->GetOption("TrialOfStrength.Scaling.BaseDamage.SpellDivider", 15);; uint32 newDamage = baseDamage * (1.0f + (float(currentWave) / float(damageDivider)));