feat(core/AI): implement DoCastSelf helper (#2179)

This commit is contained in:
Viste
2019-08-05 14:36:05 +03:00
committed by Francesco Borzì
parent 5a2559b14c
commit 0228c1ea03

View File

@@ -286,6 +286,7 @@ class 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);