Update medbeam.dm (#17834)

This commit is contained in:
ynot01
2023-02-10 00:58:33 -05:00
committed by GitHub
parent d5b72b2259
commit a00b6ce757

View File

@@ -166,10 +166,10 @@
if(current_target && !ubering) if(current_target && !ubering)
if(current_target.health == current_target.maxHealth) 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) if(current_target.health < current_target.maxHealth)
ubercharge += 2.5*delta_time/10 // 40 seconds ubercharge += 2.5*delta_time // 40 seconds
if(ubering) if(ubering)
// No uber flashing // No uber flashing
@@ -177,7 +177,7 @@
uber_act() uber_act()
ubercharge = 0 ubercharge = 0
else else
ubercharge -= 12.5*delta_time/10 ubercharge -= 12.5*delta_time // 8 second uber
if(ubercharge <= 0) if(ubercharge <= 0)
uber_act() uber_act()