AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
npc_blessed_banner::npc_blessed_bannerAI Struct Reference
Inheritance diagram for npc_blessed_banner::npc_blessed_bannerAI:
ScriptedAI CreatureAI UnitAI

Public Member Functions

 npc_blessed_bannerAI (Creature *creature)
 
void Reset () override
 
void JustEngagedWith (Unit *) override
 Called for reaction when initially engaged.
 
void MoveInLineOfSight (Unit *) override
 
void JustSummoned (Creature *Summoned) override
 
void JustDied (Unit *) override
 
void UpdateAI (uint32 diff) override
 
- Public Member Functions inherited from ScriptedAI
 ScriptedAI (Creature *creature)
 
 ~ScriptedAI () override
 
void AttackStartNoMove (Unit *target)
 
void DamageTaken (Unit *, uint32 &, DamageEffectType, SpellSchoolMask) override
 
void UpdateAI (uint32 diff) override
 
void JustDied (Unit *) override
 
void KilledUnit (Unit *) override
 
void JustSummoned (Creature *) override
 
void SummonedCreatureDespawn (Creature *) override
 
void SpellHit (Unit *, SpellInfo const *) override
 
void SpellHitTarget (Unit *, SpellInfo const *) override
 
void MovementInform (uint32, uint32) override
 
void OnPossess (bool)
 
bool IsInRoom (const Position *pos, Axis axis, bool above)
 
void Reset () override
 
void JustEngagedWith (Unit *) override
 Called for reaction when initially engaged.
 
void AttackStart (Unit *) override
 
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 DoPlayMusic (uint32 soundId, bool zone)
 
void DoAddThreat (Unit *unit, float amount)
 
void DoModifyThreatByPercent (Unit *unit, int32 pct)
 
void DoResetThreat (Unit *unit)
 
void DoResetThreatList ()
 
float DoGetThreat (Unit *unit)
 
void DoTeleportPlayer (Unit *unit, float x, float y, float z, float o)
 
void DoTeleportAll (float x, float y, float z, float o)
 
UnitDoSelectLowestHpFriendly (float range, uint32 minHPDiff=1)
 
std::list< Creature * > DoFindFriendlyCC (float range)
 
std::list< Creature * > DoFindFriendlyMissingBuff (float range, uint32 spellId)
 
PlayerGetPlayerAtMinimumRange (float minRange)
 
CreatureDoSpawnCreature (uint32 entry, float offsetX, float offsetY, float offsetZ, float angle, uint32 type, uint32 despawntime)
 
bool HealthBelowPct (uint32 pct) const
 
bool HealthAbovePct (uint32 pct) const
 
SpellInfo const * SelectSpell (Unit *target, uint32 school, uint32 mechanic, SelectTargetType targets, uint32 powerCostMin, uint32 powerCostMax, 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
 
virtual bool CheckEvadeIfOutOfCombatArea () const
 
bool IsHeroic () const
 
Difficulty GetDifficulty () const
 
bool Is25ManRaid () const
 
template<class T >
const T & DUNGEON_MODE (const T &normal5, const T &heroic10) const
 
template<class T >
const T & RAID_MODE (const T &normal10, const T &normal25) const
 
template<class T >
const T & RAID_MODE (const T &normal10, const T &normal25, const T &heroic10, const T &heroic25) const
 
PlayerSelectTargetFromPlayerList (float maxdist, uint32 excludeAura=0, bool mustBeInLOS=false) const
 
- Public Member Functions inherited from CreatureAI
void Talk (uint8 id, WorldObject const *whisperTarget=nullptr, Milliseconds delay=0s)
 Causes the creature to talk/say the text assigned to their entry in the creature_text database table.
 
void Talk (uint8 id, Milliseconds delay)
 
 CreatureAI (Creature *creature)
 
 ~CreatureAI () override
 
void MoveCircleChecks ()
 
void MoveBackwardsChecks ()
 
void MoveInLineOfSight_Safe (Unit *who)
 == Reactions At =================================
 
void TriggerAlert (Unit const *who) const
 
virtual bool CanRespawn ()
 
virtual void EnterEvadeMode (EvadeReason why=EVADE_REASON_OTHER)
 
virtual void JustEngagedWith (Unit *)
 Called for reaction when initially engaged.
 
virtual void JustDied (Unit *)
 
virtual void KilledUnit (Unit *)
 
virtual void JustSummoned (Creature *)
 
virtual void IsSummonedBy (WorldObject *)
 
virtual void SummonedCreatureDespawn (Creature *)
 
virtual void SummonedCreatureDies (Creature *, Unit *)
 
virtual void SummonedCreatureDespawnAll ()
 
virtual void SpellHit (Unit *, SpellInfo const *)
 
virtual void SpellHitTarget (Unit *, SpellInfo const *)
 
virtual void AttackedBy (Unit *)
 
virtual bool IsEscorted ()
 
virtual void JustRespawned ()
 
virtual void MovementInform (uint32, uint32)
 
virtual void PathEndReached (uint32)
 
void OnCharmed (bool apply) override
 
virtual void JustReachedHome ()
 
void DoZoneInCombat (Creature *creature=nullptr, float maxRangeToNearestTarget=250.0f)
 
virtual void ReceiveEmote (Player *, uint32)
 
virtual void OwnerAttackedBy (Unit *)
 
virtual void OwnerAttacked (Unit *)
 
virtual void CorpseRemoved (uint32 &)
 == Triggered Actions Requested ==================
 
virtual void PassengerBoarded (Unit *, int8, bool)
 == Fields =======================================
 
virtual bool BeforeSpellClick (Unit *)
 
virtual void OnSpellClick (Unit *, bool &)
 
virtual bool CanSeeAlways (WorldObject const *)
 
virtual bool CanBeSeen (Player const *)
 
virtual bool CanAlwaysBeDetectable (WorldObject const *)
 
virtual void PetStopAttack ()
 
virtual bool CheckInRoom ()
 
CreatureBoundary const * GetBoundary () const
 
void SetBoundary (CreatureBoundary const *boundary, bool negativeBoundaries=false)
 
bool IsInBoundary (Position const *who=nullptr) const
 
virtual void CalculateThreat (Unit *, float &, SpellInfo const *)
 
virtual bool OnTeleportUnreacheablePlayer (Player *)
 
- Public Member Functions inherited from UnitAI
 UnitAI (Unit *unit)
 
virtual ~UnitAI ()
 
virtual bool CanAIAttack (Unit const *) const
 
virtual void AttackStart (Unit *)
 
virtual void UpdateAI (uint32)=0
 
virtual void InitializeAI ()
 
virtual void Reset ()
 
virtual void OnCharmed (bool apply)=0
 
virtual void DoAction (int32)
 
virtual uint32 GetData (uint32) const
 
virtual void SetData (uint32, uint32)
 
virtual void SetGUID (ObjectGuid, int32=0)
 
virtual ObjectGuid GetGUID (int32=0) const
 
UnitSelectTarget (SelectTargetMethod targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
 
template<class PREDICATE >
UnitSelectTarget (SelectTargetMethod targetType, uint32 position, PREDICATE const &predicate)
 
void SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectTargetMethod targetType, uint32 position=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 position, PREDICATE const &predicate)
 
virtual void JustEnteredCombat (Unit *)
 Called when the unit enters combat (NOTE: Creature engage logic should NOT be here, but in JustEngagedWith, which happens once threat is established!)
 
virtual void JustExitedCombat ()
 Called when the unit leaves combat.
 
virtual void DamageDealt (Unit *, uint32 &, DamageEffectType)
 
virtual void DamageTaken (Unit *, uint32 &, DamageEffectType, SpellSchoolMask)
 
virtual void HealReceived (Unit *, uint32 &)
 
virtual void HealDone (Unit *, uint32 &)
 
void AttackStartCaster (Unit *victim, float dist)
 
SpellCastResult DoAddAuraToAllHostilePlayers (uint32 spellid)
 
SpellCastResult DoCast (uint32 spellId)
 
SpellCastResult DoCast (Unit *victim, uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastSelf (uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastToAllHostilePlayers (uint32 spellid, bool triggered=false)
 
SpellCastResult DoCastVictim (uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastAOE (uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastRandomTarget (uint32 spellId, uint32 threatTablePosition=0, float dist=0.0f, bool playerOnly=true, bool triggered=false)
 
SpellCastResult DoCastMaxThreat (uint32 spellId, uint32 threatTablePosition=0, float dist=0.0f, bool playerOnly=true, bool triggered=false)
 Cast spell on the max threat target, which may not always be the current victim.
 
float DoGetSpellMaxRange (uint32 spellId, bool positive=false)
 
void DoMeleeAttackIfReady ()
 
bool DoSpellAttackIfReady (uint32 spell)
 
void DoSpellAttackToRandomTargetIfReady (uint32 spell, uint32 threatTablePosition=0, float dist=0.f, bool playerOnly=true)
 
virtual void SummonMovementInform (Creature *, uint32, uint32)
 
virtual void sGossipHello (Player *)
 
virtual void sGossipSelect (Player *, uint32, uint32)
 
virtual void sGossipSelectCode (Player *, uint32, uint32, char const *)
 
virtual void sQuestAccept (Player *, Quest const *)
 
virtual void sQuestSelect (Player *, Quest const *)
 
virtual void sQuestComplete (Player *, Quest const *)
 
virtual void sQuestReward (Player *, Quest const *, uint32)
 
virtual void sOnGameEvent (bool, uint16)
 
virtual std::string GetDebugInfo () const
 

Public Attributes

EventMap events
 
bool HalofSpawned
 
uint32 PhaseCount
 
SummonList Summons
 
ObjectGuid guidDalfors
 
ObjectGuid guidPriest [3]
 
ObjectGuid guidMason [3]
 
ObjectGuid guidHalof
 
- Public Attributes inherited from ScriptedAI
Creatureme
 
bool IsFleeing
 

Additional Inherited Members

- Public Types inherited from ScriptedAI
enum class  Axis {
  AXIS_X ,
  AXIS_Y
}
 
- Public Types inherited from CreatureAI
enum  EvadeReason {
  EVADE_REASON_NO_HOSTILES ,
  EVADE_REASON_BOUNDARY ,
  EVADE_REASON_SEQUENCE_BREAK ,
  EVADE_REASON_NO_PATH ,
  EVADE_REASON_OTHER
}
 
- Static Public Member Functions inherited from CreatureAI
static bool IsInBounds (CreatureBoundary const &boundary, Position const *who)
 
- Static Public Member Functions inherited from UnitAI
static void FillAISpellInfo ()
 
- Static Public Attributes inherited from UnitAI
static AISpellInfoTypeAISpellInfo
 
- Protected Member Functions inherited from CreatureAI
bool UpdateVictim ()
 
bool UpdateVictimWithGaze ()
 
void SetGazeOn (Unit *target)
 
CreatureDoSummon (uint32 entry, Position const &pos, uint32 despawnTime=30000, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
 
CreatureDoSummon (uint32 entry, WorldObject *obj, float radius=5.0f, uint32 despawnTime=30000, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
 
CreatureDoSummonFlyer (uint32 entry, WorldObject *obj, float flightZ, float radius=5.0f, uint32 despawnTime=30000, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
 
virtual void MoveInLineOfSight (Unit *)
 
bool _EnterEvadeMode (EvadeReason why=EVADE_REASON_OTHER)
 
- Protected Attributes inherited from CreatureAI
Creature *const me
 
EventMap events
 
CreatureBoundary const * _boundary
 
bool _negateBoundary
 
- Protected Attributes inherited from UnitAI
Unit *const me
 

Detailed Description

Constructor & Destructor Documentation

◆ npc_blessed_bannerAI()

npc_blessed_banner::npc_blessed_bannerAI::npc_blessed_bannerAI ( Creature creature)
inline
1812 : ScriptedAI(creature), Summons(me)
1813 {
1814 HalofSpawned = false;
1815 PhaseCount = 0;
1816 Summons.DespawnAll();
1817
1818 SetCombatMovement(false);
1819 }
Summons
Definition: boss_razorgore.cpp:53
Definition: ScriptedCreature.h:192
void SetCombatMovement(bool allowMovement)
Definition: ScriptedCreature.cpp:513
Creature * me
Definition: ScriptedCreature.h:282
bool HalofSpawned
Definition: zone_icecrown.cpp:1823
SummonList Summons
Definition: zone_icecrown.cpp:1827
uint32 PhaseCount
Definition: zone_icecrown.cpp:1825

References HalofSpawned, PhaseCount, and ScriptedAI::SetCombatMovement().

Member Function Documentation

◆ JustDied()

void npc_blessed_banner::npc_blessed_bannerAI::JustDied ( Unit )
inlineoverridevirtual

Reimplemented from ScriptedAI.

1852 {
1853 Summons.DespawnAll();
1855 }
void DespawnOrUnsummon(Milliseconds msTimeToDespawn, Seconds forcedRespawnTimer)
Definition: Creature.cpp:2108

References Creature::DespawnOrUnsummon(), and ScriptedAI::me.

◆ JustEngagedWith()

void npc_blessed_banner::npc_blessed_bannerAI::JustEngagedWith ( Unit )
inlineoverridevirtual

Called for reaction when initially engaged.

Reimplemented from ScriptedAI.

1842{ }

◆ JustSummoned()

void npc_blessed_banner::npc_blessed_bannerAI::JustSummoned ( Creature Summoned)
inlineoverridevirtual

Reimplemented from ScriptedAI.

1847 {
1848 Summons.Summon(Summoned);
1849 }

◆ MoveInLineOfSight()

void npc_blessed_banner::npc_blessed_bannerAI::MoveInLineOfSight ( Unit )
inlineoverridevirtual

Reimplemented from CreatureAI.

1844{ }

◆ Reset()

void npc_blessed_banner::npc_blessed_bannerAI::Reset ( )
inlineoverridevirtual

Reimplemented from ScriptedAI.

1835 {
1836 me->SetRegeneratingHealth(false);
1839 events.ScheduleEvent(EVENT_SPAWN, 3s);
1840 }
events
Definition: boss_sartura.cpp:43
@ BANNER_SAY
Definition: zone_icecrown.cpp:1738
@ EVENT_SPAWN
Definition: zone_icecrown.cpp:1748
@ SPELL_THREAT_PULSE
Definition: zone_icecrown.cpp:1724
Talk
Definition: boss_fathomlord_karathress.cpp:23
SpellCastResult DoCast(uint32 spellId)
Definition: UnitAI.cpp:178
void SetRegeneratingHealth(bool c)
Definition: Creature.h:310

References BANNER_SAY, UnitAI::DoCast(), EVENT_SPAWN, ScriptedAI::me, Creature::SetRegeneratingHealth(), and SPELL_THREAT_PULSE.

◆ UpdateAI()

void npc_blessed_banner::npc_blessed_bannerAI::UpdateAI ( uint32  diff)
inlineoverridevirtual

Reimplemented from ScriptedAI.

1858 {
1859 events.Update(diff);
1860
1861 switch (events.ExecuteEvent())
1862 {
1863 case EVENT_SPAWN:
1864 {
1866 {
1867 guidDalfors = Dalfors->GetGUID();
1868 Dalfors->GetMotionMaster()->MovePoint(0, DalforsPos[1]);
1869 }
1871 {
1872 guidPriest[0] = Priest1->GetGUID();
1873 Priest1->GetMotionMaster()->MovePoint(0, Priest1Pos[1]);
1874 }
1876 {
1877 guidPriest[1] = Priest2->GetGUID();
1878 Priest2->GetMotionMaster()->MovePoint(0, Priest2Pos[1]);
1879 }
1881 {
1882 guidPriest[2] = Priest3->GetGUID();
1883 Priest3->GetMotionMaster()->MovePoint(0, Priest3Pos[1]);
1884 }
1885 if (Creature* Mason1 = DoSummon(NPC_ARGENT_MASON, Mason1Pos[0]))
1886 {
1887 guidMason[0] = Mason1->GetGUID();
1888 Mason1->GetMotionMaster()->MovePoint(0, Mason1Pos[1]);
1889 }
1890 if (Creature* Mason2 = DoSummon(NPC_ARGENT_MASON, Mason2Pos[0]))
1891 {
1892 guidMason[1] = Mason2->GetGUID();
1893 Mason2->GetMotionMaster()->MovePoint(0, Mason2Pos[1]);
1894 }
1895 if (Creature* Mason3 = DoSummon(NPC_ARGENT_MASON, Mason3Pos[0]))
1896 {
1897 guidMason[2] = Mason3->GetGUID();
1898 Mason3->GetMotionMaster()->MovePoint(0, Mason3Pos[1]);
1899 }
1900 events.ScheduleEvent(EVENT_INTRO_1, 15s);
1901 }
1902 break;
1903 case EVENT_INTRO_1:
1904 {
1906 Dalfors->AI()->Talk(DALFORS_SAY_PRE_1);
1907 events.ScheduleEvent(EVENT_INTRO_2, 5s);
1908 }
1909 break;
1910 case EVENT_INTRO_2:
1911 {
1913 {
1914 Dalfors->SetFacingTo(6.215f);
1915 Dalfors->AI()->Talk(DALFORS_SAY_PRE_2);
1916 }
1917 events.ScheduleEvent(EVENT_INTRO_3, 5s);
1918 }
1919 break;
1920 case EVENT_INTRO_3:
1921 {
1923 {
1924 Dalfors->GetMotionMaster()->MovePoint(0, DalforsPos[2]);
1925 Dalfors->SetHomePosition(DalforsPos[2]);
1926 }
1928 {
1929 Priest1->SetFacingTo(5.7421f);
1930 Priest1->SetHomePosition(Priest1Pos[1]);
1931 }
1933 {
1934 Priest2->SetFacingTo(5.7421f);
1935 Priest2->SetHomePosition(Priest2Pos[1]);
1936 }
1938 {
1939 Priest3->SetFacingTo(5.7421f);
1940 Priest3->SetHomePosition(Priest3Pos[1]);
1941 }
1943 {
1944 Mason1->GetMotionMaster()->MovePoint(0, Mason1Pos[2]);
1945 Mason1->SetHomePosition(Mason1Pos[2]);
1946 }
1948 {
1949 Mason2->GetMotionMaster()->MovePoint(0, Mason2Pos[2]);
1950 Mason2->SetHomePosition(Mason2Pos[2]);
1951 }
1953 {
1954 Mason3->GetMotionMaster()->MovePoint(0, Mason3Pos[2]);
1955 Mason3->SetHomePosition(Mason3Pos[2]);
1956 }
1957 events.ScheduleEvent(EVENT_START_FIGHT, 5s);
1958 events.ScheduleEvent(EVENT_MASON_ACTION, 15s);
1959 }
1960 break;
1961 case EVENT_MASON_ACTION:
1962 {
1964 {
1965 Mason1->SetFacingTo(2.8972f);
1966 Mason1->AI()->SetData(1, 1); // triggers SAI actions on npc
1967 }
1969 {
1970 Mason2->SetFacingTo(3.1241f);
1971 Mason2->AI()->SetData(1, 1); // triggers SAI actions on npc
1972 }
1974 {
1975 Mason3->SetFacingTo(3.6651f);
1976 Mason3->AI()->SetData(1, 1); // triggers SAI actions on npc
1977 }
1978 }
1979 break;
1980 case EVENT_START_FIGHT:
1981 {
1983 LK->AI()->Talk(LK_TALK_1);
1985 Dalfors->AI()->Talk(DALFORS_SAY_START);
1986 events.ScheduleEvent(EVENT_WAVE_SPAWN, 1s);
1987 }
1988 break;
1989 case EVENT_WAVE_SPAWN:
1990 {
1991 if (PhaseCount == 3)
1992 {
1994 LK->AI()->Talk(LK_TALK_2);
1995 }
1996 else if (PhaseCount == 6)
1997 {
1999 LK->AI()->Talk(LK_TALK_3);
2000 }
2001 if (Creature* tempsum = DoSummon(NPC_SCOURGE_DRUDGE, Mason3Pos[0]))
2002 {
2003 tempsum->SetHomePosition(DalforsPos[2]);
2004 tempsum->AI()->AttackStart(GetClosestCreatureWithEntry(me, NPC_BLESSED_BANNER, 100));
2005 }
2006 if (urand(0, 1) == 0)
2007 {
2009 {
2010 tempsum->SetHomePosition(DalforsPos[2]);
2011 tempsum->AI()->AttackStart(GetClosestCreatureWithEntry(me, NPC_BLESSED_BANNER, 100));
2012 }
2014 {
2015 tempsum->SetHomePosition(DalforsPos[2]);
2016 tempsum->AI()->AttackStart(GetClosestCreatureWithEntry(me, NPC_BLESSED_BANNER, 100));
2017 }
2018 }
2019 else
2020 {
2022 {
2023 tempsum->SetHomePosition(DalforsPos[2]);
2024 tempsum->AI()->AttackStart(GetClosestCreatureWithEntry(me, NPC_BLESSED_BANNER, 100));
2025 }
2027 {
2028 tempsum->SetHomePosition(DalforsPos[2]);
2029 tempsum->AI()->AttackStart(GetClosestCreatureWithEntry(me, NPC_BLESSED_BANNER, 100));
2030 }
2031 }
2032
2033 PhaseCount++;
2034
2035 if (PhaseCount < 8)
2036 events.ScheduleEvent(EVENT_WAVE_SPAWN, 10s, 20s);
2037 else
2038 events.ScheduleEvent(EVENT_HALOF, 10s, 20s);
2039 }
2040 break;
2041 case EVENT_HALOF:
2042 {
2044 LK->AI()->Talk(LK_TALK_4);
2045 if (Creature* tempsum = DoSummon(NPC_SCOURGE_DRUDGE, Mason1Pos[0]))
2046 {
2047 tempsum->SetHomePosition(DalforsPos[2]);
2048 tempsum->AI()->AttackStart(GetClosestCreatureWithEntry(me, NPC_BLESSED_BANNER, 100));
2049 }
2050 if (Creature* tempsum = DoSummon(NPC_SCOURGE_DRUDGE, Mason2Pos[0]))
2051 {
2052 tempsum->SetHomePosition(DalforsPos[2]);
2053 tempsum->AI()->AttackStart(GetClosestCreatureWithEntry(me, NPC_BLESSED_BANNER, 100));
2054 }
2056 {
2057 HalofSpawned = true;
2058 guidHalof = tempsum->GetGUID();
2059 tempsum->SetHomePosition(DalforsPos[2]);
2060 tempsum->AI()->AttackStart(GetClosestCreatureWithEntry(me, NPC_BLESSED_BANNER, 100));
2061 }
2062 }
2063 break;
2064 case EVENT_ENDED:
2065 {
2066 Summons.DespawnAll();
2068 }
2069 break;
2070 }
2071
2072 if (PhaseCount == 8)
2074 if (Halof->isDead())
2075 {
2077 Summons.DespawnEntry(NPC_HIDEOUS_PLAGEBRINGER);
2078 Summons.DespawnEntry(NPC_REANIMATED_CAPTAIN);
2079 Summons.DespawnEntry(NPC_SCOURGE_DRUDGE);
2080 Summons.DespawnEntry(NPC_HALOF_THE_DEATHBRINGER);
2082 Dalfors->AI()->Talk(DALFORS_YELL_FINISHED);
2083 events.ScheduleEvent(EVENT_ENDED, 10s);
2084 }
2085 }
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:44
Creature * GetClosestCreatureWithEntry(WorldObject *source, uint32 entry, float maxSearchRange, bool alive)
Definition: ScriptedCreature.cpp:765
Position const Priest1Pos[2]
Definition: zone_icecrown.cpp:1766
Position const Mason1Pos[3]
Definition: zone_icecrown.cpp:1784
Position const Mason3Pos[3]
Definition: zone_icecrown.cpp:1798
Position const Priest3Pos[2]
Definition: zone_icecrown.cpp:1778
Position const Priest2Pos[2]
Definition: zone_icecrown.cpp:1772
@ DALFORS_SAY_PRE_1
Definition: zone_icecrown.cpp:1739
@ EVENT_START_FIGHT
Definition: zone_icecrown.cpp:1753
@ EVENT_INTRO_1
Definition: zone_icecrown.cpp:1749
@ NPC_HIDEOUS_PLAGEBRINGER
Definition: zone_icecrown.cpp:1734
@ SPELL_CRUSADERS_SPIRE_VICTORY
Definition: zone_icecrown.cpp:1725
@ EVENT_INTRO_2
Definition: zone_icecrown.cpp:1750
@ NPC_HALOF_THE_DEATHBRINGER
Definition: zone_icecrown.cpp:1735
@ NPC_BLESSED_BANNER
Definition: zone_icecrown.cpp:1728
@ NPC_ARGENT_BATTLE_PRIEST
Definition: zone_icecrown.cpp:1730
@ LK_TALK_2
Definition: zone_icecrown.cpp:1744
@ NPC_REANIMATED_CAPTAIN
Definition: zone_icecrown.cpp:1732
@ EVENT_HALOF
Definition: zone_icecrown.cpp:1755
@ DALFORS_YELL_FINISHED
Definition: zone_icecrown.cpp:1742
@ NPC_ARGENT_MASON
Definition: zone_icecrown.cpp:1731
@ EVENT_WAVE_SPAWN
Definition: zone_icecrown.cpp:1754
@ LK_TALK_1
Definition: zone_icecrown.cpp:1743
@ EVENT_MASON_ACTION
Definition: zone_icecrown.cpp:1752
@ NPC_CRUSADER_LORD_DALFORS
Definition: zone_icecrown.cpp:1729
@ DALFORS_SAY_PRE_2
Definition: zone_icecrown.cpp:1740
@ EVENT_INTRO_3
Definition: zone_icecrown.cpp:1751
@ EVENT_ENDED
Definition: zone_icecrown.cpp:1756
@ NPC_SCOURGE_DRUDGE
Definition: zone_icecrown.cpp:1733
@ LK_TALK_4
Definition: zone_icecrown.cpp:1746
@ DALFORS_SAY_START
Definition: zone_icecrown.cpp:1741
@ LK_TALK_3
Definition: zone_icecrown.cpp:1745
@ NPC_LK
Definition: zone_icecrown.cpp:1736
Position const Mason2Pos[3]
Definition: zone_icecrown.cpp:1791
Position const DalforsPos[3]
Definition: zone_icecrown.cpp:1759
Creature * GetCreature(WorldObject const &u, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:215
Creature * DoSummon(uint32 entry, Position const &pos, uint32 despawnTime=30000, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
Definition: CreatureAI.cpp:400
Definition: Creature.h:46
ObjectGuid guidMason[3]
Definition: zone_icecrown.cpp:1831
ObjectGuid guidPriest[3]
Definition: zone_icecrown.cpp:1830
ObjectGuid guidDalfors
Definition: zone_icecrown.cpp:1829
ObjectGuid guidHalof
Definition: zone_icecrown.cpp:1832

References DALFORS_SAY_PRE_1, DALFORS_SAY_PRE_2, DALFORS_SAY_START, DALFORS_YELL_FINISHED, DalforsPos, Creature::DespawnOrUnsummon(), UnitAI::DoCast(), CreatureAI::DoSummon(), EVENT_ENDED, EVENT_HALOF, EVENT_INTRO_1, EVENT_INTRO_2, EVENT_INTRO_3, EVENT_MASON_ACTION, EVENT_SPAWN, EVENT_START_FIGHT, EVENT_WAVE_SPAWN, GetClosestCreatureWithEntry(), ObjectAccessor::GetCreature(), guidDalfors, guidHalof, guidMason, guidPriest, HalofSpawned, LK_TALK_1, LK_TALK_2, LK_TALK_3, LK_TALK_4, Mason1Pos, Mason2Pos, Mason3Pos, ScriptedAI::me, NPC_ARGENT_BATTLE_PRIEST, NPC_ARGENT_MASON, NPC_BLESSED_BANNER, NPC_CRUSADER_LORD_DALFORS, NPC_HALOF_THE_DEATHBRINGER, NPC_HIDEOUS_PLAGEBRINGER, NPC_LK, NPC_REANIMATED_CAPTAIN, NPC_SCOURGE_DRUDGE, PhaseCount, Priest1Pos, Priest2Pos, Priest3Pos, SPELL_CRUSADERS_SPIRE_VICTORY, and urand().

Member Data Documentation

◆ events

EventMap npc_blessed_banner::npc_blessed_bannerAI::events

◆ guidDalfors

ObjectGuid npc_blessed_banner::npc_blessed_bannerAI::guidDalfors

Referenced by UpdateAI().

◆ guidHalof

ObjectGuid npc_blessed_banner::npc_blessed_bannerAI::guidHalof

Referenced by UpdateAI().

◆ guidMason

ObjectGuid npc_blessed_banner::npc_blessed_bannerAI::guidMason[3]

Referenced by UpdateAI().

◆ guidPriest

ObjectGuid npc_blessed_banner::npc_blessed_bannerAI::guidPriest[3]

Referenced by UpdateAI().

◆ HalofSpawned

bool npc_blessed_banner::npc_blessed_bannerAI::HalofSpawned

Referenced by npc_blessed_bannerAI(), and UpdateAI().

◆ PhaseCount

uint32 npc_blessed_banner::npc_blessed_bannerAI::PhaseCount

Referenced by npc_blessed_bannerAI(), and UpdateAI().

◆ Summons

SummonList npc_blessed_banner::npc_blessed_bannerAI::Summons