that might be all

This commit is contained in:
Putnam3145
2021-06-21 20:03:27 -07:00
parent fbbae70527
commit 630098c8aa
9 changed files with 88 additions and 64 deletions
@@ -124,7 +124,6 @@
points = min(points+cost, max_points)
/datum/boss_active_timed_battle/process()
SHOULD_NOT_SLEEP(FALSE) // it doesn't actually call anything that sleeps
if(world.time >= next_point_time && points < max_points)
next_point_time = world.time + point_regen_delay
points = min(max_points, points + point_regen_amount)
@@ -134,6 +133,10 @@
chance_to_hold_onto_points = highest_cost*0.5
if(points != max_points && prob(chance_to_hold_onto_points))
return //Let's save our points for a better ability (unless we're at max points, in which case we can't save anymore!)
do_ability()
/datum/boss_active_timed_battle/proc/do_ability()
set waitfor = FALSE
if(!boss.client)
abilities = shuffle(abilities)
for(var/ab in abilities)