From 394940e0c5a952598b4d0465e2c2860768411218 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Mon, 6 Nov 2023 16:53:45 +0100 Subject: [PATCH] Scripts/LCT: fixed spell validation for General Husam's Bad Intentions script effect --- .../scripts/Kalimdor/LostCityOfTheTolvir/boss_general_husam.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(spellInfo->GetEffect(EFFECT_0).BasePoints) }); + return ValidateSpellEffect({ { spellInfo->Id, EFFECT_1 } }) && ValidateSpellInfo({ static_cast(spellInfo->GetEffect(EFFECT_1).BasePoints) }); } void HandleScriptEffect(SpellEffIndex /*effIndex*/)