TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boss_sathrovarr::boss_sathrovarrAI Struct Reference

Public Member Functions

 boss_sathrovarrAI (Creature *creature)
 
void Initialize ()
 
void Reset () override
 
void EnterCombat (Unit *) override
 
void DamageTaken (Unit *done_by, uint32 &damage) override
 
void KilledUnit (Unit *target) override
 
void JustDied (Unit *) override
 
void TeleportAllPlayersBack ()
 
void DoAction (int32 param) override
 
void UpdateAI (uint32 diff) override
 
- Public Member Functions inherited from ScriptedAI
 ScriptedAI (Creature *creature)
 
virtual ~ScriptedAI ()
 
void AttackStartNoMove (Unit *target)
 
void JustSummoned (Creature *) override
 
void SummonedCreatureDespawn (Creature *) override
 
void SpellHit (Unit *, SpellInfo const *) override
 
void SpellHitTarget (Unit *, SpellInfo const *) override
 
void OnPossess (bool)
 
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 DoResetThreat ()
 
float DoGetThreat (Unit *unit)
 
void DoModifyThreatPercent (Unit *unit, int32 pct)
 
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)
 
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 constSelectSpell (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 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
 
- Public Member Functions inherited from CreatureAI
void Talk (uint8 id, WorldObject const *whisperTarget=nullptr)
 
 CreatureAI (Creature *creature)
 
virtual ~CreatureAI ()
 
void MoveInLineOfSight_Safe (Unit *who)
 == Reactions At ================================= More...
 
void TriggerAlert (Unit const *who) const
 
virtual bool CanRespawn ()
 
virtual void EnterEvadeMode (EvadeReason why=EVADE_REASON_OTHER)
 
virtual void IsSummonedBy (Unit *)
 
virtual void SummonedCreatureDies (Creature *, Unit *)
 
virtual void AttackedBy (Unit *)
 
virtual bool IsEscorted () const
 
virtual void JustRespawned ()
 
virtual void MovementInform (uint32, uint32)
 
void OnCharmed (bool apply) override
 
virtual void JustReachedHome ()
 
void DoZoneInCombat (Creature *creature=NULL, float maxRangeToNearestTarget=50.0f)
 
virtual void ReceiveEmote (Player *, uint32)
 
virtual void OwnerAttackedBy (Unit *)
 
virtual void OwnerAttacked (Unit *)
 
virtual void CorpseRemoved (uint32 &)
 == Triggered Actions Requested ================== More...
 
virtual void PassengerBoarded (Unit *, int8, bool)
 == Fields ======================================= More...
 
virtual void OnSpellClick (Unit *, bool &)
 
virtual bool CanSeeAlways (WorldObject const *)
 
int32 VisualizeBoundary (uint32 duration, Unit *owner=nullptr, bool fill=false) const
 
virtual bool CheckInRoom ()
 
CreatureBoundary constGetBoundary () const
 
- Public Member Functions inherited from UnitAI
 UnitAI (Unit *unit)
 
virtual ~UnitAI ()
 
virtual bool CanAIAttack (Unit const *) const
 
virtual void InitializeAI ()
 
virtual uint32 GetData (uint32) const
 
virtual void SetData (uint32, uint32)
 
virtual void SetGUID (ObjectGuid, int32=0)
 
virtual ObjectGuid GetGUID (int32=0) const
 
UnitSelectTarget (SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
 
template<class PREDICATE >
UnitSelectTarget (SelectAggroTarget targetType, uint32 position, PREDICATE const &predicate)
 
void SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectAggroTarget targetType, float dist=0.0f, bool playerOnly=false, int32 aura=0)
 
template<class PREDICATE >
void SelectTargetList (std::list< Unit * > &targetList, PREDICATE const &predicate, uint32 maxTargets, SelectAggroTarget targetType)
 
virtual void DamageDealt (Unit *, uint32 &, DamageEffectType)
 
virtual void HealReceived (Unit *, uint32 &)
 
virtual void HealDone (Unit *, uint32 &)
 
virtual void SpellInterrupted (uint32, uint32)
 
void AttackStartCaster (Unit *victim, float dist)
 
void DoCast (uint32 spellId)
 
void DoCast (Unit *victim, uint32 spellId, bool triggered=false)
 
void DoCastVictim (uint32 spellId, bool triggered=false)
 
void DoCastAOE (uint32 spellId, bool triggered=false)
 
void DoMeleeAttackIfReady ()
 
bool DoSpellAttackIfReady (uint32 spellId)
 
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 sQuestReward (Player *, Quest const *, uint32)
 
virtual bool sOnDummyEffect (Unit *, uint32, SpellEffIndex)
 
virtual void sOnGameEvent (bool, uint16)
 

Public Attributes

InstanceScriptinstance
 
uint32 CorruptionStrikeTimer
 
uint32 AgonyCurseTimer
 
uint32 ShadowBoltTimer
 
uint32 CheckTimer
 
uint32 ResetThreat
 
ObjectGuid KalecGUID
 
ObjectGuid KalecgosGUID
 
bool isEnraged
 
bool isBanished
 
- Public Attributes inherited from ScriptedAI
bool IsFleeing
 

Additional Inherited Members

- Public Types inherited from CreatureAI
enum  EvadeReason { EVADE_REASON_NO_HOSTILES, EVADE_REASON_BOUNDARY, EVADE_REASON_SEQUENCE_BREAK, EVADE_REASON_OTHER }
 
- 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)
 
bool CheckBoundary (Position const *who=nullptr) const
 
void SetBoundary (CreatureBoundary const *boundary)
 
virtual void MoveInLineOfSight (Unit *)
 
bool _EnterEvadeMode (EvadeReason why=EVADE_REASON_OTHER)
 
- Protected Attributes inherited from CreatureAI
Creature *const me
 
CreatureBoundary const_boundary
 
- Protected Attributes inherited from UnitAI
Unit *const me
 

Constructor & Destructor Documentation

boss_sathrovarr::boss_sathrovarrAI::boss_sathrovarrAI ( Creature creature)
inline
589  : ScriptedAI(creature)
590  {
591  Initialize();
592  instance = creature->GetInstanceScript();
593  }
ScriptedAI(Creature *creature)
Definition: ScriptedCreature.cpp:100
void Initialize()
Definition: boss_kalecgos.cpp:595
InstanceScript * GetInstanceScript()
Definition: Object.cpp:1540
InstanceScript * instance
Definition: boss_kalecgos.cpp:606

+ Here is the call graph for this function:

Member Function Documentation

void boss_sathrovarr::boss_sathrovarrAI::DamageTaken ( Unit done_by,
uint32 damage 
)
inlineoverridevirtual

Reimplemented from ScriptedAI.

652  {
653  if (damage >= me->GetHealth() && done_by != me)
654  damage = 0;
655  }
Creature *const me
Definition: CreatureAI.h:71
uint32 GetHealth() const
Definition: Unit.h:1426

+ Here is the call graph for this function:

void boss_sathrovarr::boss_sathrovarrAI::DoAction ( int32  param)
inlineoverridevirtual

Reimplemented from UnitAI.

704  {
705  switch (param)
706  {
707  case DO_ENRAGE:
708  isEnraged = true;
709  me->CastSpell(me, SPELL_ENRAGE, true);
710  break;
711  case DO_BANISH:
712  isBanished = true;
713  me->CastSpell(me, SPELL_BANISH, true);
714  break;
715  }
716  }
Definition: boss_kalecgos.cpp:66
Definition: boss_kalecgos.cpp:78
Creature *const me
Definition: CreatureAI.h:71
bool isBanished
Definition: boss_kalecgos.cpp:618
Definition: boss_kalecgos.cpp:64
bool isEnraged
Definition: boss_kalecgos.cpp:617
Definition: boss_kalecgos.cpp:79
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:869

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void boss_sathrovarr::boss_sathrovarrAI::EnterCombat ( Unit )
inlineoverridevirtual

Reimplemented from ScriptedAI.

640  {
642  {
643  KalecGUID = Kalec->GetGUID();
644  me->CombatStart(Kalec);
645  me->AddThreat(Kalec, 100.0f);
646  Kalec->setActive(true);
647  }
649  }
void AddThreat(Unit *victim, float fThreat, SpellSchoolMask schoolMask=SPELL_SCHOOL_MASK_NORMAL, SpellInfo const *threatSpell=NULL)
Definition: Unit.cpp:10691
Definition: boss_kalecgos.cpp:34
Definition: Creature.h:467
Definition: sunwell_plateau.h:61
Creature *const me
Definition: CreatureAI.h:71
ObjectGuid KalecGUID
Definition: boss_kalecgos.cpp:614
float GetPositionY() const
Definition: Position.h:105
float GetPositionZ() const
Definition: Position.h:106
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
void CombatStart(Unit *target, bool initialAggro=true)
Definition: Unit.cpp:9862
float GetPositionX() const
Definition: Position.h:104
TempSummon * SummonCreature(uint32 id, Position const &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0) const
Definition: Object.cpp:2346

+ Here is the call graph for this function:

void boss_sathrovarr::boss_sathrovarrAI::Initialize ( void  )
inline
596  {
597  ShadowBoltTimer = urand(7, 10) * 1000;
598  AgonyCurseTimer = 20000;
599  CorruptionStrikeTimer = 13000;
600  CheckTimer = 1000;
601  ResetThreat = 1000;
602  isEnraged = false;
603  isBanished = false;
604  }
uint32 CorruptionStrikeTimer
Definition: boss_kalecgos.cpp:608
uint32 AgonyCurseTimer
Definition: boss_kalecgos.cpp:609
bool isBanished
Definition: boss_kalecgos.cpp:618
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
uint32 CheckTimer
Definition: boss_kalecgos.cpp:611
bool isEnraged
Definition: boss_kalecgos.cpp:617
uint32 ResetThreat
Definition: boss_kalecgos.cpp:612
uint32 ShadowBoltTimer
Definition: boss_kalecgos.cpp:610

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void boss_sathrovarr::boss_sathrovarrAI::JustDied ( Unit )
inlineoverridevirtual

Reimplemented from ScriptedAI.

674  {
679  {
680  ENSURE_AI(boss_kalecgos::boss_kalecgosAI, Kalecgos->AI())->TalkTimer = 1;
681  ENSURE_AI(boss_kalecgos::boss_kalecgosAI, Kalecgos->AI())->isFriendly = true;
682  }
683 
685  }
Definition: boss_kalecgos.cpp:106
Definition: boss_kalecgos.cpp:36
Definition: inflate.h:49
Definition: Creature.h:467
ObjectGuid KalecgosGUID
Definition: boss_kalecgos.cpp:615
void SetPosition(float x, float y, float z, float o)
Definition: Creature.cpp:2537
void TeleportAllPlayersBack()
Definition: boss_kalecgos.cpp:687
Creature *const me
Definition: CreatureAI.h:71
#define ENSURE_AI(a, b)
Definition: ScriptedCreature.h:29
float GetOrientation() const
Definition: Position.h:107
InstanceScript * instance
Definition: boss_kalecgos.cpp:606
float GetPositionY() const
Definition: Position.h:105
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
virtual bool SetBossState(uint32 id, EncounterState state)
Definition: InstanceScript.cpp:273
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:174
Definition: sunwell_plateau.h:29
float GetPositionX() const
Definition: Position.h:104
#define DRAGON_REALM_Z
Definition: boss_kalecgos.cpp:94

+ Here is the call graph for this function:

void boss_sathrovarr::boss_sathrovarrAI::KilledUnit ( Unit target)
inlineoverridevirtual

Reimplemented from ScriptedAI.

658  {
659  if (target->GetGUID() == KalecGUID)
660  {
663  {
664  ENSURE_AI(boss_kalecgos::boss_kalecgosAI, Kalecgos->AI())->TalkTimer = 1;
665  ENSURE_AI(boss_kalecgos::boss_kalecgosAI, Kalecgos->AI())->isFriendly = false;
666  }
667  EnterEvadeMode();
668  return;
669  }
671  }
Definition: boss_kalecgos.cpp:106
virtual void EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
Definition: CreatureAI.cpp:168
Definition: Creature.h:467
ObjectGuid KalecgosGUID
Definition: boss_kalecgos.cpp:615
void TeleportAllPlayersBack()
Definition: boss_kalecgos.cpp:687
Creature *const me
Definition: CreatureAI.h:71
#define ENSURE_AI(a, b)
Definition: ScriptedCreature.h:29
ObjectGuid KalecGUID
Definition: boss_kalecgos.cpp:614
Definition: boss_kalecgos.cpp:35
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:174
ObjectGuid const & GetGUID() const
Definition: Object.h:105

+ Here is the call graph for this function:

void boss_sathrovarr::boss_sathrovarrAI::Reset ( )
inlineoverridevirtual

Reimplemented from ScriptedAI.

621  {
622  me->SetFullHealth();//dunno why it does not resets health at evade..
623  me->setActive(true);
626  if (!KalecGUID.IsEmpty())
627  {
629  Kalec->setDeathState(JUST_DIED);
630  KalecGUID.Clear();
631  }
632 
633  Initialize();
634 
637  }
void Initialize()
Definition: boss_kalecgos.cpp:595
Definition: boss_kalecgos.cpp:56
Definition: Unit.h:542
void setActive(bool isActiveObject)
Definition: Object.cpp:1473
Definition: Creature.h:467
ObjectGuid KalecgosGUID
Definition: boss_kalecgos.cpp:615
Definition: sunwell_plateau.h:36
void TeleportAllPlayersBack()
Definition: boss_kalecgos.cpp:687
Creature *const me
Definition: CreatureAI.h:71
virtual ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:93
InstanceScript * instance
Definition: boss_kalecgos.cpp:606
ObjectGuid KalecGUID
Definition: boss_kalecgos.cpp:614
Definition: InstanceScript.h:58
virtual bool SetBossState(uint32 id, EncounterState state)
Definition: InstanceScript.cpp:273
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:174
Definition: sunwell_plateau.h:29
void Clear()
Definition: ObjectGuid.h:215
void SetFullHealth()
Definition: Unit.h:1440
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:869
bool IsEmpty() const
Definition: ObjectGuid.h:242

+ Here is the call graph for this function:

void boss_sathrovarr::boss_sathrovarrAI::TeleportAllPlayersBack ( )
inline
688  {
689  Map::PlayerList const &playerList = me->GetMap()->GetPlayers();
690  Position const& homePos = me->GetHomePosition();
691  for (Map::PlayerList::const_iterator itr = playerList.begin(); itr != playerList.end(); ++itr)
692  {
693  Player* player = itr->GetSource();
694  if (player->IsInDist(&homePos, 50.0f) && player->GetPositionZ() <= DEMON_REALM_Z + 10.f)
695  {
696  player->RemoveAura(AURA_SPECTRAL_REALM);
697  player->TeleportTo(me->GetMap()->GetId(), player->GetPositionX(),
698  player->GetPositionY(), DRAGON_REALM_Z + 5, player->GetOrientation());
699  }
700  }
701  }
Map * GetMap() const
Definition: Object.h:543
iterator begin()
Definition: MapRefManager.h:37
uint32 GetId(void) const
Definition: Map.h:325
Creature *const me
Definition: CreatureAI.h:71
Definition: LinkedList.h:141
#define DEMON_REALM_Z
Definition: boss_kalecgos.cpp:95
PlayerList const & GetPlayers() const
Definition: Map.h:433
Definition: MapRefManager.h:26
Definition: Position.h:27
Definition: boss_kalecgos.cpp:54
#define DRAGON_REALM_Z
Definition: boss_kalecgos.cpp:94
void GetHomePosition(float &x, float &y, float &z, float &ori) const
Definition: Creature.h:672
iterator end()
Definition: MapRefManager.h:38

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void boss_sathrovarr::boss_sathrovarrAI::UpdateAI ( uint32  diff)
inlineoverridevirtual

Reimplemented from ScriptedAI.

719  {
722 
723  if (!UpdateVictim())
724  return;
725 
726  if (CheckTimer <= diff)
727  {
729  if (!Kalec || !Kalec->IsAlive())
730  {
732  Kalecgos->AI()->EnterEvadeMode();
733  return;
734  }
735 
736  if (HealthBelowPct(10) && !isEnraged)
737  {
739  Kalecgos->AI()->DoAction(DO_ENRAGE);
741  }
742 
744  if (Kalecgos && !Kalecgos->IsInCombat())
745  {
746  EnterEvadeMode();
747  return;
748  }
749 
750  if (!isBanished && HealthBelowPct(1))
751  {
752  if (Kalecgos)
753  {
754  if (Kalecgos->HasAura(SPELL_BANISH))
755  {
756  me->DealDamage(me, me->GetHealth());
757  return;
758  }
760  }
761  else
762  {
764  EnterEvadeMode();
765  return;
766  }
767  }
768  CheckTimer = 1000;
769  } else CheckTimer -= diff;
770 
771  if (ResetThreat <= diff)
772  {
774  for (ThreatContainer::StorageType::const_iterator itr = threatlist.begin(); itr != threatlist.end(); ++itr)
775  {
776  if (Unit* unit = ObjectAccessor::GetUnit(*me, (*itr)->getUnitGuid()))
777  if (unit->GetPositionZ() > me->GetPositionZ() + 5)
778  me->getThreatManager().modifyThreatPercent(unit, -100);
779  }
780  ResetThreat = 1000;
781  } else ResetThreat -= diff;
782 
783  if (ShadowBoltTimer <= diff)
784  {
785  if (!(rand32() % 5))
788  ShadowBoltTimer = 7000 + (rand32() % 3000);
789  } else ShadowBoltTimer -= diff;
790 
791  if (AgonyCurseTimer <= diff)
792  {
793  Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 1);
794  if (!target)
795  target = me->GetVictim();
796  DoCast(target, SPELL_AGONY_CURSE);
797  AgonyCurseTimer = 20000;
798  } else AgonyCurseTimer -= diff;
799 
800  if (CorruptionStrikeTimer <= diff)
801  {
802  if (!(rand32() % 5))Talk(SAY_SATH_SPELL2);
804  CorruptionStrikeTimer = 13000;
805  } else CorruptionStrikeTimer -= diff;
806 
808  }
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
Definition: Unit.cpp:4240
void DoAction(int32 param) override
Definition: boss_kalecgos.cpp:703
bool UpdateVictim()
Definition: CreatureAI.cpp:233
uint32 CorruptionStrikeTimer
Definition: boss_kalecgos.cpp:608
void modifyThreatPercent(Unit *victim, int32 percent)
Definition: ThreatManager.cpp:452
TC_GAME_API Unit * GetUnit(WorldObject const &, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:163
virtual void TextEmote(std::string const &text, WorldObject const *target=nullptr, bool isBossEmote=false)
Definition: Unit.cpp:16403
bool HealthBelowPct(uint32 pct) const
Definition: ScriptedCreature.h:247
virtual void EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
Definition: CreatureAI.cpp:168
bool IsInCombat() const
Definition: Unit.h:1584
Definition: boss_kalecgos.cpp:78
ThreatContainer::StorageType const & getThreatList() const
Definition: ThreatManager.h:263
Definition: Creature.h:467
ObjectGuid KalecgosGUID
Definition: boss_kalecgos.cpp:615
Definition: boss_kalecgos.cpp:70
Definition: boss_kalecgos.cpp:68
uint32 AgonyCurseTimer
Definition: boss_kalecgos.cpp:609
Creature *const me
Definition: CreatureAI.h:71
Definition: boss_kalecgos.cpp:69
bool isBanished
Definition: boss_kalecgos.cpp:618
Definition: boss_kalecgos.cpp:55
Definition: UnitAI.h:35
ObjectGuid KalecGUID
Definition: boss_kalecgos.cpp:614
Definition: boss_kalecgos.cpp:64
bool IsAlive() const
Definition: Unit.h:1692
Unit * GetVictim() const
Definition: Unit.h:1379
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
Definition: UnitAI.cpp:91
uint32 CheckTimer
Definition: boss_kalecgos.cpp:611
float GetPositionZ() const
Definition: Position.h:106
void DoCast(uint32 spellId)
Definition: UnitAI.cpp:101
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:174
Definition: boss_kalecgos.cpp:38
bool isEnraged
Definition: boss_kalecgos.cpp:617
std::list< HostileReference * > StorageType
Definition: ThreatManager.h:149
ThreatManager & getThreatManager()
Definition: Unit.h:1998
uint32 ResetThreat
Definition: boss_kalecgos.cpp:612
Definition: boss_kalecgos.cpp:79
uint32 rand32()
Definition: Random.cpp:64
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:49
Definition: boss_kalecgos.cpp:37
void DoCastVictim(uint32 spellId, bool triggered=false)
Definition: UnitAI.cpp:159
uint32 GetHealth() const
Definition: Unit.h:1426
Definition: Unit.h:1305
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:869
uint32 DealDamage(Unit *victim, uint32 damage, CleanDamage const *cleanDamage=NULL, DamageEffectType damagetype=DIRECT_DAMAGE, SpellSchoolMask damageSchoolMask=SPELL_SCHOOL_MASK_NORMAL, SpellInfo const *spellProto=NULL, bool durabilityLoss=true)
Definition: Unit.cpp:613
uint32 ShadowBoltTimer
Definition: boss_kalecgos.cpp:610
#define EMOTE_UNABLE_TO_FIND
Definition: boss_kalecgos.cpp:84

+ Here is the call graph for this function:

Member Data Documentation

uint32 boss_sathrovarr::boss_sathrovarrAI::AgonyCurseTimer
uint32 boss_sathrovarr::boss_sathrovarrAI::CheckTimer
uint32 boss_sathrovarr::boss_sathrovarrAI::CorruptionStrikeTimer
InstanceScript* boss_sathrovarr::boss_sathrovarrAI::instance
bool boss_sathrovarr::boss_sathrovarrAI::isBanished
bool boss_sathrovarr::boss_sathrovarrAI::isEnraged
ObjectGuid boss_sathrovarr::boss_sathrovarrAI::KalecgosGUID
ObjectGuid boss_sathrovarr::boss_sathrovarrAI::KalecGUID
uint32 boss_sathrovarr::boss_sathrovarrAI::ResetThreat
uint32 boss_sathrovarr::boss_sathrovarrAI::ShadowBoltTimer

The documentation for this struct was generated from the following file: