Core/Instances: Fix combat resurrection charge gain
This commit is contained in:
@@ -735,12 +735,10 @@ namespace Game.Maps
|
|||||||
if (!_combatResurrectionTimerStarted)
|
if (!_combatResurrectionTimerStarted)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
_combatResurrectionTimer -= diff;
|
if (_combatResurrectionTimer <= diff)
|
||||||
if (_combatResurrectionTimer <= 0)
|
|
||||||
{
|
|
||||||
AddCombatResurrectionCharge();
|
AddCombatResurrectionCharge();
|
||||||
_combatResurrectionTimerStarted = false;
|
else
|
||||||
}
|
_combatResurrectionTimer -= diff;
|
||||||
}
|
}
|
||||||
|
|
||||||
void InitializeCombatResurrections(byte charges = 1, uint interval = 0)
|
void InitializeCombatResurrections(byte charges = 1, uint interval = 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user