204 for (
uint8 i = 0; i < RAID_MODE<uint8>(2, 4, 2, 4); i++)
291 for (
uint8 i = 0; i < RAID_MODE<uint8>(2, 4, 2, 4); i++)
322 if (
Unit* caster = triggerAura->GetCaster())
@ RAID_DIFFICULTY_10MAN_NORMAL
#define RegisterSpellScript(spell_script)
void AddSC_boss_baltharus_the_warborn()
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void _DespawnAtEvade(Seconds delayToRespawn=30s, Creature *who=nullptr)
void DoZoneInCombat(Creature *creature=nullptr)
void SetReactState(ReactStates st)
void Repeat(Milliseconds time)
bool IsInPhase(PhaseIndex phase) const
void SetPhase(PhaseIndex phase)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
Creature * GetCreature(uint32 type)
HookList< HitHandler > OnHit
SpellInfo const * GetTriggeringSpell() const
Unit * GetHitUnit() const
void Summon(Creature const *summon)
void DoZoneInCombat(uint32 entry=0)
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)
uint32 GetMaxHealth() const
void SetHealth(uint32 val)
bool HasUnitState(const uint32 f) const
bool HealthBelowPctDamaged(int32 pct, uint32 damage) const
static void Kill(Unit *attacker, Unit *victim, bool durabilityLoss=true)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
void setActive(bool isActiveObject)
void SetFarVisible(bool on)
virtual uint32 GetData(uint32) const
virtual void SetData(uint32, uint32)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
void HandleSiphonedMight()
bool Validate(SpellInfo const *) override
PrepareSpellScript(spell_baltharus_enervating_brand_trigger)
#define RegisterRubySanctumCreatureAI(ai_name)
@ DATA_CRYSTAL_CHANNEL_TARGET
@ DATA_BALTHARUS_SHARED_HEALTH
@ DATA_BALTHARUS_THE_WARBORN
@ NPC_BALTHARUS_THE_WARBORN_CLONE
Difficulty GetDifficulty() const
void JustSummoned(Creature *summon) override
void EnterEvadeMode(EvadeReason) override
void DoAction(int32 action) override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void UpdateAI(uint32 diff) override
void KilledUnit(Unit *victim) override
boss_baltharus_the_warborn(Creature *creature)
void JustEngagedWith(Unit *who) override
void JustDied(Unit *) override
void EnterEvadeMode(EvadeReason) override
npc_baltharus_the_warborn_clone(Creature *creature)
void JustDied(Unit *killer) override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void UpdateAI(uint32 diff) override
void JustEngagedWith(Unit *) override