new clamp

This commit is contained in:
Putnam
2020-04-24 16:18:34 -07:00
parent 95d1a25df7
commit 17f6099013
2 changed files with 2 additions and 1 deletions
@@ -115,7 +115,7 @@ Property weights are:
return 100
var/threat_perc = mode.threat/mode.threat_level
return CLAMP(round(100*(1-(threat_perc*threat_perc))**2,1),0,100)
return clamp(round(100*(1-(threat_perc*threat_perc))**2,1),0,100)
/datum/dynamic_storyteller/proc/roundstart_draft()
var/list/drafted_rules = list()
+1
View File
@@ -518,6 +518,7 @@
#include "code\datums\elements\mob_holder.dm"
#include "code\datums\elements\polychromic.dm"
#include "code\datums\elements\spellcasting.dm"
#include "code\datums\elements\squish.dm"
#include "code\datums\elements\swimming.dm"
#include "code\datums\elements\sword_point.dm"
#include "code\datums\elements\update_icon_blocker.dm"