470 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_UNINTERACTIBLE
@ ACTION_START_UNDEAD_PHASE
@ SPELL_CLEAR_ALL_DEBUFFS
@ SPELL_INGVAR_FEIGN_DEATH
@ SPELL_ETHEREAL_TELEPORT
@ SPELL_SCOURGE_RESURRECTION_CHANNEL
@ SPELL_WOE_STRIKE_EFFECT
@ SPELL_SCOURGE_RESURRECTION_VISUAL
@ SPELL_SCOURGE_RESURRECTION_HEAL
void AddSC_boss_ingvar_the_plunderer()
void PreventDefaultAction()
HookList< CheckProcHandler > DoCheckProc
HookList< EffectProcHandler > OnEffectProc
void JustEngagedWith(Unit *who) override
void DoZoneInCombat(Creature *creature=nullptr)
void LoadEquipment(int8 id=1, bool force=false)
void SetReactState(ReactStates st)
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
bool UpdateEntry(uint32 entry, CreatureData const *data=nullptr, bool updateLevel=true)
void Repeat(Milliseconds time)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
virtual ObjectGuid GetGuidData(uint32 type) const override
void MovePoint(uint32 id, Position const &pos, bool generatePath=true, Optional< float > finalOrient={})
HealInfo * GetHealInfo() const
HookList< DestinationTargetSelectHandler > OnDestinationTargetSelect
TaskScheduler & Schedule(std::chrono::duration< _Rep, _Period > const &time, task_handler_t const &task)
TaskScheduler & Update(success_t const &callback=EmptyCallback)
void DoMeleeAttackIfReady()
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 DoCast(uint32 spellId)
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid=0, bool withInstant=true)
MotionMaster * GetMotionMaster()
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
bool HasUnitState(const uint32 f) const
void SetUnitFlag(UnitFlags flags)
void RemoveUnitFlag(UnitFlags flags)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
void SetDest(SpellDestination &dest)
PrepareSpellScript(spell_ingvar_summon_banshee)
PrepareAuraScript(spell_ingvar_woe_strike)
void HandleProc(AuraEffect const *aurEff, ProcEventInfo &eventInfo)
bool Validate(SpellInfo const *) override
bool CheckProc(ProcEventInfo &eventInfo)
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
Position GetPositionWithOffset(Position const &offset) const
void SetEquipmentSlots(bool loadDefault, int32 mainHand=EQUIP_NO_CHANGE, int32 offHand=EQUIP_NO_CHANGE, int32 ranged=EQUIP_NO_CHANGE)
void RelocateOffset(Position const &offset)
boss_ingvar_the_plunderer(Creature *creature)
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void OnSpellStart(SpellInfo const *spell) override
void UpdateAI(uint32 diff) override
void OnSpellCast(SpellInfo const *spell) override
void JustEngagedWith(Unit *who) override
void JustDied(Unit *) override
void KilledUnit(Unit *) override
void DoAction(int32 action) override
InstanceScript * _instance
void JustAppeared() override
void UpdateAI(uint32 diff) override
npc_annhylde_the_caller(Creature *creature)
void MovementInform(uint32 type, uint32 id) override
void JustAppeared() override
npc_ingvar_throw_dummy(Creature *creature)
InstanceScript * _instance
void UpdateAI(uint32 diff) override
void MovementInform(uint32 type, uint32 id) override
#define RegisterUtgardeKeepCreatureAI(ai_name)