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