fix(Core/Map): Dynamic respawns: preserve original respawn timer and skip rares (#21440)
This commit is contained in:
parent
db9b4cf0c6
commit
062f9c4341
4 changed files with 17 additions and 15 deletions
|
|
@ -897,8 +897,8 @@ void GameObject::Update(uint32 diff)
|
|||
return;
|
||||
}
|
||||
|
||||
GetMap()->ApplyDynamicModeRespawnScaling(this, m_respawnDelayTime);
|
||||
m_respawnTime = GameTime::GetGameTime().count() + m_respawnDelayTime;
|
||||
uint32 dynamicRespawnDelay = GetMap()->ApplyDynamicModeRespawnScaling(this, m_respawnDelayTime);
|
||||
m_respawnTime = GameTime::GetGameTime().count() + dynamicRespawnDelay;
|
||||
|
||||
// if option not set then object will be saved at grid unload
|
||||
if (GetMap()->IsDungeon())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue