mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-27 02:23:47 +00:00
fire_stacks decrease over time
This commit is contained in:
@@ -300,6 +300,9 @@
|
||||
if(fire_stacks < 0)
|
||||
fire_stacks = min(0, ++fire_stacks) //If we've doused ourselves in water to avoid fire, dry off slowly
|
||||
|
||||
if(fire_stacks > 0)
|
||||
fire_stacks = max(0, (fire_stacks-0.1)) //Should slowly burn out
|
||||
|
||||
if(!on_fire)
|
||||
return 1
|
||||
else if(fire_stacks <= 0)
|
||||
|
||||
Reference in New Issue
Block a user