358 target->GetPosition(x, y, z);
360 target->DespawnOrUnsummon();
401 if (!healInfo || !healInfo->
GetHeal())
#define RegisterSpellScript(spell_script)
@ TARGET_DEST_CASTER_BACK
@ SPELL_AURA_PROC_TRIGGER_SPELL
#define AuraEffectProcFn(F, I, N)
#define SpellDestinationTargetSelectFn(F, I, N)
#define AuraCheckProcFn(F)
@ UNIT_FLAG_NON_ATTACKABLE
@ SPELL_SCOURG_RESURRECTION_BEAM
@ SPELL_SHADOW_AXE_SUMMON
@ SPELL_INGVAR_FEIGN_DEATH
@ SPELL_WOE_STRIKE_EFFECT
@ SPELL_SCOURG_RESURRECTION
@ SPELL_SCOURG_RESURRECTION_DUMMY
@ SPELL_SHADOW_AXE_PERIODIC_DAMAGE
@ SPELL_SCOURG_RESURRECTION_HEAL
void AddSC_boss_ingvar_the_plunderer()
void PreventDefaultAction()
HookList< CheckProcHandler > DoCheckProc
HookList< EffectProcHandler > OnEffectProc
void JustEngagedWith(Unit *who) override
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void SetImmuneToPC(bool apply) override
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
bool UpdateEntry(uint32 entry, CreatureData const *data=nullptr, bool updateLevel=true)
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 MovePoint(uint32 id, Position const &pos, bool generatePath=true, Optional< float > finalOrient={}, Optional< float > speed={}, MovementWalkRunSpeedSelectionMode speedSelectionMode=MovementWalkRunSpeedSelectionMode::Default, Optional< float > closeEnoughDistance={})
void MoveCharge(float x, float y, float z, float speed=SPEED_CHARGE, uint32 id=EVENT_CHARGE, bool generatePath=false, Unit const *target=nullptr, Movement::SpellEffectExtraData const *spellEffectExtraData=nullptr)
HealInfo * GetHealInfo() const
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
HookList< DestinationTargetSelectHandler > OnDestinationTargetSelect
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 RemoveAura(AuraApplicationMap::iterator &i, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT)
MotionMaster * GetMotionMaster()
void SetUninteractible(bool apply)
bool HasUnitState(const uint32 f) const
void SetUnitFlag(UnitFlags flags)
void RemoveUnitFlag(UnitFlags flags)
InstanceScript * GetInstanceScript() const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
void SetDest(SpellDestination &dest)
void HandleProc(AuraEffect *aurEff, ProcEventInfo &eventInfo)
bool Validate(SpellInfo const *) override
bool CheckProc(ProcEventInfo &eventInfo)
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
constexpr void GetPosition(float &x, float &y) const
void AttackStart(Unit *) override
== Triggered Actions Requested ==================
void RelocateOffset(Position const &offset)
boss_ingvar_the_plunderer(Creature *creature)
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void KilledUnit(Unit *who) override
void UpdateAI(uint32 diff) override
void ScheduleSecondPhase()
void DoAction(int32 actionId) override
void JustEngagedWith(Unit *who) override
void JustDied(Unit *) override
void AttackStart(Unit *who) override
== Triggered Actions Requested ==================
InstanceScript * _instance
void UpdateAI(uint32 diff) override
npc_annhylde_the_caller(Creature *creature)
void MoveInLineOfSight(Unit *) override
void MovementInform(uint32 type, uint32 id) override
void JustEngagedWith(Unit *) override
void AttackStart(Unit *) override
== Triggered Actions Requested ==================
npc_ingvar_throw_dummy(Creature *creature)
void MovementInform(uint32 type, uint32 id) override
#define RegisterUtgardeKeepCreatureAI(ai_name)