diff options
author | Spp <none@none> | 2010-04-19 17:04:28 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-19 17:04:28 +0200 |
commit | 452cada8b63e3a894fe75e1700c56e5ce3a79301 (patch) | |
tree | eda4157cc1b3723d54ad05e58b4d4a32ed86701a /src/game/ScriptedCreature.h | |
parent | be01821050dd30ff65e89b347d528efb20aba028 (diff) |
ScriptedAI: Fix types in SelectSpell
--HG--
branch : trunk
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); |