357 solarian->AI()->JustSummoned(
me);
430 solarian->AI()->JustSummoned(
me);
std::vector< ObjectGuid > GuidVector
#define RegisterSpellScript(spell_script)
@ AURA_EFFECT_HANDLE_REAL
@ SPELL_AURA_PERIODIC_TRIGGER_SPELL
#define AuraEffectRemoveFn(F, I, N, M)
static constexpr std::array< uint32, 4 > SplitLargeRadiusSpells2
void AddSC_boss_high_astromancer_solarian()
@ EVENT_WRATH_OF_THE_ASTROMANCER
static constexpr std::array< uint32, 4 > SplitLargeRadiusSpells1
@ SPELL_ASTROMANCER_SPLIT_LARGE_5
@ SPELL_ASTROMANCER_SPLIT_LARGE_4
@ SPELL_ASTROMANCER_SPLIT_SMALL_2
@ SPELL_SOLARIAN_TRANSFORM
@ SPELL_ASTROMANCER_SPLIT_LARGE_8
@ SPELL_ASTROMANCER_SPLIT_LARGE_6
@ SPELL_ASTROMANCER_SPLIT_LARGE_1
@ SPELL_SUMMON_ASTROMANCER_SOLARIAN
@ SPELL_ASTROMANCER_SPLIT_LARGE_3
@ SPELL_ASTROMANCER_SPLIT_SMALL_4
@ SPELL_SUMMON_ASTROMANCER_PRIEST
@ SPELL_SUMMON_ASTROMANCER_ADDS
@ SPELL_ASTROMANCER_SPLIT_SMALL_3
@ SPELL_ASTROMANCER_SPLIT_SMALL_1
@ SPELL_WRATH_OF_THE_ASTROMANCER
@ SPELL_ASTROMANCER_SPLIT_LARGE_2
@ SPELL_ASTROMANCER_SPLIT_LARGE_7
static constexpr std::array< uint32, 4 > SplitSmallRadiusSpells
static constexpr std::array< uint32, 3 > SpotlightSummonSpells
AuraApplication const * GetTargetApplication() const
HookList< EffectApplyHandler > AfterEffectRemove
SpellEffectInfo const & GetEffectInfo(SpellEffIndex effIndex) const
void JustEngagedWith(Unit *who) override
void DoZoneInCombat(Creature *creature=nullptr)
void CallForHelp(float fRadius)
void GetHomePosition(float &x, float &y, float &z, float &ori) const
void SetReactState(ReactStates st)
void SetRegenerateHealth(bool value)
ReactStates GetReactState() const
void SetCorpseDelay(uint32 delay, bool ignoreCorpseDecayRatio=false)
void Repeat(Milliseconds time)
void CancelEvent(EventId eventId)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
Creature * GetCreature(uint32 type)
static ObjectGuid GetGUID(Object const *o)
int32 CalcValue(WorldObject const *caster=nullptr, int32 const *basePoints=nullptr) const
SpellEffectInfo const & GetEffect(SpellEffIndex index) const
void Summon(Creature const *summon)
TaskContext & Repeat(std::chrono::duration< _Rep, _Period > const &duration)
TaskScheduler & CancelAll()
TaskScheduler & Update(success_t const &callback=EmptyCallback)
TaskScheduler & SetValidator(P &&predicate)
Sets a validator which is asked if tasks are allowed to be executed.
void AttackStartCaster(Unit *victim, float dist)
void DoMeleeAttackIfReady()
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
virtual void InitializeAI()
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 NearTeleportTo(Position const &pos, bool casting=false)
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
bool HasUnitState(const uint32 f) const
bool HealthBelowPctDamaged(int32 pct, uint32 damage) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
bool Validate(SpellInfo const *spellInfo) override
void AfterRemove(AuraEffect const *, AuraEffectHandleModes)
PrepareAuraScript(spell_astromancer_wrath_of_the_astromancer)
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
void RandomShuffle(C &container)
Reorder the elements of the container randomly.
auto SelectRandomContainerElement(C const &container) -> typename std::add_const< decltype(*std::begin(container))>::type &
Unit * DoSelectLowestHpFriendly(float range, uint32 minHPDiff=1)
void AddThreat(Unit *victim, float amount, Unit *who=nullptr)
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void UpdateAI(uint32 diff) override
void KilledUnit(Unit *) override
void JustDied(Unit *) override
GuidVector _spotlightsGuidVector
boss_high_astromancer_solarian(Creature *creature)
bool _isSecondPhaseStarted
void JustEngagedWith(Unit *who) override
void JustSummoned(Creature *summon) override
InstanceScript * _instance
void InitializeAI() override
npc_solarium_agent(Creature *creature)
void JustAppeared() override
void UpdateAI(uint32 diff) override
InstanceScript * _instance
void InitializeAI() override
npc_solarium_priest(Creature *creature)
void JustEngagedWith(Unit *) override
void AttackStart(Unit *who) override
void JustAppeared() override
#define RegisterTheEyeCreatureAI(ai_name)