Fixes some issues with revs (#22308)

* fixes to revs

* Update code/game/objects/items/weapons/implants/implant_mindshield.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* UH OH.

---------

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
Contrabang
2023-09-10 10:02:16 -05:00
committed by GitHub
co-authored by Luc
parent c07d5ff0df
commit bb2b6d85fd
3 changed files with 10 additions and 11 deletions
@@ -102,7 +102,7 @@
var/sec_diminish = (8 - sec) / 3 // 2 seccies = 2, 5 seccies = 1, 8 seccies = 0
var/potential = round(heads - sec_diminish) // more sec, increases. more heads, increases
var/how_many_more_headrevs = clamp(potential, clamp_at, head_revolutionaries - max_headrevs)
var/how_many_more_headrevs = clamp(potential, clamp_at, max_headrevs - head_revolutionaries)
return how_many_more_headrevs