AzeorthCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
npc_madrigosa::npc_madrigosaAI Struct Reference
Inheritance diagram for npc_madrigosa::npc_madrigosaAI:
NullCreatureAI CreatureAI UnitAI

Public Member Functions

 npc_madrigosaAI (Creature *creature)
 
void DoAction (int32 param) override
 
void UpdateAI (uint32 diff) override
 
- Public Member Functions inherited from NullCreatureAI
 NullCreatureAI (Creature *c)
 
void MoveInLineOfSight (Unit *) override
 
void AttackStart (Unit *) override
 
void UpdateAI (uint32) override
 
void EnterEvadeMode (EvadeReason) override
 
void OnCharmed (bool) override
 
- Public Member Functions inherited from CreatureAI
void Talk (uint8 id, WorldObject const *whisperTarget=nullptr)
 
 CreatureAI (Creature *creature)
 
 ~CreatureAI () override
 
void MoveCircleChecks ()
 
void MoveBackwardsChecks ()
 
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 EnterCombat (Unit *)
 
virtual void JustDied (Unit *)
 
virtual void KilledUnit (Unit *)
 
virtual void JustSummoned (Creature *)
 
virtual void IsSummonedBy (Unit *)
 
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 ================== More...
 
virtual void PassengerBoarded (Unit *, int8, bool)
 == Fields ======================================= More...
 
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, int32 aura=0)
 
template<class PREDICATE >
UnitSelectTarget (SelectTargetMethod targetType, uint32 position, PREDICATE const &predicate)
 
void SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectTargetMethod 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, SelectTargetMethod targetType)
 
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)
 
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
 
InstanceScriptinstance
 

Additional Inherited Members

- 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 NullCreatureAI
static int32 Permissible (Creature const *creature)
 
- 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_madrigosaAI()

npc_madrigosa::npc_madrigosaAI::npc_madrigosaAI ( Creature creature)
inline
214 : NullCreatureAI(creature)
215 {
216 instance = creature->GetInstanceScript();
218 creature->SetVisible(appear);
221 }
@ UNIT_STAND_STATE_DEAD
Definition: Unit.h:60
@ DONE
Definition: InstanceScript.h:59
@ DATA_BRUTALLUS
Definition: sunwell_plateau.h:33
@ DATA_MADRIGOSA
Definition: sunwell_plateau.h:32
@ UNIT_DYNFLAG_DEAD
Definition: SharedDefines.h:3098
Definition: PassiveAI.h:53
virtual void SetDynamicFlag(uint32 flag)
Definition: Object.h:117
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1194
void SetVisible(bool x)
Definition: Unit.cpp:14973
void SetStandState(uint8 state)
Definition: Unit.cpp:17668
EncounterState GetBossState(uint32 id) const
Definition: InstanceScript.h:227
InstanceScript * instance
Definition: boss_brutallus.cpp:224

References DATA_BRUTALLUS, DATA_MADRIGOSA, DONE, InstanceScript::GetBossState(), WorldObject::GetInstanceScript(), instance, Object::SetDynamicFlag(), Unit::SetStandState(), Unit::SetVisible(), UNIT_DYNFLAG_DEAD, and UNIT_STAND_STATE_DEAD.

Member Function Documentation

◆ DoAction()

void npc_madrigosa::npc_madrigosaAI::DoAction ( int32  param)
inlineoverridevirtual

Reimplemented from UnitAI.

227 {
228 if (param == ACTION_START_EVENT)
229 {
230 me->SetDisableGravity(true);
233 me->NearTeleportTo(1570.97f, 725.51f, 79.77f, 3.82f);
234 events.ScheduleEvent(EVENT_MAD_1, 2000);
235 }
236 else if (param == ACTION_SPAWN_FELMYST)
237 events.ScheduleEvent(EVENT_SPAWN_FELMYST, 60000);
238 }
@ UNIT_STAND_STATE_STAND
Definition: Unit.h:53
@ ACTION_SPAWN_FELMYST
Definition: boss_brutallus.cpp:57
@ ACTION_START_EVENT
Definition: boss_brutallus.cpp:56
@ EVENT_MAD_1
Definition: boss_brutallus.cpp:165
@ EVENT_SPAWN_FELMYST
Definition: boss_brutallus.cpp:187
events
Definition: boss_sartura.cpp:43
Creature *const me
Definition: CreatureAI.h:72
bool SetDisableGravity(bool disable, bool packetOnly=false, bool updateAnimationTier=true) override
Definition: Creature.cpp:3197
virtual void RemoveDynamicFlag(uint32 flag)
Definition: Object.h:118
void NearTeleportTo(Position &pos, bool casting=false, bool vehicleTeleport=false, bool withPet=false, bool removeTransport=false)
Definition: Unit.cpp:20844

References ACTION_SPAWN_FELMYST, ACTION_START_EVENT, EVENT_MAD_1, EVENT_SPAWN_FELMYST, CreatureAI::me, Unit::NearTeleportTo(), Object::RemoveDynamicFlag(), Creature::SetDisableGravity(), Unit::SetStandState(), UNIT_DYNFLAG_DEAD, and UNIT_STAND_STATE_STAND.

◆ UpdateAI()

void npc_madrigosa::npc_madrigosaAI::UpdateAI ( uint32  diff)
inlineoverridevirtual

Reimplemented from NullCreatureAI.

241 {
242 events.Update(diff);
243 switch (events.ExecuteEvent())
244 {
245 case EVENT_MAD_1:
246 me->SetVisible(true);
248 {
249 me->SetTarget(brutallus->GetGUID());
250 brutallus->SetReactState(REACT_PASSIVE);
251 brutallus->setActive(true);
252 }
253 me->GetMotionMaster()->MovePoint(1, 1477.94f, 643.22f, 21.21f);
255 events.ScheduleEvent(EVENT_MAD_2, 6000);
256 break;
257 case EVENT_MAD_2:
260 events.ScheduleEvent(EVENT_MAD_2_1, 1000);
261 break;
262 case EVENT_MAD_2_1:
264 me->SetDisableGravity(false);
266 events.ScheduleEvent(EVENT_MAD_3, 7000);
267 break;
268 case EVENT_MAD_3:
270 events.ScheduleEvent(EVENT_MAD_4, 7000);
271 break;
272 case EVENT_MAD_4:
274 brutallus->AI()->Talk(YELL_INTRO);
275 events.ScheduleEvent(EVENT_MAD_5, 5000);
276 break;
277 case EVENT_MAD_5:
279 {
280 brutallus->SetUInt32Value(UNIT_NPC_EMOTESTATE, EMOTE_ONESHOT_ATTACK1H);
282 }
283 events.ScheduleEvent(EVENT_MAD_6, 10000);
284 break;
285 case EVENT_MAD_6:
287 {
288 brutallus->SetUInt32Value(UNIT_NPC_EMOTESTATE, EMOTE_ONESHOT_NONE);
290 }
292 me->SetDisableGravity(true);
293 events.ScheduleEvent(EVENT_MAD_7, 4000);
294 break;
295 case EVENT_MAD_7:
298 events.ScheduleEvent(EVENT_MAD_8, 3000);
299 events.ScheduleEvent(EVENT_MAD_8, 5000);
300 events.ScheduleEvent(EVENT_MAD_8, 6500);
301 events.ScheduleEvent(EVENT_MAD_8, 7500);
302 events.ScheduleEvent(EVENT_MAD_8, 8500);
303 events.ScheduleEvent(EVENT_MAD_8, 9500);
304 events.ScheduleEvent(EVENT_MAD_9, 11000);
305 events.ScheduleEvent(EVENT_MAD_8, 12000);
306 events.ScheduleEvent(EVENT_MAD_8, 14000);
307 break;
308 case EVENT_MAD_8:
310 me->CastSpell(brutallus, SPELL_MADRIGOSA_FROSTBOLT, false);
311 break;
312 case EVENT_MAD_9:
314 {
315 brutallus->CastSpell(brutallus, SPELL_BRUTALLUS_FLAME_RING, true);
316 brutallus->RemoveAllAuras();
317 brutallus->CastSpell(brutallus, SPELL_BRUTALLUS_FEL_FIREBALL, false);
318 brutallus->AI()->Talk(YELL_INTRO_BREAK_ICE);
319 }
320 events.ScheduleEvent(EVENT_MAD_11, 6000);
321 break;
322 //case EVENT_MAD_10:
323 case EVENT_MAD_11:
324 me->SetDisableGravity(false);
326 events.ScheduleEvent(EVENT_MAD_13, 2500);
327 break;
328 case EVENT_MAD_13:
332 events.ScheduleEvent(EVENT_MAD_14, 2000);
333 break;
334 case EVENT_MAD_14:
336 {
337 brutallus->SetDisableGravity(true);
338 brutallus->GetMotionMaster()->MovePoint(0, brutallus->GetPositionX(), brutallus->GetPositionY() - 30.0f, brutallus->GetPositionZ() + 15.0f, false, true);
339 }
340 events.ScheduleEvent(EVENT_MAD_15, 10000);
341 break;
342 case EVENT_MAD_15:
344 {
345 brutallus->RemoveAllAuras();
346 brutallus->SetDisableGravity(false);
347 brutallus->GetMotionMaster()->MoveFall();
348 brutallus->AI()->Talk(YELL_INTRO_CHARGE);
349 }
350 events.ScheduleEvent(EVENT_MAD_16, 1400);
351 break;
352 case EVENT_MAD_16:
354 brutallus->CastSpell(me, SPELL_BRUTALLUS_CHARGE, true);
355 events.ScheduleEvent(EVENT_MAD_17, 1200);
356 break;
357 case EVENT_MAD_17:
359 brutallus->HandleEmoteCommand(EMOTE_ONESHOT_ATTACK1H);
360 events.ScheduleEvent(EVENT_MAD_18, 500);
361 break;
362 case EVENT_MAD_18:
366 events.ScheduleEvent(EVENT_MAD_19, 6000);
367 break;
368 case EVENT_MAD_19:
370 brutallus->AI()->Talk(YELL_INTRO_KILL_MADRIGOSA);
371 events.ScheduleEvent(EVENT_MAD_20, 7000);
372 break;
373 case EVENT_MAD_20:
377 {
378 brutallus->AI()->Talk(YELL_INTRO_TAUNT);
379 brutallus->CastSpell(brutallus, SPELL_BRUTALLUS_BREAK_ICE, false);
380 }
381 events.ScheduleEvent(EVENT_MAD_21, 4000);
382 break;
383 case EVENT_MAD_21:
385 {
386 brutallus->SetReactState(REACT_AGGRESSIVE);
387 brutallus->SetHealth(brutallus->GetMaxHealth());
388 brutallus->AI()->EnterEvadeMode();
389 brutallus->setActive(false);
390 }
391 break;
395 felmyst->AI()->DoAction(ACTION_START_EVENT);
396 break;
397 }
398 }
@ UNIT_NPC_EMOTESTATE
Definition: UpdateFields.h:140
@ REACT_PASSIVE
Definition: Unit.h:1023
@ REACT_AGGRESSIVE
Definition: Unit.h:1025
@ UNIT_STATE_NO_ENVIRONMENT_UPD
Definition: Unit.h:353
@ UNIT_FLAG_NON_ATTACKABLE
Definition: Unit.h:449
@ YELL_INTRO
Definition: boss_brutallus.cpp:25
@ YELL_INTRO_BREAK_ICE
Definition: boss_brutallus.cpp:26
@ YELL_INTRO_KILL_MADRIGOSA
Definition: boss_brutallus.cpp:28
@ YELL_INTRO_TAUNT
Definition: boss_brutallus.cpp:29
@ YELL_INTRO_CHARGE
Definition: boss_brutallus.cpp:27
@ EVENT_MAD_6
Definition: boss_brutallus.cpp:171
@ EVENT_MAD_2
Definition: boss_brutallus.cpp:166
@ EVENT_MAD_21
Definition: boss_brutallus.cpp:186
@ EVENT_MAD_16
Definition: boss_brutallus.cpp:181
@ EVENT_MAD_5
Definition: boss_brutallus.cpp:170
@ EVENT_MAD_8
Definition: boss_brutallus.cpp:173
@ SPELL_BRUTALLUS_FEL_FIREBALL
Definition: boss_brutallus.cpp:202
@ SPELL_BRUTALLUS_CHARGE
Definition: boss_brutallus.cpp:201
@ SAY_MAD_3
Definition: boss_brutallus.cpp:191
@ SPELL_BRUTALLUS_BREAK_ICE
Definition: boss_brutallus.cpp:204
@ SAY_MAD_1
Definition: boss_brutallus.cpp:189
@ SPELL_MADRIGOSA_FROST_BREATH
Definition: boss_brutallus.cpp:196
@ EVENT_MAD_9
Definition: boss_brutallus.cpp:174
@ SPELL_MADRIGOSA_FREEZE
Definition: boss_brutallus.cpp:195
@ EVENT_MAD_3
Definition: boss_brutallus.cpp:168
@ SPELL_MADRIGOSA_ENCAPSULATE
Definition: boss_brutallus.cpp:199
@ SPELL_BRUTALLUS_FLAME_RING
Definition: boss_brutallus.cpp:203
@ EVENT_MAD_13
Definition: boss_brutallus.cpp:178
@ SAY_MAD_4
Definition: boss_brutallus.cpp:192
@ SAY_MAD_2
Definition: boss_brutallus.cpp:190
@ SAY_MAD_5
Definition: boss_brutallus.cpp:193
@ EVENT_MAD_17
Definition: boss_brutallus.cpp:182
@ EVENT_MAD_19
Definition: boss_brutallus.cpp:184
@ EVENT_MAD_14
Definition: boss_brutallus.cpp:179
@ EVENT_MAD_7
Definition: boss_brutallus.cpp:172
@ EVENT_MAD_11
Definition: boss_brutallus.cpp:176
@ EVENT_MAD_4
Definition: boss_brutallus.cpp:169
@ SPELL_MADRIGOSA_FROST_BLAST
Definition: boss_brutallus.cpp:197
@ EVENT_MAD_2_1
Definition: boss_brutallus.cpp:167
@ EVENT_MAD_20
Definition: boss_brutallus.cpp:185
@ EVENT_MAD_15
Definition: boss_brutallus.cpp:180
@ EVENT_MAD_18
Definition: boss_brutallus.cpp:183
@ SPELL_MADRIGOSA_FROSTBOLT
Definition: boss_brutallus.cpp:198
@ NPC_BRUTALLUS
Definition: sunwell_plateau.h:55
@ NPC_FELMYST
Definition: sunwell_plateau.h:57
Talk
Definition: boss_fathomlord_karathress.cpp:23
@ EMOTE_ONESHOT_ATTACK1H
Definition: SharedDefines.h:1898
@ EMOTE_ONESHOT_LAND
Definition: SharedDefines.h:1936
@ EMOTE_ONESHOT_NONE
Definition: SharedDefines.h:1866
@ EMOTE_ONESHOT_LIFTOFF
Definition: SharedDefines.h:1932
@ FACTION_FRIENDLY
Definition: SharedDefines.h:173
Creature * GetCreature(WorldObject const &u, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:215
Definition: Creature.h:46
void SetTarget(ObjectGuid guid=ObjectGuid::Empty) override
Definition: Creature.cpp:3529
void DespawnOrUnsummon(Milliseconds msTimeToDespawn, Seconds forcedRespawnTimer)
Despawn or Unsummon creature. If creature is a TempSummon it will be unsummoned.
Definition: Creature.cpp:2154
void SetUInt32Value(uint16 index, uint32 value)
Definition: Object.cpp:652
void SetFaction(uint32 faction)
Definition: Unit.cpp:10873
MotionMaster * GetMotionMaster()
Definition: Unit.h:2530
void AddUnitState(uint32 f)
Definition: Unit.h:1397
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1428
void RemoveAllAuras()
Definition: Unit.cpp:6083
void SetUnitFlag(UnitFlags flags)
Definition: Unit.h:1479
void HandleEmoteCommand(uint32 emoteId)
Definition: Unit.cpp:2345
ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:93
void MovePoint(uint32 id, const Position &pos, bool generatePath=true, bool forceDestination=true)
Definition: MotionMaster.h:210

References ACTION_START_EVENT, Unit::AddUnitState(), Unit::CastSpell(), Creature::DespawnOrUnsummon(), EMOTE_ONESHOT_ATTACK1H, EMOTE_ONESHOT_LAND, EMOTE_ONESHOT_LIFTOFF, EMOTE_ONESHOT_NONE, EVENT_MAD_1, EVENT_MAD_11, EVENT_MAD_13, EVENT_MAD_14, EVENT_MAD_15, EVENT_MAD_16, EVENT_MAD_17, EVENT_MAD_18, EVENT_MAD_19, EVENT_MAD_2, EVENT_MAD_20, EVENT_MAD_21, EVENT_MAD_2_1, EVENT_MAD_3, EVENT_MAD_4, EVENT_MAD_5, EVENT_MAD_6, EVENT_MAD_7, EVENT_MAD_8, EVENT_MAD_9, EVENT_SPAWN_FELMYST, FACTION_FRIENDLY, ObjectAccessor::GetCreature(), InstanceScript::GetGuidData(), Unit::GetMotionMaster(), Unit::HandleEmoteCommand(), instance, CreatureAI::me, MotionMaster::MovePoint(), NPC_BRUTALLUS, NPC_FELMYST, REACT_AGGRESSIVE, REACT_PASSIVE, Unit::RemoveAllAuras(), SAY_MAD_1, SAY_MAD_2, SAY_MAD_3, SAY_MAD_4, SAY_MAD_5, Creature::SetDisableGravity(), Object::SetDynamicFlag(), Unit::SetFaction(), Unit::SetStandState(), Creature::SetTarget(), Object::SetUInt32Value(), Unit::SetUnitFlag(), Unit::SetVisible(), SPELL_BRUTALLUS_BREAK_ICE, SPELL_BRUTALLUS_CHARGE, SPELL_BRUTALLUS_FEL_FIREBALL, SPELL_BRUTALLUS_FLAME_RING, SPELL_MADRIGOSA_ENCAPSULATE, SPELL_MADRIGOSA_FREEZE, SPELL_MADRIGOSA_FROST_BLAST, SPELL_MADRIGOSA_FROST_BREATH, SPELL_MADRIGOSA_FROSTBOLT, UNIT_DYNFLAG_DEAD, UNIT_FLAG_NON_ATTACKABLE, UNIT_NPC_EMOTESTATE, UNIT_STAND_STATE_DEAD, UNIT_STATE_NO_ENVIRONMENT_UPD, YELL_INTRO, YELL_INTRO_BREAK_ICE, YELL_INTRO_CHARGE, YELL_INTRO_KILL_MADRIGOSA, and YELL_INTRO_TAUNT.

Member Data Documentation

◆ events

EventMap npc_madrigosa::npc_madrigosaAI::events

◆ instance

InstanceScript* npc_madrigosa::npc_madrigosaAI::instance

Referenced by npc_madrigosaAI(), and UpdateAI().