130 { 828.9342f, 118.6247f, 509.5190f, 0.0000000f },
131 { 841.0100f, 196.2450f, 573.9640f, 0.2046099f },
132 { 777.2274f, 119.5521f, 510.0363f, 6.0562930f },
133 { 823.3984f, 114.4907f, 509.4899f, 0.0000000f },
134 { 835.5887f, 139.4345f, 530.9526f, 0.0000000f },
135 { 828.9342f, 118.6247f, 514.5190f, 0.0000000f },
136 { 828.9342f, 118.6247f, 509.4958f, 0.0000000f },
137 { 914.4820f, 143.1602f, 633.3624f, 0.0000000f }
181 _vehicle->RemoveAllPassengers();
348 newTyrannus->SetCanFly(
true);
349 newTyrannus->SetFacingToObject(
me);
381 temp->DespawnOrUnsummon();
383 Creature* jainaOrSylvanas =
nullptr;
400 jainaOrSylvanas->SetFacingToObject(
me);
431 tyrannus->GetMotionMaster()->MovePoint(1,
outroPos[4]);
485 tyrannus->GetMotionMaster()->MovePoint(0,
outroPos[7]);
489 tyrannus->DespawnOrUnsummon();
527 if (
Player* player = itr->GetSource())
528 if (player->IsWithinDist(caster, 60.0f))
582 creature->DespawnOrUnsummon();
604 ick->GetThreatManager().FixateTarget(target);
First const & RAND(First const &first, Second const &second, Rest const &... rest)
@ TEMPSUMMON_MANUAL_DESPAWN
#define RegisterSpellAndAuraScriptPair(script_1, script_2)
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ AURA_EFFECT_HANDLE_REAPPLY
@ AURA_EFFECT_HANDLE_REAL
@ SPELL_AURA_PERIODIC_TRIGGER_SPELL
#define SpellEffectFn(F, I, N)
#define AuraEffectPeriodicFn(F, I, N)
#define AuraEffectApplyFn(F, I, N, M)
#define AuraEffectRemoveFn(F, I, N, M)
@ MOVEMENTFLAG_FALLING_FAR
@ UNIT_FLAG_NON_ATTACKABLE
@ ACTION_STORE_OLD_TARGET
@ SPELL_NECROMANTIC_POWER
@ SPELL_EXPLOSIVE_BARRAGE_ICK
@ SPELL_KRICK_KILL_CREDIT
@ SPELL_EXPLOSIVE_BARRAGE_DAMAGE
@ SPELL_EXPLOSIVE_BARRAGE_SUMMON
@ SPELL_EXPLOSIVE_BARRAGE_KRICK
static Position const outroPos[8]
@ EVENT_EXPLOSIVE_BARRAGE
void PreventDefaultAction()
HookList< EffectApplyHandler > AfterEffectRemove
HookList< EffectPeriodicHandler > OnEffectPeriodic
HookList< EffectApplyHandler > AfterEffectApply
HookList< EffectApplyHandler > OnEffectRemove
uint8 GetStackAmount() const
HookList< EffectApplyHandler > OnEffectApply
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void JustSummoned(Creature *summon) override
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void SetReactState(ReactStates st)
void DelayEvents(Milliseconds delay)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
virtual ObjectGuid GetGuidData(uint32 type) const override
PlayerList const & GetPlayers() const
void MoveChase(Unit *target, Optional< ChaseRange > dist={}, Optional< ChaseAngle > angle={})
void MovePoint(uint32 id, Position const &pos, bool generatePath=true, Optional< float > finalOrient={}, Optional< float > speed={}, MovementWalkRunSpeedSelectionMode speedSelectionMode=MovementWalkRunSpeedSelectionMode::Default, Optional< float > closeEnoughDistance={})
static Creature * ToCreature(Object *o)
static ObjectGuid GetGUID(Object const *o)
Unit * GetHitUnit() const
int32 GetEffectValue() const
HookList< EffectHandler > OnEffectHitTarget
SpellInfo const * GetSpellInfo() const
void Summon(Creature const *summon)
virtual void DoAction(int32)
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCastVictim(uint32 spellId, CastSpellExtraArgs const &args={})
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
SpellCastResult DoCastAOE(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCast(uint32 spellId)
void ApplySpellImmune(uint32 spellId, SpellImmunity op, uint32 type, bool apply)
void SetHealth(uint64 val)
void SetStandState(UnitStandStateType state, uint32 animKitID=0)
ThreatManager & GetThreatManager()
MotionMaster * GetMotionMaster()
void SetFacingToObject(WorldObject const *object, bool force=true)
void AddUnitMovementFlag(uint32 f)
bool HasUnitState(const uint32 f) const
void RemoveUnitMovementFlag(uint32 f)
void SetUnitFlag(UnitFlags flags)
Vehicle * GetVehicleKit() const
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
TempSummon * SummonCreature(uint32 entry, Position const &pos, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, uint32 vehId=0, uint32 spellId=0, ObjectGuid privateObjectOwner=ObjectGuid::Empty)
virtual uint32 GetData(uint32) const
void OnStackChange(AuraEffect const *, AuraEffectHandleModes)
void HandleEffectRemove(AuraEffect const *, AuraEffectHandleModes)
void HandleEffectApply(AuraEffect const *, AuraEffectHandleModes)
void HandlePeriodicTick(AuraEffect const *)
void HandleExtraEffect(AuraEffect const *, AuraEffectHandleModes)
void OnRemove(AuraEffect const *, AuraEffectHandleModes)
void OnApply(AuraEffect const *, AuraEffectHandleModes)
void HandleScriptEffect(SpellEffIndex)
TC_GAME_API Unit * GetUnit(WorldObject const &, ObjectGuid const &guid)
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
#define RegisterPitOfSaronCreatureAI(ai_name)
void ForceCombatStop(Creature *who, bool reset=true)
float GetThreat(Unit const *victim, Unit const *who=nullptr)
void ResetThreat(Unit *victim, Unit *who=nullptr)
void AddThreat(Unit *victim, float amount, Unit *who=nullptr)
boss_ick(Creature *creature)
ObjectGuid _oldTargetGUID
void DoAction(int32 actionId) override
void JustSummoned(Creature *summon) override
void JustEngagedWith(Unit *who) override
void JustDied(Unit *) override
void UpdateAI(uint32 diff) override
void UpdateAI(uint32 diff) override
void MovementInform(uint32 type, uint32 id) override
void JustSummoned(Creature *summon) override
void DoAction(int32 actionId) override
void KilledUnit(Unit *victim) override
InstanceScript * _instanceScript
boss_krick(Creature *creature)