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

Public Types

enum  Events {
  EVENT_START_RITUAL = 1 ,
  EVENT_GHOULPLOSION ,
  EVENT_RAISE_DEAD ,
  EVENT_RESUME_WP
}
 
enum  Points { POINT_CORPSE_REACHED = 1 }
 
enum  Says {
  SAY_GRYPHON = 0 ,
  SAY_GHOUL = 1 ,
  SAY_GEIST = 2
}
 
- 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
}
 

Public Member Functions

 npc_gothik_the_harvesterAI (Creature *creature)
 
void Reset () override
 
void UpdateAI (uint32 diff) override
 Use to start attacking a target. Called just before JustEngagedWith()
 
void MovementInform (uint32 type, uint32 id) override
 
- Public Member Functions inherited from ScriptedAI
 ScriptedAI (Creature *creature)
 
 ~ScriptedAI () override
 
void AttackStartNoMove (Unit *target)
 
void DamageTaken (Unit *, uint32 &, DamageEffectType, SpellSchoolMask) override
 Called at any Damage from any attacker (before damage apply)
 
void UpdateAI (uint32 diff) override
 Use to start attacking a target. Called just before JustEngagedWith()
 
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 DoTeleportPlayer (Unit *unit, Position pos)
 
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 IsUniqueTimedEventDone (uint32 id) const
 
void SetUniqueTimedEventDone (uint32 id)
 
void ResetUniqueTimedEvent (uint32 id)
 
void ClearUniqueTimedEventsDone ()
 
void ScheduleTimedEvent (Milliseconds timerMin, Milliseconds timerMax, std::function< void()> exec, Milliseconds repeatMin, Milliseconds repeatMax=0s, uint32 uniqueId=0)
 
void ScheduleTimedEvent (Milliseconds timerMax, std::function< void()> exec, Milliseconds repeatMin, Milliseconds repeatMax=0s, uint32 uniqueId=0)
 
void ScheduleUniqueTimedEvent (Milliseconds timer, std::function< void()> exec, uint32 uniqueId)
 
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)
 
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
 
void SetInvincibility (bool apply)
 
bool IsInvincible () const
 
void SetAutoAttackAllowed (bool allow)
 
bool IsAutoAttackAllowed () 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)
 
WorldObjectGetSummoner () const
 Returns the summoner creature/object, if the creature is a temporary summon.
 
 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 IsSummonedBy (WorldObject *)
 
virtual void SummonedCreatureDies (Creature *, Unit *)
 
virtual void SummonedCreatureDespawnAll ()
 
virtual void SummonedCreatureEvade (Creature *)
 
virtual void AttackedBy (Unit *)
 
virtual bool IsEscorted ()
 
virtual void JustRespawned ()
 
virtual void PathEndReached (uint32)
 
void OnCharmed (bool apply) override
 Called when unit is charmed.
 
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 ()
 
int32 VisualizeBoundary (uint32 duration, Unit *owner=nullptr, bool fill=false, bool checkZ=false) const
 
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 *)
 
virtual void OnAuraRemove (AuraApplication *, AuraRemoveMode)
 
- Public Member Functions inherited from UnitAI
 UnitAI (Unit *unit)
 
virtual ~UnitAI ()
 
virtual bool CanAIAttack (Unit const *) const
 
virtual void InitializeAI ()
 
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)
 Select the best (up to) <num> targets (in <targetType> order) from the threat list that fulfill the following:
 
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.
 
virtual void JustExitedCombat ()
 Called when the unit leaves combat.
 
virtual void DamageDealt (Unit *, uint32 &, DamageEffectType, SpellSchoolMask)
 Called at any Damage to any victim (before damage apply)
 
virtual void HealReceived (Unit *, uint32 &)
 Called when the creature receives heal.
 
virtual void OnPowerUpdate (Powers, int32, int32, uint32)
 Called when the creature power updates.
 
virtual void HealDone (Unit *, uint32 &)
 Called when the unit heals.
 
virtual void OnCalculateMeleeDamageReceived (uint32 &, Unit *)
 Called during damage calculations.
 
virtual void OnCalculateSpellDamageReceived (int32 &, Unit *)
 
virtual void OnCalculatePeriodicTickReceived (uint32 &, Unit *)
 Called during calculation when receiving periodic healing or damage (DoT or HoT)
 
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)
 To specify the caster as target if the spell is self-cast.
 
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, bool withTank=true)
 Cast the spell on a random unit from the threat list.
 
SpellCastResult DoCastMaxThreat (uint32 spellId, uint32 threatTablePosition=0, float dist=0.0f, bool playerOnly=true, bool triggered=false)
 Cast spell on the top threat target, which may not 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)
 Called when a summon reaches a waypoint or point movement finished.
 
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
 
ObjectGuid targetCorpseGUID
 
ObjectGuid geistGUID
 
bool isOnRitual
 
- Public Attributes inherited from ScriptedAI
Creatureme
 

Additional Inherited Members

- 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
 
TaskScheduler scheduler
 
CreatureBoundary const * _boundary
 
bool _negateBoundary
 
- Protected Attributes inherited from UnitAI
Unit *const me
 

Detailed Description

Member Enumeration Documentation

◆ Events

Enumerator
EVENT_START_RITUAL 
EVENT_GHOULPLOSION 
EVENT_RAISE_DEAD 
EVENT_RESUME_WP 

◆ Points

Enumerator
POINT_CORPSE_REACHED 
779 {
781 };

◆ Says

Enumerator
SAY_GRYPHON 
SAY_GHOUL 
SAY_GEIST 
785 {
786 SAY_GRYPHON = 0, // "You will fly again, beast..."
787 SAY_GHOUL = 1, // "Surprise, surprise! Another ghoul!"
788 SAY_GEIST = 2 // "Is Gothik the Harvester going to have to choke a geist?"
789 };

Constructor & Destructor Documentation

◆ npc_gothik_the_harvesterAI()

npc_gothik_the_harvester::npc_gothik_the_harvesterAI::npc_gothik_the_harvesterAI ( Creature creature)
inline
763: ScriptedAI(creature) { }
Definition ScriptedCreature.h:190

Member Function Documentation

◆ MovementInform()

void npc_gothik_the_harvester::npc_gothik_the_harvesterAI::MovementInform ( uint32  type,
uint32  id 
)
inlineoverridevirtual

Reimplemented from CreatureAI.

905 {
906 if (type == POINT_MOTION_TYPE && id == POINT_CORPSE_REACHED)
907 {
908 // Reached the target corpse
910 if (corpse)
911 {
912 me->SetFacingToObject(corpse);
913 // Say line depending on corpse type (gryphon or humanoid)
914 if (corpse->GetEntry() == NPC_DEAD_SCARLET_GRYPHON)
916 else
918 }
919 // Check for Geist nearby
921 if (geist)
922 {
923 me->SetFacingToObject(geist);
924 geistGUID = geist->GetGUID();
925 // Geist present: Ghoulplosion in 3s (with SAY_GEIST), raise in 6s, resume in 9s
926 events.ScheduleEvent(EVENT_GHOULPLOSION, 3000);
927 events.ScheduleEvent(EVENT_RAISE_DEAD, 6000);
928 events.ScheduleEvent(EVENT_RESUME_WP, 9000);
929 }
930 else
931 {
932 // No Geist: raise in 3s, resume in 6s
933 events.ScheduleEvent(EVENT_RAISE_DEAD, 3000);
934 events.ScheduleEvent(EVENT_RESUME_WP, 6000);
935 }
936 }
937 }
@ POINT_MOTION_TYPE
Definition MotionMaster.h:48
events
Definition boss_sartura.cpp:43
@ NPC_DEAD_SCARLET_GRYPHON
Definition chapter2.cpp:569
@ NPC_GLUTTONOUS_GEIST
Definition chapter2.cpp:562
Definition Creature.h:43
uint32 GetEntry() const
Definition Object.h:116
static ObjectGuid GetGUID(Object const *o)
Definition Object.h:113
void SetFacingToObject(WorldObject *object)
Definition Unit.cpp:20378
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition Object.cpp:2441
Talk
Definition hyjal.cpp:82
Creature * GetCreature(WorldObject const &u, ObjectGuid const guid)
Definition ObjectAccessor.cpp:210
Creature * me
Definition ScriptedCreature.h:280
ObjectGuid targetCorpseGUID
Definition chapter2.cpp:766
ObjectGuid geistGUID
Definition chapter2.cpp:767

References EVENT_GHOULPLOSION, EVENT_RAISE_DEAD, EVENT_RESUME_WP, WorldObject::FindNearestCreature(), geistGUID, ObjectAccessor::GetCreature(), Object::GetEntry(), Object::GetGUID(), ScriptedAI::me, NPC_DEAD_SCARLET_GRYPHON, NPC_GLUTTONOUS_GEIST, POINT_CORPSE_REACHED, POINT_MOTION_TYPE, SAY_GHOUL, SAY_GRYPHON, Unit::SetFacingToObject(), and targetCorpseGUID.

◆ Reset()

void npc_gothik_the_harvester::npc_gothik_the_harvesterAI::Reset ( )
inlineoverridevirtual

Reimplemented from UnitAI.

792 {
793 events.Reset();
796 isOnRitual = false;
797 // Start waypoint movement using WaypointMovementGenerator
798 if (uint32 pathId = me->GetWaypointPath())
799 {
800 me->GetMotionMaster()->MovePath(pathId, true); // true = repeatable
801 }
802 // Schedule the first ritual after 50-60s
803 events.ScheduleEvent(EVENT_START_RITUAL, urand(50000, 60000));
804 }
std::uint32_t uint32
Definition Define.h:107
uint32 urand(uint32 min, uint32 max)
Definition Random.cpp:44
uint32 GetWaypointPath() const
Definition Creature.h:350
void MovePath(uint32 path_id, bool repeatable)
Move the unit following a specific path. Doesn't work with UNIT_FLAG_DISABLE_MOVE.
Definition MotionMaster.cpp:852
void Clear()
Definition ObjectGuid.h:138
MotionMaster * GetMotionMaster()
Definition Unit.h:1673

References ObjectGuid::Clear(), EVENT_START_RITUAL, geistGUID, Unit::GetMotionMaster(), Creature::GetWaypointPath(), isOnRitual, ScriptedAI::me, MotionMaster::MovePath(), targetCorpseGUID, and urand().

◆ UpdateAI()

void npc_gothik_the_harvester::npc_gothik_the_harvesterAI::UpdateAI ( uint32  )
inlineoverridevirtual

Use to start attacking a target. Called just before JustEngagedWith()

Implements UnitAI.

806 {
807 events.Update(diff);
808
809 if (uint32 eventId = events.ExecuteEvent())
810 {
811 switch (eventId)
812 {
814 {
815 if (isOnRitual) // Already performing ritual
816 {
817 events.ScheduleEvent(EVENT_START_RITUAL, urand(5000, 10000));
818 break;
819 }
820
821 // Find nearest dead Scarlet NPC (including gryphon)
822 Creature* nearestCorpse = nullptr;
823 float nearestDist = std::numeric_limits<float>::max();
824 static const uint32 corpseEntries[] = {
828 };
829 for (uint32 entry : corpseEntries)
830 {
831 // Search up to 60 yards for each type
832 if (Creature* corpse = me->FindNearestCreature(entry, 60.0f, true))
833 {
834 float dist = me->GetDistance(corpse);
835 if (dist < nearestDist)
836 {
837 nearestDist = dist;
838 nearestCorpse = corpse;
839 }
840 }
841 }
842 if (!nearestCorpse)
843 {
844 events.ScheduleEvent(EVENT_START_RITUAL, urand(5000, 10000));
845 break;
846 }
847 // Start ritual
848 isOnRitual = true;
849 targetCorpseGUID = nearestCorpse->GetGUID();
851 // Pause waypoint movement and move to the corpse
852 me->PauseMovement();
853 float x, y, z;
854 // Keep it at a distance from the corpse
855 nearestCorpse->GetClosePoint(x, y, z, me->GetObjectSize());
857 break;
858 }
860 {
861 // Cast Ghoulplosion on the Geist and say the Geist line
863 {
865 me->SetFacingToObject(geist);
867 }
868 break;
869 }
870
871 case EVENT_RAISE_DEAD:
872 {
873 // Cast the appropriate raise spell on the corpse (griffon or ghoul)
875 {
876 me->SetFacingToObject(corpse);
877 uint32 entry = corpse->GetEntry();
878 if (entry == NPC_DEAD_SCARLET_GRYPHON)
879 {
881 }
882 else
883 {
885 }
886 }
887 break;
888 }
889 case EVENT_RESUME_WP:
890 {
891 // Resume waypoint movement
892 isOnRitual = false;
894 // Resume paused waypoint movement
896 // Schedule next ritual in 50-60s
897 events.ScheduleEvent(EVENT_START_RITUAL, urand(50000, 60000));
898 break;
899 }
900 }
901 }
902 }
@ SPELL_SCOURGE_GRYPHON
Definition chapter2.cpp:556
@ SPELL_SCARLET_GHOUL
Definition chapter2.cpp:555
@ SPELL_GHOULPLOSION
Definition chapter2.cpp:557
@ NPC_DEAD_SCARLET_PEASANT
Definition chapter2.cpp:566
@ NPC_DEAD_SCARLET_MINER
Definition chapter2.cpp:567
@ NPC_DEAD_SCARLET_FLEET_DEFENDER
Definition chapter2.cpp:568
@ NPC_DEAD_SCARLET_CAPTAIN
Definition chapter2.cpp:565
@ NPC_DEAD_SCARLET_MEDIC
Definition chapter2.cpp:563
@ NPC_DEAD_SCARLET_INFANTRYMAN
Definition chapter2.cpp:564
void MovePoint(uint32 id, const Position &pos, bool generatePath=true, bool forceDestination=true)
Definition MotionMaster.h:213
SpellCastResult DoCast(uint32 spellId)
Definition UnitAI.cpp:177
void ResumeMovement(uint32 timer=0, uint8 slot=0)
Definition Unit.cpp:16754
virtual void PauseMovement(uint32 timer=0, uint8 slot=0)
Disable the unit movement by clearing UNIT_STATE_MOVING and stopping the spline.
Definition Unit.cpp:16743
bool GetClosePoint(float &x, float &y, float &z, float size, float distance2d=0, float angle=0, WorldObject const *forWho=nullptr, bool force=false) const
Definition Object.cpp:2708
float GetDistance(WorldObject const *obj) const
Definition Object.cpp:1238
float GetObjectSize() const
Definition Object.cpp:2780

References ObjectGuid::Clear(), UnitAI::DoCast(), EVENT_GHOULPLOSION, EVENT_RAISE_DEAD, EVENT_RESUME_WP, EVENT_START_RITUAL, WorldObject::FindNearestCreature(), geistGUID, WorldObject::GetClosePoint(), ObjectAccessor::GetCreature(), WorldObject::GetDistance(), Object::GetGUID(), Unit::GetMotionMaster(), WorldObject::GetObjectSize(), isOnRitual, ScriptedAI::me, MotionMaster::MovePoint(), NPC_DEAD_SCARLET_CAPTAIN, NPC_DEAD_SCARLET_FLEET_DEFENDER, NPC_DEAD_SCARLET_GRYPHON, NPC_DEAD_SCARLET_INFANTRYMAN, NPC_DEAD_SCARLET_MEDIC, NPC_DEAD_SCARLET_MINER, NPC_DEAD_SCARLET_PEASANT, Unit::PauseMovement(), POINT_CORPSE_REACHED, Unit::ResumeMovement(), SAY_GEIST, Unit::SetFacingToObject(), SPELL_GHOULPLOSION, SPELL_SCARLET_GHOUL, SPELL_SCOURGE_GRYPHON, targetCorpseGUID, and urand().

Member Data Documentation

◆ events

EventMap npc_gothik_the_harvester::npc_gothik_the_harvesterAI::events

◆ geistGUID

ObjectGuid npc_gothik_the_harvester::npc_gothik_the_harvesterAI::geistGUID

Referenced by MovementInform(), Reset(), and UpdateAI().

◆ isOnRitual

bool npc_gothik_the_harvester::npc_gothik_the_harvesterAI::isOnRitual

Referenced by Reset(), and UpdateAI().

◆ targetCorpseGUID

ObjectGuid npc_gothik_the_harvester::npc_gothik_the_harvesterAI::targetCorpseGUID

Referenced by MovementInform(), Reset(), and UpdateAI().


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