mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-01-20 02:24:45 +00:00
resolutions 5; timeSurge -> timeDL (#299)
This commit is contained in:
parent
0ece5cda61
commit
1b26396bb3
|
|
@ -3896,7 +3896,7 @@ class WorldSessionActor extends Actor with MDCContextAware {
|
|||
if(implantsAreActive && hadStaminaBefore) {
|
||||
val time = System.currentTimeMillis()
|
||||
if(timeDL != 0) {
|
||||
val duration = time - timeSurge
|
||||
val duration = time - timeDL
|
||||
if(duration > 500) {
|
||||
val units = (duration / 500).toInt
|
||||
player.Stamina = player.Stamina - units
|
||||
|
|
|
|||
Loading…
Reference in a new issue