mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 07:48:02 +00:00
feat(core/AI): implement DoCastSelf helper (#2179)
This commit is contained in:
@@ -286,6 +286,7 @@ class UnitAI
|
|||||||
void DoAddAuraToAllHostilePlayers(uint32 spellid);
|
void DoAddAuraToAllHostilePlayers(uint32 spellid);
|
||||||
void DoCast(uint32 spellId);
|
void DoCast(uint32 spellId);
|
||||||
void DoCast(Unit* victim, uint32 spellId, bool triggered = false);
|
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 DoCastToAllHostilePlayers(uint32 spellid, bool triggered = false);
|
||||||
void DoCastVictim(uint32 spellId, bool triggered = false);
|
void DoCastVictim(uint32 spellId, bool triggered = false);
|
||||||
void DoCastAOE(uint32 spellId, bool triggered = false);
|
void DoCastAOE(uint32 spellId, bool triggered = false);
|
||||||
|
|||||||
Reference in New Issue
Block a user