diff options
author | Ovahlord <dreadkiller@gmx.de> | 2023-11-06 16:53:45 +0100 |
---|---|---|
committer | Ovahlord <dreadkiller@gmx.de> | 2023-11-06 16:53:45 +0100 |
commit | 394940e0c5a952598b4d0465e2c2860768411218 (patch) | |
tree | 3b6def27803ce8ec2f5ae0aa4937749527cda83e /src | |
parent | a457303f976cfaeca3528649f093a2519f0485d8 (diff) |
Scripts/LCT: fixed spell validation for General Husam's Bad Intentions script effect
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Kalimdor/LostCityOfTheTolvir/boss_general_husam.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Kalimdor/LostCityOfTheTolvir/boss_general_husam.cpp b/src/server/scripts/Kalimdor/LostCityOfTheTolvir/boss_general_husam.cpp index 6da8fefc1a1..1109636aab2 100644 --- a/src/server/scripts/Kalimdor/LostCityOfTheTolvir/boss_general_husam.cpp +++ b/src/server/scripts/Kalimdor/LostCityOfTheTolvir/boss_general_husam.cpp @@ -470,7 +470,7 @@ class spell_husam_bad_intentions : public SpellScript { bool Validate(SpellInfo const* spellInfo) override { - return ValidateSpellEffect({ { spellInfo->Id, EFFECT_0 } }) && ValidateSpellInfo({ static_cast<uint32>(spellInfo->GetEffect(EFFECT_0).BasePoints) }); + return ValidateSpellEffect({ { spellInfo->Id, EFFECT_1 } }) && ValidateSpellInfo({ static_cast<uint32>(spellInfo->GetEffect(EFFECT_1).BasePoints) }); } void HandleScriptEffect(SpellEffIndex /*effIndex*/) |