Core/AI: Add DoCastSelf helper.

(I have no idea why I never bothered to do this before, really. It had crossed my mind a few times.)
This commit is contained in:
treeston
2016-05-12 18:46:12 +02:00
parent afbda04767
commit ab0abdbde5

View File

@@ -242,6 +242,7 @@ class TC_GAME_API UnitAI
void DoAddAuraToAllHostilePlayers(uint32 spellid);
void DoCast(uint32 spellId);
void DoCast(Unit* victim, uint32 spellId, bool triggered = false);
inline void DoCastSelf(uint32 spellId, bool triggered = false) { DoCast(me, spellId, triggered); }
void DoCastToAllHostilePlayers(uint32 spellid, bool triggered = false);
void DoCastVictim(uint32 spellId, bool triggered = false);
void DoCastAOE(uint32 spellId, bool triggered = false);