52#define SPELL_PERMAFROST_HELPER RAID_MODE<uint32>(68786, 70336)
53#define SPELL_FORGE_BLADE_HELPER RAID_MODE<uint32>(68774, 70334)
267 std::list<GameObject*> blockList;
269 if (!blockList.empty())
271 for (std::list<GameObject*>::const_iterator itr = blockList.begin(); itr != blockList.end(); ++itr)
273 if (!(*itr)->IsInvisibleDueToDespawn(target))
275 if ((*itr)->IsInBetween(caster, target, 4.0f))
#define RegisterSpellScript(spell_script)
#define BeforeSpellHitFn(F)
@ ACHIEV_DOESNT_GO_TO_ELEVEN
#define SPELL_PERMAFROST_HELPER
Position const northForgePos
#define SPELL_FORGE_BLADE_HELPER
void AddSC_boss_garfrost()
Position const southForgePos
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void CallForHelp(float fRadius)
void DelayEvents(Milliseconds delay)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
bool IsInPhase(uint8 phase) const
void SetPhase(uint8 phase)
virtual ObjectGuid GetGuidData(uint32 type) const override
void MoveJump(Position const &pos, float speedXY, float speedZ, uint32 id=EVENT_JUMP, bool hasOrientation=false, JumpArrivalCastArgs const *arrivalCast=nullptr, Movement::SpellEffectExtraData const *spellEffectExtraData=nullptr)
static Creature * ToCreature(Object *o)
static Unit * ToUnit(Object *o)
HookList< HitHandler > AfterHit
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Unit * GetHitUnit() const
HookList< BeforeHitHandler > BeforeHit
SpellInfo const * GetSpellInfo() const
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
SpellCastResult DoCast(uint32 spellId)
void RemoveAllGameObjects()
MotionMaster * GetMotionMaster()
Aura * GetAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
bool HasUnitState(const uint32 f) const
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
void GetGameObjectListWithEntryInGrid(Container &gameObjectContainer, uint32 entry, float maxSearchRange=250.0f) const
achievement_doesnt_go_to_eleven()
bool OnCheck(Player *, Unit *target) override
spell_garfrost_permafrost()
void PreventHitByLoS(SpellMissInfo missInfo)
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
#define RegisterPitOfSaronCreatureAI(ai_name)
void SetEquipmentSlots(bool loadDefault, int32 mainHand=EQUIP_NO_CHANGE, int32 offHand=EQUIP_NO_CHANGE, int32 ranged=EQUIP_NO_CHANGE)
void AttackStart(Unit *) override
== Triggered Actions Requested ==================
bool HealthAbovePct(uint32 pct) const
void JustEngagedWith(Unit *who) override
void DamageTaken(Unit *, uint32 &, DamageEffectType, SpellInfo const *) override
boss_garfrost(Creature *creature)
void UpdateAI(uint32 diff) override
void SpellHitTarget(WorldObject *target, SpellInfo const *spellInfo) override
void JustDied(Unit *) override
uint32 GetData(uint32) const override
void MovementInform(uint32 type, uint32 id) override
void KilledUnit(Unit *victim) override