246 {
249 {
253
257 return true;
258 }
259
260 return false;
261 }
constexpr auto DAY
Definition: Common.h:49
bool roll_chance_i(int chance)
Definition: Random.h:59
@ ACTION_START_EVENT
Definition: boss_lurker_below.cpp:44
@ SPELL_LURKER_SPAWN_TRIGGER
Definition: boss_lurker_below.cpp:35
@ NPC_THE_LURKER_BELOW
Definition: serpent_shrine.h:50
@ DATA_THE_LURKER_BELOW
Definition: serpent_shrine.h:30
@ DONE
Definition: InstanceScript.h:60
@ TEMPSUMMON_MANUAL_DESPAWN
Definition: Object.h:52
Definition: Creature.h:43
void SetRespawnDelay(int32 respawn)
Definition: GameObject.cpp:1313
void DespawnOrUnsummon(Milliseconds delay=0ms, Seconds forcedRespawnTime=0s)
Definition: GameObject.cpp:933
void SaveRespawnTime() override
Definition: GameObject.h:244
TempSummon * SummonCreature(uint32 id, const Position &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0, SummonPropertiesEntry const *properties=nullptr, bool visibleBySummonerOnly=false) const
Definition: Object.cpp:2355
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1192
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1167
Definition: InstanceScript.h:142