![]() |
TrinityCore
|
Inheritance diagram for boss_xt002:Public Member Functions | |
| boss_xt002 (Creature *creature) | |
| void | Initialize () |
| void | ChangeNextExpose () |
| void | Reset () override |
| void | EnterEvadeMode (EvadeReason) override |
| void | JustEngagedWith (Unit *who) override |
| void | DoAction (int32 action) override |
| void | KilledUnit (Unit *who) override |
| void | JustDied (Unit *) override |
| void | ExposeHeart () |
| void | DisposeHeart (bool isHardMode=false) |
| void | RescheduleEvents () |
| void | PassengerBoarded (Unit *who, int8 seatId, bool apply) override |
| == Fields ======================================= | |
| uint32 | GetData (uint32 type) const override |
| void | SetData (uint32 type, uint32 data) override |
| void | UpdateAI (uint32 diff) override |
| void | WaypointReached (uint32 waypointId, uint32 pathId) override |
Public Member Functions inherited from BossAI | |
| BossAI (Creature *creature, uint32 bossId) noexcept | |
| virtual | ~BossAI () |
| void | JustSummoned (Creature *summon) override |
| void | SummonedCreatureDespawn (Creature *summon) override |
| virtual void | ExecuteEvent (uint32) |
| virtual void | ScheduleTasks () |
| void | Reset () override |
| void | JustEngagedWith (Unit *who) override |
| void | JustDied (Unit *) override |
| void | JustReachedHome () override |
| bool | CanAIAttack (Unit const *target) const override |
| uint32 | GetBossId () const |
Public Member Functions inherited from ScriptedAI | |
| ScriptedAI (Creature *creature, uint32 scriptId=0) noexcept | |
| virtual | ~ScriptedAI () |
| void | AttackStartNoMove (Unit *target) |
| void | AttackStart (Unit *) override |
| == Triggered Actions Requested ================== | |
| void | DoStartMovement (Unit *target, float distance=0.0f, float angle=0.0f) |
| void | DoStartNoMovement (Unit *target) |
| void | DoStopAttack () |
| void | DoCastSpell (Unit *target, SpellInfo const *spellInfo, bool triggered=false) |
| void | DoPlaySoundToSet (WorldObject *source, uint32 soundId) |
| void | AddThreat (Unit *victim, float amount, Unit *who=nullptr) |
| void | ModifyThreatByPercent (Unit *victim, int32 pct, Unit *who=nullptr) |
| void | ResetThreat (Unit *victim, Unit *who=nullptr) |
| void | ResetThreatList (Unit *who=nullptr) |
| float | GetThreat (Unit const *victim, Unit const *who=nullptr) |
| void | ForceCombatStop (Creature *who, bool reset=true) |
| void | ForceCombatStopForCreatureEntry (uint32 entry, float maxSearchRange=250.0f, bool samePhase=true, bool reset=true) |
| void | ForceCombatStopForCreatureEntry (std::vector< uint32 > creatureEntries, float maxSearchRange=250.0f, bool samePhase=true, bool reset=true) |
| void | DoTeleportTo (float x, float y, float z, uint32 time=0) |
| void | DoTeleportTo (float const pos[4]) |
| void | DoTeleportPlayer (Unit *unit, float x, float y, float z, float o) |
| void | DoTeleportAll (float x, float y, float z, float o) |
| Unit * | DoSelectLowestHpFriendly (float range, uint32 minHPDiff=1) |
| Unit * | DoSelectBelowHpPctFriendlyWithEntry (uint32 entry, float range, uint8 hpPct=1, bool excludeSelf=true) |
| std::list< Creature * > | DoFindFriendlyCC (float range) |
| std::list< Creature * > | DoFindFriendlyMissingBuff (float range, uint32 spellId) |
| Player * | GetPlayerAtMinimumRange (float minRange) |
| Creature * | DoSpawnCreature (uint32 entry, float offsetX, float offsetY, float offsetZ, float angle, uint32 type, Milliseconds despawntime) |
| bool | HealthBelowPct (uint32 pct) const |
| bool | HealthAbovePct (uint32 pct) const |
| SpellInfo const * | SelectSpell (Unit *target, uint32 school, uint32 mechanic, SelectTargetType targets, float rangeMin, float rangeMax, SelectEffect effect) |
| void | SetEquipmentSlots (bool loadDefault, int32 mainHand=EQUIP_NO_CHANGE, int32 offHand=EQUIP_NO_CHANGE, int32 ranged=EQUIP_NO_CHANGE) |
| void | SetCombatMovement (bool allowMovement) |
| bool | IsCombatMovementAllowed () const |
| bool | IsLFR () const |
| bool | IsNormal () const |
| bool | IsHeroic () const |
| bool | IsMythic () const |
| bool | IsMythicPlus () const |
| bool | IsHeroicOrHigher () const |
| bool | IsTimewalking () const |
| Difficulty | GetDifficulty () const |
| bool | Is25ManRaid () const |
| void | SetAggressiveStateAfter (Milliseconds timer, Creature *who=nullptr, bool startCombat=true, Creature *summoner=nullptr, StartCombatArgs const &combatArgs={ }) |
| void | DoAddEvent (Milliseconds timer, BasicEvent *event, WorldObject *who=nullptr) |
| template<class T > | |
| T const & | DUNGEON_MODE (T const &normal5, T const &heroic10) const |
| template<class T > | |
| T const & | RAID_MODE (T const &normal10, T const &normal25) const |
| template<class T > | |
| T const & | RAID_MODE (T const &normal10, T const &normal25, T const &heroic10, T const &heroic25) const |
Public Member Functions inherited from CreatureAI | |
| CreatureAI (Creature *creature, uint32 scriptId={}) noexcept | |
| virtual | ~CreatureAI () |
| uint32 | GetId () const |
| bool | IsEngaged () const |
| void | Talk (uint8 id, WorldObject const *whisperTarget=nullptr) |
| void | MoveInLineOfSight_Safe (Unit *who) |
| == Reactions At ================================= | |
| void | TriggerAlert (Unit const *who) const |
| void | JustEnteredCombat (Unit *) override |
| virtual void | JustStartedThreateningMe (Unit *who) |
| virtual void | OnHealthDepleted (Unit *, bool) |
| virtual void | IsSummonedBy (WorldObject *) |
| virtual void | SummonedCreatureDies (Creature *, Unit *) |
| virtual void | JustSummonedGameobject (GameObject *) |
| virtual void | SummonedGameobjectDespawn (GameObject *) |
| virtual void | JustRegisteredDynObject (DynamicObject *) |
| virtual void | JustUnregisteredDynObject (DynamicObject *) |
| virtual void | JustRegisteredAreaTrigger (AreaTrigger *) |
| virtual void | JustUnregisteredAreaTrigger (AreaTrigger *) |
| virtual void | SpellHit (WorldObject *, SpellInfo const *) |
| virtual void | SpellHitTarget (WorldObject *, SpellInfo const *) |
| virtual void | OnSpellCast (SpellInfo const *) |
| virtual void | OnSpellFailed (SpellInfo const *) |
| virtual void | OnSpellStart (SpellInfo const *) |
| virtual void | OnChannelFinished (SpellInfo const *) |
| virtual void | OnAuraApplied (AuraApplication const *) |
| virtual void | OnAuraRemoved (AuraApplication const *) |
| virtual bool | IsEscorted () const |
| virtual void | JustAppeared () |
| virtual void | MovementInform (uint32, uint32) |
| void | OnCharmed (bool isNew) override |
| void | DoZoneInCombat () |
| virtual void | ReceiveEmote (Player *, uint32) |
| virtual void | OwnerAttackedBy (Unit *attacker) |
| virtual void | OwnerAttacked (Unit *target) |
| virtual void | CorpseRemoved (uint32 &) |
| == State checks ================================= | |
| virtual Optional< QuestGiverStatus > | GetDialogStatus (Player const *player) |
| == Gossip system ================================ | |
| virtual bool | OnGossipHello (Player *) |
| virtual bool | OnGossipSelect (Player *, uint32, uint32) |
| virtual bool | OnGossipSelectCode (Player *, uint32, uint32, char const *) |
| virtual void | OnQuestAccept (Player *, Quest const *) |
| virtual void | OnQuestReward (Player *, Quest const *, LootItemType, uint32) |
| virtual void | WaypointStarted (uint32, uint32) |
| == Waypoints system ============================= | |
| virtual void | WaypointPathEnded (uint32, uint32) |
| virtual void | OnSpellClick (Unit *, bool) |
| virtual bool | CanSeeAlways (WorldObject const *) |
| virtual PlayerAI * | GetAIForCharmedPlayer (Player *) |
| int32 | VisualizeBoundary (Seconds duration, Unit *owner=nullptr, bool fill=false) const |
| virtual bool | CheckInRoom () |
| CreatureBoundary const * | GetBoundary () const |
| void | SetBoundary (CreatureBoundary const *boundary, bool negativeBoundaries=false) |
| bool | IsInBoundary (Position const *who=nullptr) const |
Public Member Functions inherited from UnitAI | |
| UnitAI (Unit *unit) | |
| virtual | ~UnitAI () |
| virtual void | InitializeAI () |
| 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 | JustExitedCombat () |
| virtual void | OnDespawn () |
| virtual void | DamageDealt (Unit *, uint32 &, DamageEffectType) |
| virtual void | DamageTaken (Unit *, uint32 &, DamageEffectType, SpellInfo const *) |
| virtual void | HealReceived (Unit *, uint32 &) |
| virtual void | HealDone (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 | |
| bool | _healthRecovered |
| bool | _hardMode |
| bool | _gravityBombCasualty |
| uint8 | _exposeHeartPercent |
Additional Inherited Members | |
Static Public Member Functions inherited from CreatureAI | |
| static void | DoZoneInCombat (Creature *creature) |
| static bool | IsInBounds (CreatureBoundary const &boundary, Position const *who) |
Static Public Member Functions inherited from UnitAI | |
| static void | FillAISpellInfo () |
Public Attributes inherited from BossAI | |
| InstanceScript *const | instance |
Static Public Attributes inherited from UnitAI | |
| static std::unordered_map< std::pair< uint32, Difficulty >, AISpellInfoType > | AISpellInfo |
Protected Member Functions inherited from BossAI | |
| void | _Reset () |
| void | _JustEngagedWith (Unit *who) |
| void | _JustDied () |
| void | _JustReachedHome () |
| void | _DespawnAtEvade (Seconds delayToRespawn=30s, Creature *who=nullptr) |
| void | TeleportCheaters () |
Protected Member Functions inherited from CreatureAI | |
| bool | UpdateVictim () |
| Creature * | DoSummon (uint32 entry, Position const &pos, Milliseconds despawnTime=30s, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN) |
| Creature * | DoSummon (uint32 entry, WorldObject *obj, float radius=5.0f, Milliseconds despawnTime=30s, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN) |
| Creature * | DoSummonFlyer (uint32 entry, WorldObject *obj, float flightZ, float radius=5.0f, Milliseconds despawnTime=30s, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN) |
| void | EngagementStart (Unit *who) |
| void | EngagementOver () |
| virtual void | MoveInLineOfSight (Unit *) |
| bool | _EnterEvadeMode (EvadeReason why=EvadeReason::Other) |
Protected Attributes inherited from BossAI | |
| EventMap | events |
| SummonList | summons |
| TaskScheduler | scheduler |
Protected Attributes inherited from CreatureAI | |
| Creature *const | me |
| CreatureBoundary const * | _boundary |
| bool | _negateBoundary |
Protected Attributes inherited from UnitAI | |
| Unit *const | me |
Definition at line 143 of file boss_xt002.cpp.
|
inline |
Definition at line 145 of file boss_xt002.cpp.
References Initialize().
|
inline |
Definition at line 158 of file boss_xt002.cpp.
References _exposeHeartPercent.
Referenced by ExposeHeart().
|
inline |
Definition at line 232 of file boss_xt002.cpp.
References ACTION_DISPOSE_HEART, DATA_XT002_HEART, UnitAI::DoCastSelf(), EMOTE_HEART_CLOSED, EVENT_RESUME_ATTACK, BossAI::events, InstanceScript::GetCreature(), BossAI::instance, CreatureAI::me, PHASE_HEART, REACT_AGGRESSIVE, RescheduleEvents(), SAY_HEART_CLOSED, EventMap::ScheduleEvent(), Creature::SetReactState(), Unit::SetUninteractible(), SPELL_COOLDOWN_CREATURE_SPECIAL_2, and SPELL_STAND.
Referenced by UpdateAI().
|
inlineoverridevirtual |
Reimplemented from UnitAI.
Definition at line 202 of file boss_xt002.cpp.
References ACTION_ENTER_HARD_MODE, EVENT_ENTER_HARD_MODE, BossAI::events, and EventMap::ScheduleEvent().
|
inlineoverridevirtual |
Reimplemented from CreatureAI.
Definition at line 182 of file boss_xt002.cpp.
References BossAI::_DespawnAtEvade(), SummonList::DespawnAll(), and BossAI::summons.
|
inline |
Definition at line 221 of file boss_xt002.cpp.
References Unit::AttackStop(), EventMap::CancelEvent(), ChangeNextExpose(), EVENT_SUBMERGE, EVENT_TYMPANIC_TANTRUM, BossAI::events, CreatureAI::me, PHASE_HEART, REACT_PASSIVE, SAY_HEART_OPENED, EventMap::ScheduleEvent(), EventMap::SetPhase(), and Creature::SetReactState().
Referenced by UpdateAI().
Reimplemented from UnitAI.
Definition at line 283 of file boss_xt002.cpp.
References _gravityBombCasualty, _hardMode, _healthRecovered, DATA_GRAVITY_BOMB_CASUALTY, DATA_HARD_MODE, and DATA_HEALTH_RECOVERED.
|
inline |
Definition at line 150 of file boss_xt002.cpp.
References _exposeHeartPercent, _gravityBombCasualty, _hardMode, and _healthRecovered.
Referenced by boss_xt002(), and Reset().
|
inlineoverridevirtual |
Reimplemented from CreatureAI.
Definition at line 214 of file boss_xt002.cpp.
References BossAI::_JustDied(), CreatureAI::me, SAY_DEATH, and Unit::SetUninteractible().
|
inlineoverridevirtual |
Reimplemented from CreatureAI.
Definition at line 188 of file boss_xt002.cpp.
References ACHIEV_MUST_DECONSTRUCT_FASTER, TaskScheduler::CancelAll(), EVENT_ENRAGE, EVENT_GRAVITY_BOMB, EVENT_PHASE_CHECK, EVENT_SEARING_LIGHT, EVENT_TYMPANIC_TANTRUM, BossAI::events, GROUP_SEARING_GRAVITY, BossAI::instance, ScriptedAI::Is25ManRaid(), BossAI::JustEngagedWith(), PHASE_1, SAY_AGGRO, EventMap::ScheduleEvent(), BossAI::scheduler, and InstanceScript::TriggerGameEvent().
|
inlineoverridevirtual |
Reimplemented from CreatureAI.
Definition at line 208 of file boss_xt002.cpp.
References BaseEntity::GetTypeId(), SAY_SLAY, and TYPEID_PLAYER.
== Fields =======================================
Reimplemented from CreatureAI.
Definition at line 269 of file boss_xt002.cpp.
References _healthRecovered, WorldObject::CastSpell(), EMOTE_SCRAPBOT, Object::GetEntry(), HEART_VEHICLE_SEAT_EXPOSED, NPC_XS013_SCRAPBOT, and SPELL_EXPOSED_HEART.
|
inline |
Definition at line 259 of file boss_xt002.cpp.
References _hardMode, EVENT_GRAVITY_BOMB, EVENT_PHASE_CHECK, EVENT_SEARING_LIGHT, EVENT_TYMPANIC_TANTRUM, BossAI::events, GROUP_SEARING_GRAVITY, ScriptedAI::Is25ManRaid(), PHASE_1, EventMap::ScheduleEvent(), and EventMap::SetPhase().
Referenced by DisposeHeart(), and UpdateAI().
|
inlineoverridevirtual |
Reimplemented from UnitAI.
Definition at line 174 of file boss_xt002.cpp.
References BossAI::_Reset(), BossAI::events, Initialize(), CreatureAI::me, PHASE_1, REACT_DEFENSIVE, EventMap::SetPhase(), and Creature::SetReactState().
Reimplemented from UnitAI.
Definition at line 298 of file boss_xt002.cpp.
References _gravityBombCasualty, _hardMode, DATA_GRAVITY_BOMB_CASUALTY, DATA_TRANSFERED_HEALTH, Unit::GetHealth(), Creature::LowerPlayerDamageReq(), CreatureAI::me, and Unit::ModifyHealth().
|
inlineoverridevirtual |
Reimplemented from BossAI.
Definition at line 321 of file boss_xt002.cpp.
References _exposeHeartPercent, _hardMode, ACTION_START_PHASE_HEART, Creature::AddLootMode(), DATA_XT002_HEART, EventMap::DelayEvents(), DisposeHeart(), UnitAI::DoCastSelf(), EMOTE_HEART_OPENED, EMOTE_TYMPANIC_TANTRUM, EVENT_DISPOSE_HEART, EVENT_ENRAGE, EVENT_ENTER_HARD_MODE, EVENT_GRAVITY_BOMB, EVENT_PHASE_CHECK, EVENT_RESUME_ATTACK, EVENT_SEARING_LIGHT, EVENT_SUBMERGE, EVENT_TYMPANIC_TANTRUM, BossAI::events, EventMap::ExecuteEvent(), ExposeHeart(), InstanceScript::GetCreature(), GROUP_SEARING_GRAVITY, Unit::HasUnitState(), Unit::HealthBelowPct(), BossAI::instance, ScriptedAI::Is25ManRaid(), LOOT_MODE_HARD_MODE_1, CreatureAI::me, PHASE_HEART, REACT_AGGRESSIVE, EventMap::Repeat(), RescheduleEvents(), SAY_BERSERK, SAY_TYMPANIC_TANTRUM, EventMap::ScheduleEvent(), Unit::SetFullHealth(), Creature::SetReactState(), Unit::SetUninteractible(), SPELL_ENRAGE, SPELL_GRAVITY_BOMB, SPELL_HEARTBREAK, SPELL_SEARING_LIGHT, SPELL_SUBMERGE, SPELL_TYMPANIC_TANTRUM, UNIT_STATE_CASTING, EventMap::Update(), and CreatureAI::UpdateVictim().
Reimplemented from CreatureAI.
Definition at line 390 of file boss_xt002.cpp.
References EMOTE_ONESHOT_NONE, EMOTE_STATE_DANCE, EMOTE_STATE_SPELL_CHANNEL_OMNI, CreatureAI::me, PATH_XT002_IDLE, TaskScheduler::Schedule(), BossAI::scheduler, and Unit::SetEmoteState().
|
private |
Definition at line 419 of file boss_xt002.cpp.
Referenced by ChangeNextExpose(), Initialize(), and UpdateAI().
|
private |
Definition at line 418 of file boss_xt002.cpp.
Referenced by GetData(), Initialize(), and SetData().
|
private |
Definition at line 417 of file boss_xt002.cpp.
Referenced by GetData(), Initialize(), RescheduleEvents(), SetData(), and UpdateAI().
|
private |
Definition at line 416 of file boss_xt002.cpp.
Referenced by GetData(), Initialize(), and PassengerBoarded().