mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #10123 from Novacat/nova-ert
Ports Chomp fix for Burn/brute nifsoft
This commit is contained in:
committed by
Chompstation Bot
parent
3e7c6d7261
commit
aa20186609
@@ -492,6 +492,7 @@ This function restores all organs.
|
||||
switch(damagetype)
|
||||
if(BRUTE)
|
||||
damageoverlaytemp = 20
|
||||
if(nif && nif.flag_check(NIF_C_BRUTEARMOR,NIF_FLAGS_COMBAT)){damage *= 0.7}
|
||||
damage = damage*species.brute_mod
|
||||
|
||||
for(var/datum/modifier/M in modifiers)
|
||||
@@ -504,6 +505,7 @@ This function restores all organs.
|
||||
UpdateDamageIcon()
|
||||
if(BURN)
|
||||
damageoverlaytemp = 20
|
||||
if(nif && nif.flag_check(NIF_C_BURNARMOR,NIF_FLAGS_COMBAT)){damage *= 0.7}
|
||||
damage = damage*species.burn_mod
|
||||
|
||||
for(var/datum/modifier/M in modifiers)
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
illegal = TRUE
|
||||
wear = 3
|
||||
access = 999 //Prevents anyone from buying it without an emag.
|
||||
activates = FALSE //It's armor.
|
||||
combat_flags = (NIF_C_BRUTEARMOR) // Default on when installed, clear when uninstalled
|
||||
|
||||
/datum/nifsoft/burn_armor
|
||||
@@ -19,7 +18,6 @@
|
||||
illegal = TRUE
|
||||
wear = 3
|
||||
access = 999 //Prevents anyone from buying it without an emag.
|
||||
activates = FALSE //It's armor.
|
||||
combat_flags = (NIF_C_BURNARMOR) // Default on when installed, clear when uninstalled
|
||||
|
||||
/datum/nifsoft/painkillers
|
||||
|
||||
Reference in New Issue
Block a user