44 {-2041.06f, 7042.08f, 29.99f, 1.30f},
45 {-1968.18f, 7042.11f, 21.93f, 2.12f},
46 {-1885.82f, 7107.36f, 22.32f, 3.07f},
47 {-1928.11f, 7175.95f, 22.11f, 3.44f}
166 if (medivh->IsAlive())
179 TC_LOG_DEBUG(
"scripts",
"Instance The Black Morass: Starting event.");
188 TC_LOG_DEBUG(
"scripts",
"Instance The Black Morass: Event completed.");
195 if (
Player* player = itr->GetSource())
253 TC_LOG_DEBUG(
"scripts",
"Instance The Black Morass: Summoning rift boss entry {}.", entry);
263 TC_LOG_DEBUG(
"scripts",
"Instance The Black Morass: What just happened there? No boss, no loot, no fun...");
276 TC_LOG_DEBUG(
"scripts",
"Instance The Black Morass: Creating Time Rift at locationId {} (old locationId was {}).", tmp,
_currentRiftId);
291 boss->GetThreatManager().AddThreat(temp, 0.0f);
324 if (nextPortalTime > 0s)
std::chrono::milliseconds Milliseconds
Milliseconds shorthand typedef.
#define TC_LOG_DEBUG(filterType__,...)
@ TEMPSUMMON_TIMED_OR_DEAD_DESPAWN
@ TEMPSUMMON_CORPSE_DESPAWN
@ QUEST_STATUS_INCOMPLETE
uint32 urand(uint32 min, uint32 max)
uint32 const EncounterCount
void DoUpdateWorldState(int32 worldStateId, int32 value)
void SetHeaders(std::string const &dataHeaders)
float GetHeight(PhaseShift const &phaseShift, float x, float y, float z, bool vmap=true, float maxSearchDist=DEFAULT_HEIGHT_SEARCH)
float GetWaterLevel(PhaseShift const &phaseShift, float x, float y)
PlayerList const & GetPlayers() const
Creature * GetCreature(ObjectGuid const &guid)
static ObjectGuid const Empty
static ObjectGuid GetGUID(Object const *o)
void AddThreat(Unit *target, float amount, SpellInfo const *spell=nullptr, bool ignoreModifiers=false, bool ignoreRedirects=false)
== AFFECT MY THREAT LIST ==
ThreatManager & GetThreatManager()
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
TempSummon * SummonCreature(uint32 entry, Position const &pos, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, uint32 vehId=0, uint32 spellId=0, ObjectGuid privateObjectOwner=ObjectGuid::Empty)
PhaseShift & GetPhaseShift()
Position GetRandomNearPosition(float radius)
InstanceScript * GetInstanceScript(InstanceMap *map) const override
instance_the_black_morass()
float PortalLocation[4][4]
void AddSC_instance_the_black_morass()
Milliseconds NextPortalTime
void OnCreatureCreate(Creature *creature) override
ObjectGuid GetGuidData(uint32 data) const override
void ScheduleEventNextPortal(Milliseconds nextPortalTime)
uint32 m_auiEncounter[EncounterCount]
bool IsEncounterInProgress() const override
instance_the_black_morass_InstanceMapScript(InstanceMap *map)
void Update(uint32 diff) override
Creature * SummonedPortalBoss(Creature *me)
uint32 GetData(uint32 type) const override
void SetData(uint32 type, uint32 data) override