273 caster->DespawnOrUnsummon(
Seconds(1));
std::chrono::seconds Seconds
Seconds shorthand typedef.
std::set< ObjectGuid > GuidSet
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ SPELL_EFFECT_SCHOOL_DAMAGE
#define SpellEffectFn(F, I, N)
@ SPELL_STAMPEDE_SPIRIT_2
@ SPELL_HEARTH_BEAM_VISUAL
@ SPELL_STAMPEDE_SPIRIT_CHARGE
@ SPELL_IMPALING_CHARGE_CONTROL_VEHICLE
void AddSC_boss_gal_darah()
void JustEngagedWith(Unit *who) override
void JustSummoned(Creature *summon) override
void _DespawnAtEvade(Seconds delayToRespawn=30s, Creature *who=nullptr)
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
bool _EnterEvadeMode(EvadeReason why=EvadeReason::Other)
void Repeat(Milliseconds time)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
bool IsInPhase(uint8 phase) const
void SetPhase(uint8 phase)
static Creature * ToCreature(Object *o)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
HookList< HitHandler > OnHit
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
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)
virtual void SetGUID(ObjectGuid const &, int32=0)
SpellCastResult DoCastAOE(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCast(uint32 spellId)
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid=0, bool withInstant=true)
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={ })
achievement_share_the_love()
bool OnCheck(Player *, Unit *target) override
void HandleScript(SpellEffIndex)
bool Validate(SpellInfo const *) override
bool Validate(SpellInfo const *) override
void HandleScript(SpellEffIndex)
void OnHit(SpellEffIndex)
#define RegisterGundrakCreatureAI(ai_name)
TC_GAME_API Unit * GetUnit(WorldObject const &, ObjectGuid const &guid)
boss_gal_darah(Creature *creature)
void JustDied(Unit *) override
void SetGUID(ObjectGuid const &guid, int32 id) override
void JustSummoned(Creature *summon) override
void ExecuteEvent(uint32 eventId) override
void EnterEvadeMode(EvadeReason) override
uint32 GetData(uint32 type) const override
void KilledUnit(Unit *victim) override
void SetPhase(CombatPhase phase)
void JustEngagedWith(Unit *who) override
void SpellHit(WorldObject *, SpellInfo const *spellInfo) override