mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Update medbeam.dm (#17834)
This commit is contained in:
@@ -166,10 +166,10 @@
|
||||
if(current_target && !ubering)
|
||||
|
||||
if(current_target.health == current_target.maxHealth)
|
||||
ubercharge += 1.25*delta_time/10 // 80 seconds
|
||||
ubercharge += 1.25*delta_time // 80 seconds
|
||||
|
||||
if(current_target.health < current_target.maxHealth)
|
||||
ubercharge += 2.5*delta_time/10 // 40 seconds
|
||||
ubercharge += 2.5*delta_time // 40 seconds
|
||||
|
||||
if(ubering)
|
||||
// No uber flashing
|
||||
@@ -177,7 +177,7 @@
|
||||
uber_act()
|
||||
ubercharge = 0
|
||||
else
|
||||
ubercharge -= 12.5*delta_time/10
|
||||
ubercharge -= 12.5*delta_time // 8 second uber
|
||||
if(ubercharge <= 0)
|
||||
uber_act()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user