getpercentaroused a little more sane to read

This commit is contained in:
sarcoph
2022-05-05 03:07:13 -08:00
parent 975eec7503
commit 03bf3afede
@@ -112,7 +112,7 @@
* despite the name of this, it actually returns a number between 0 and 100
*/
/mob/living/proc/getPercentAroused()
var/percentage = ((100 / max_arousal) * arousalloss)
var/percentage = ((arousalloss / max_arousal) * 100)
return percentage
/mob/living/proc/isPercentAroused(percentage)//returns true if the mob's arousal (measured in a percent of 100) is greater than the arg percentage.