29#define SPELL_CONSUME_BUFF_HELPER DUNGEON_MODE<uint32>(SPELL_CONSUME_BUFF, SPELL_CONSUME_BUFF_H)
117 for (
uint8 i = 0; i < 3; ++i)
264 target->DespawnOrUnsummon();
const T & RAND(const T &v1, const T &v2)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ SPELL_AURA_PERIODIC_DUMMY
@ AURA_EFFECT_HANDLE_REAL
#define SpellEffectFn(F, I, N)
#define AuraEffectPeriodicFn(F, I, N)
#define AuraEffectRemoveFn(F, I, N, M)
@ UNIT_FLAG_IMMUNE_TO_NPC
@ DATA_CONSUMPTION_JUNCTION
@ SPELL_CORPSE_EXPLODE_DAMAGE
void AddSC_boss_trollgore()
#define SPELL_CONSUME_BUFF_HELPER
AchievementCriteriaScript(const char *name)
uint32 GetTickNumber() const
uint8 GetStackAmount() const
HookList< EffectApplyHandler > AfterEffectRemove
HookList< EffectPeriodicHandler > OnEffectPeriodic
InstanceScript *const instance
BossAI(Creature *creature, uint32 bossId)
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
CreatureScript(const char *name)
static Creature * GetCreature(WorldObject const &u, uint64 guid)
HookList< EffectHandler > OnEffectHitTarget
SpellScriptLoader(const char *name)
void DoMeleeAttackIfReady()
void DoCastVictim(uint32 spellId, bool triggered=false)
void DoCastAOE(uint32 spellId, bool triggered=false)
bool OnCheck(Player *, Unit *target) OVERRIDE
achievement_consumption_junction()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
void HandleConsume(SpellEffIndex)
PrepareSpellScript(spell_trollgore_consume_SpellScript)
bool Validate(SpellInfo const *) OVERRIDE
SpellScript * GetSpellScript() const OVERRIDE
spell_trollgore_consume()
bool Validate(SpellInfo const *) OVERRIDE
PrepareAuraScript(spell_trollgore_corpse_explode_AuraScript)
void HandleRemove(AuraEffect const *, AuraEffectHandleModes)
void PeriodicTick(AuraEffect const *aurEff)
spell_trollgore_corpse_explode()
AuraScript * GetAuraScript() const OVERRIDE
bool Validate(SpellInfo const *spellInfo) OVERRIDE
void HandleTaunt(SpellEffIndex)
PrepareSpellScript(spell_trollgore_invader_taunt_SpellScript)
SpellScript * GetSpellScript() const OVERRIDE
spell_trollgore_invader_taunt()
AI * GetDrakTharonKeepAI(Creature *creature)
@ DATA_TROLLGORE_INVADER_SUMMONER_1
ScriptedAI(Creature *creature)
uint32 GetData(uint32 type) const OVERRIDE
bool _consumptionJunction
void JustDied(Unit *) OVERRIDE
boss_trollgoreAI(Creature *creature)
void JustSummoned(Creature *summon) OVERRIDE
void KilledUnit(Unit *victim) OVERRIDE
void EnterCombat(Unit *) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void MovementInform(uint32 type, uint32 pointId) OVERRIDE
npc_drakkari_invaderAI(Creature *creature)