Core/Players: Fix resurrection timer missing if logging in while dead
Port From (https://github.com/TrinityCore/TrinityCore/commit/781fe731dd8b438a9988347f68e09b5216b07652)
This commit is contained in:
@@ -947,6 +947,10 @@ namespace Game
|
|||||||
pCurrChar.CastSpell(pCurrChar, 8326, new CastSpellExtraArgs(true)); // auras SPELL_AURA_GHOST, SPELL_AURA_INCREASE_SPEED(why?), SPELL_AURA_INCREASE_SWIM_SPEED(why?)
|
pCurrChar.CastSpell(pCurrChar, 8326, new CastSpellExtraArgs(true)); // auras SPELL_AURA_GHOST, SPELL_AURA_INCREASE_SPEED(why?), SPELL_AURA_INCREASE_SWIM_SPEED(why?)
|
||||||
|
|
||||||
pCurrChar.SetWaterWalking(true);
|
pCurrChar.SetWaterWalking(true);
|
||||||
|
|
||||||
|
int delay = pCurrChar.CalculateCorpseReclaimDelay(true);
|
||||||
|
if (delay > 0)
|
||||||
|
pCurrChar.SendCorpseReclaimDelay(delay);
|
||||||
}
|
}
|
||||||
|
|
||||||
pCurrChar.ContinueTaxiFlight();
|
pCurrChar.ContinueTaxiFlight();
|
||||||
|
|||||||
Reference in New Issue
Block a user