Scripts/LCT: fixed spell validation for General Husam's Bad Intentions script effect

This commit is contained in:
Ovahlord
2023-11-06 16:53:45 +01:00
parent a457303f97
commit 394940e0c5

View File

@@ -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*/)