mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +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)
|
switch(damagetype)
|
||||||
if(BRUTE)
|
if(BRUTE)
|
||||||
damageoverlaytemp = 20
|
damageoverlaytemp = 20
|
||||||
|
if(nif && nif.flag_check(NIF_C_BRUTEARMOR,NIF_FLAGS_COMBAT)){damage *= 0.7}
|
||||||
damage = damage*species.brute_mod
|
damage = damage*species.brute_mod
|
||||||
|
|
||||||
for(var/datum/modifier/M in modifiers)
|
for(var/datum/modifier/M in modifiers)
|
||||||
@@ -504,6 +505,7 @@ This function restores all organs.
|
|||||||
UpdateDamageIcon()
|
UpdateDamageIcon()
|
||||||
if(BURN)
|
if(BURN)
|
||||||
damageoverlaytemp = 20
|
damageoverlaytemp = 20
|
||||||
|
if(nif && nif.flag_check(NIF_C_BURNARMOR,NIF_FLAGS_COMBAT)){damage *= 0.7}
|
||||||
damage = damage*species.burn_mod
|
damage = damage*species.burn_mod
|
||||||
|
|
||||||
for(var/datum/modifier/M in modifiers)
|
for(var/datum/modifier/M in modifiers)
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
illegal = TRUE
|
illegal = TRUE
|
||||||
wear = 3
|
wear = 3
|
||||||
access = 999 //Prevents anyone from buying it without an emag.
|
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
|
combat_flags = (NIF_C_BRUTEARMOR) // Default on when installed, clear when uninstalled
|
||||||
|
|
||||||
/datum/nifsoft/burn_armor
|
/datum/nifsoft/burn_armor
|
||||||
@@ -19,7 +18,6 @@
|
|||||||
illegal = TRUE
|
illegal = TRUE
|
||||||
wear = 3
|
wear = 3
|
||||||
access = 999 //Prevents anyone from buying it without an emag.
|
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
|
combat_flags = (NIF_C_BURNARMOR) // Default on when installed, clear when uninstalled
|
||||||
|
|
||||||
/datum/nifsoft/painkillers
|
/datum/nifsoft/painkillers
|
||||||
|
|||||||
Reference in New Issue
Block a user