![]() |
TrinityCore
|
Inheritance diagram for player_overlord_brandAI:Public Member Functions | |
| player_overlord_brandAI (Player *player, ObjectGuid casterGUID) | |
| void | DamageDealt (Unit *, uint32 &damage, DamageEffectType) override |
| void | HealDone (Unit *, uint32 &addHealth) override |
| void | UpdateAI (uint32) override |
Public Member Functions inherited from PlayerAI | |
| PlayerAI (Player *player) | |
| Creature * | GetCharmer () const |
| ChrSpecialization | GetSpec (Player const *who=nullptr) const |
| bool | IsHealer (Player const *who=nullptr) const |
| bool | IsRangedAttacker (Player const *who=nullptr) const |
Public Member Functions inherited from UnitAI | |
| UnitAI (Unit *unit) | |
| virtual | ~UnitAI () |
| virtual bool | CanAIAttack (Unit const *) const |
| virtual void | AttackStart (Unit *victim) |
| virtual void | InitializeAI () |
| virtual void | Reset () |
| virtual void | OnCharmed (bool isNew) |
| virtual void | DoAction (int32 param) |
| virtual uint32 | GetData (uint32 id) const |
| virtual void | SetData (uint32 id, uint32 value) |
| virtual void | SetGUID (ObjectGuid const &guid, int32 id) |
| virtual ObjectGuid | GetGUID (int32 id) const |
| Unit * | SelectTarget (SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0) |
| template<class PREDICATE > | |
| Unit * | SelectTarget (SelectTargetMethod targetType, uint32 offset, PREDICATE const &predicate) |
| void | SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0) |
| template<class PREDICATE > | |
| void | SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectTargetMethod targetType, uint32 offset, PREDICATE const &predicate) |
| virtual void | JustEnteredCombat (Unit *) |
| virtual void | JustExitedCombat () |
| virtual void | OnDespawn () |
| virtual void | DamageTaken (Unit *, uint32 &, DamageEffectType, SpellInfo const *) |
| virtual void | HealReceived (Unit *, uint32 &) |
| virtual void | SpellInterrupted (uint32, uint32) |
| void | AttackStartCaster (Unit *victim, float dist) |
| SpellCastResult | DoCast (uint32 spellId) |
| SpellCastResult | DoCast (Unit *victim, uint32 spellId, CastSpellExtraArgs const &args={}) |
| SpellCastResult | DoCastSelf (uint32 spellId, CastSpellExtraArgs const &args={}) |
| SpellCastResult | DoCastVictim (uint32 spellId, CastSpellExtraArgs const &args={}) |
| SpellCastResult | DoCastAOE (uint32 spellId, CastSpellExtraArgs const &args={}) |
| bool | DoSpellAttackIfReady (uint32 spellId) |
| virtual void | OnGameEvent (bool, uint16) |
| virtual std::string | GetDebugInfo () const |
Private Attributes | |
| ObjectGuid | _tyrannusGUID |
Additional Inherited Members | |
Static Public Member Functions inherited from PlayerAI | |
| static bool | IsPlayerHealer (Player const *who) |
| static bool | IsPlayerRangedAttacker (Player const *who) |
Static Public Member Functions inherited from UnitAI | |
| static void | FillAISpellInfo () |
Static Public Attributes inherited from UnitAI | |
| static std::unordered_map< std::pair< uint32, Difficulty >, AISpellInfoType > | AISpellInfo |
Protected Types inherited from PlayerAI | |
| enum | SpellTarget { TARGET_NONE , TARGET_VICTIM , TARGET_CHARMER , TARGET_SELF } |
| typedef std::pair< TargetedSpell, uint32 > | PossibleSpell |
| typedef std::vector< PossibleSpell > | PossibleSpellVector |
Protected Member Functions inherited from PlayerAI | |
| void | SetIsRangedAttacker (bool state) |
| TargetedSpell | VerifySpellCast (uint32 spellId, Unit *target) |
| TargetedSpell | VerifySpellCast (uint32 spellId, SpellTarget target) |
| template<typename T > | |
| void | VerifyAndPushSpellCast (PossibleSpellVector &spells, uint32 spellId, T target, uint32 weight) |
| TargetedSpell | SelectSpellCast (PossibleSpellVector &spells) |
| void | DoCastAtTarget (TargetedSpell spell) |
| virtual Unit * | SelectAttackTarget () const |
| void | DoRangedAttackIfReady () |
| void | DoAutoAttackIfReady () |
| void | CancelAllShapeshifts () |
Protected Attributes inherited from PlayerAI | |
| Player *const | me |
Protected Attributes inherited from UnitAI | |
| Unit *const | me |
Definition at line 374 of file boss_scourgelord_tyrannus.cpp.
|
inline |
Definition at line 377 of file boss_scourgelord_tyrannus.cpp.
|
inlineoverridevirtual |
Reimplemented from UnitAI.
Definition at line 379 of file boss_scourgelord_tyrannus.cpp.
References _tyrannusGUID, CastSpellExtraArgs::AddSpellBP0(), WorldObject::CastSpell(), ObjectAccessor::GetCreature(), Unit::GetVictim(), PlayerAI::me, CastSpellExtraArgs::SetOriginalCaster(), SPELL_OVERLORD_BRAND_DAMAGE, and TRIGGERED_FULL_MASK.
Reimplemented from UnitAI.
Definition at line 391 of file boss_scourgelord_tyrannus.cpp.
References _tyrannusGUID, CastSpellExtraArgs::AddSpellBP0(), WorldObject::CastSpell(), ObjectAccessor::GetCreature(), PlayerAI::me, CastSpellExtraArgs::SetOriginalCaster(), SPELL_OVERLORD_BRAND_HEAL, and TRIGGERED_FULL_MASK.
|
inlineoverridevirtual |
Implements UnitAI.
Definition at line 402 of file boss_scourgelord_tyrannus.cpp.
|
private |
Definition at line 405 of file boss_scourgelord_tyrannus.cpp.
Referenced by DamageDealt(), and HealDone().