mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-14 12:12:34 -04:00
Core/Spells: Warning fix
This commit is contained in:
@@ -310,7 +310,7 @@ SpellInfo const* ScriptedAI::SelectSpell(Unit* target, uint32 school, uint32 mec
|
||||
continue;
|
||||
|
||||
//Continue if we don't have the mana to actually cast this spell
|
||||
if (tempSpell->ManaCost > me->GetPower(Powers(tempSpell->PowerType)))
|
||||
if (tempSpell->ManaCost > me->GetPower(tempSpell->PowerType))
|
||||
continue;
|
||||
|
||||
//Check if the spell meets our range requirements
|
||||
|
||||
Reference in New Issue
Block a user