mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Merge pull request #5740 from Ccomp5950/taser_slow_down
Tasers will now cause movement slow downs on the first hit
This commit is contained in:
@@ -13,9 +13,11 @@
|
|||||||
|
|
||||||
if(reagents.has_reagent("nuka_cola")) return -1
|
if(reagents.has_reagent("nuka_cola")) return -1
|
||||||
|
|
||||||
var/health_deficiency = (100 - health + halloss)
|
var/health_deficiency = (100 - health)
|
||||||
if(health_deficiency >= 40) tally += (health_deficiency / 25)
|
if(health_deficiency >= 40) tally += (health_deficiency / 25)
|
||||||
|
|
||||||
|
if(halloss >= 10) tally += (halloss / 10)
|
||||||
|
|
||||||
var/hungry = (500 - nutrition)/5 // So overeat would be 100 and default level would be 80
|
var/hungry = (500 - nutrition)/5 // So overeat would be 100 and default level would be 80
|
||||||
if (hungry >= 70) tally += hungry/50
|
if (hungry >= 70) tally += hungry/50
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user