90 std::list<GameObject*> eggs;
95 egg->UpdateObjectVisibility(
true);
179 Unit* target =
nullptr;
232 marli->AI()->JustSummoned(creature);
#define RegisterSpellScript(spell_script)
@ TARGET_GAMEOBJECT_DEST_AREA
#define SpellObjectAreaTargetSelectFn(F, I, N)
@ UNIT_MOD_DAMAGE_MAINHAND
float const DamageIncrease
float const DamageDecrease
@ EVENT_SPAWN_START_SPIDERS
void JustEngagedWith(Unit *who) override
bool IsInPhase(PhaseIndex phase) const
void CancelEvent(EventId eventId)
void SetPhase(PhaseIndex phase)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
void SetRespawnCompatibilityMode(bool mode=true)
Creature * GetCreature(uint32 type)
SpellInfo const * GetSpellInfo() const
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
void Summon(Creature const *summon)
void DoMeleeAttackIfReady()
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 AttackStart(Unit *)
SpellCastResult DoCastAOE(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCast(uint32 spellId)
void RemoveAura(AuraApplicationMap::iterator &i, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT)
void ApplyStatPctModifier(UnitMods unitMod, UnitModifierPctType modifierType, float amount)
Powers GetPowerType() const
bool HasUnitState(const uint32 f) const
void GetGameObjectListWithEntryInGrid(Container &gameObjectContainer, uint32 entry, float maxSearchRange=250.0f) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
PrepareSpellScript(spell_hatch_spiders)
void HandleObjectAreaTargetSelect(std::list< WorldObject * > &targets)
void AttackStart(Unit *) override
float GetThreat(Unit const *victim, Unit const *who=nullptr)
void ModifyThreatByPercent(Unit *victim, int32 pct, Unit *who=nullptr)
void UpdateAI(uint32 diff) override
boss_marli(Creature *creature)
void JustDied(Unit *) override
void JustEngagedWith(Unit *who) override
void JustSummoned(Creature *creature) override
void JustSummoned(Creature *creature) override
InstanceScript *const _instance
gob_spider_egg(GameObject *gob)
void UpdateAI(uint32 diff) override
npc_spawn_of_marli(Creature *creature)
#define RegisterZulGurubCreatureAI(ai_name)
#define RegisterZulGurubGameObjectAI(ai_name)