chore(Core/Players): Fix typo (#15552)

Update Player.cpp
This commit is contained in:
Gultask
2023-03-24 06:23:29 -03:00
committed by GitHub
parent 5e9b88a9a9
commit 9e6dcb9e08
+2 -2
View File
@@ -824,7 +824,7 @@ int32 Player::getMaxTimer(MirrorTimerType timer)
{ {
if (!IsAlive()) if (!IsAlive())
return DISABLED_MIRROR_TIMER; return DISABLED_MIRROR_TIMER;
return 2002; return 2020;
} }
default: default:
return 0; return 0;
@@ -920,7 +920,7 @@ void Player::HandleDrowning(uint32 time_diff)
m_MirrorTimer[FIRE_TIMER] -= time_diff; m_MirrorTimer[FIRE_TIMER] -= time_diff;
if (m_MirrorTimer[FIRE_TIMER] < 0) if (m_MirrorTimer[FIRE_TIMER] < 0)
{ {
m_MirrorTimer[FIRE_TIMER] += 2002; m_MirrorTimer[FIRE_TIMER] += 2020;
// Calculate and deal damage // Calculate and deal damage
/// @todo: Check this formula /// @todo: Check this formula
uint32 damage = urand(600, 700); uint32 damage = urand(600, 700);