code/datums/components/splattercasting.dm
COOLDOWN_TO_BLOOD_RATIO | how much we multiply cooldown (deciseconds) by to get the amount of blood to remove. BLOOD_VOLUME_NORMAL is 560, expensive spells max out at around 60 seconds which is 600 deciseconds removing 9/10ths of the cooldown from that puts us at 540 deciseconds, mult by 0.5 gives 270 blood taken one second is worth 5 blood, roughly half of your normal amount of blood taken for a huge spell, seems fair |
---|---|
/datum/component/splattercasting | Component that makes casted spells cost blood from the user and dramatically lowers their cooldown. |
Define Details
COOLDOWN_TO_BLOOD_RATIO
how much we multiply cooldown (deciseconds) by to get the amount of blood to remove. BLOOD_VOLUME_NORMAL is 560, expensive spells max out at around 60 seconds which is 600 deciseconds removing 9/10ths of the cooldown from that puts us at 540 deciseconds, mult by 0.5 gives 270 blood taken one second is worth 5 blood, roughly half of your normal amount of blood taken for a huge spell, seems fair