diff options
Diffstat (limited to 'src/game/ScriptedCreature.h')
-rw-r--r-- | src/game/ScriptedCreature.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/ScriptedCreature.h b/src/game/ScriptedCreature.h index a275111ddf1..a7b8b530f66 100644 --- a/src/game/ScriptedCreature.h +++ b/src/game/ScriptedCreature.h @@ -156,7 +156,7 @@ struct ScriptedAI : public CreatureAI bool HealthBelowPct(uint32 pct) const { return me->GetHealth() * 100 < me->GetMaxHealth() * pct; } //Returns spells that meet the specified criteria from the creatures spell list - SpellEntry const* SelectSpell(Unit* Target, int32 School, int32 Mechanic, SelectTargetType Targets, uint32 PowerCostMin, uint32 PowerCostMax, float RangeMin, float RangeMax, SelectEffect Effect); + SpellEntry const* SelectSpell(Unit* Target, uint32 School, uint32 Mechanic, SelectTargetType Targets, uint32 PowerCostMin, uint32 PowerCostMax, float RangeMin, float RangeMax, SelectEffect Effect); //Checks if you can cast the specified spell bool CanCast(Unit* pTarget, SpellEntry const* pSpell, bool bTriggered = false); |