permafat damage

This commit is contained in:
Metis
2024-12-19 15:07:57 -05:00
parent 05284d7e0a
commit f3486be292
3 changed files with 12 additions and 0 deletions
+2
View File
@@ -277,5 +277,7 @@
// GS13 EDIT
#define FAT "fat"
#define PERMA_FAT "perma_fat"
/// What is the rate that one damage is converted to fatness?
#define FAT_DAMAGE_TO_FATNESS 4
#define PERMA_FAT_DAMAGE_TO_FATNESS 4
@@ -2325,6 +2325,8 @@ GLOBAL_LIST_EMPTY(roundstart_race_names)
// GS13 EDIT
if(FAT)
H.applyFatnessDamage(damage * hit_percent)
if(PERMA_FAT)
H.applyPermaFatnessDamage(damage * hit_percent)
return TRUE