Alternative fix for golem damage.

This commit is contained in:
Zuhayr
2015-02-28 17:08:30 +10:30
parent 14321003f1
commit a0452f3423
2 changed files with 4 additions and 4 deletions
@@ -35,8 +35,8 @@
/datum/unarmed_attack/bite
)
var/list/unarmed_attacks = null // For empty hand harm-intent attack
var/brute_mod = null // Physical damage reduction/malus.
var/burn_mod = null // Burn damage reduction/malus.
var/brute_mod = 1 // Physical damage multiplier.
var/burn_mod = 1 // Burn damage multiplier.
// Death vars.
var/gibber_type = /obj/effect/gibspawner/human
+2 -2
View File
@@ -84,8 +84,8 @@
if(istype(owner,/mob/living/carbon/human))
var/mob/living/carbon/human/H = owner
if(H.species && H.species.flags & IS_SYNTHETIC)
brmod = (!isnull(H.species.brute_mod) ? H.species.brute_mod : 1)
bumod = (!isnull(H.species.burn_mod) ? H.species.burn_mod : 1)
brmod = H.species.brute_mod
bumod = H.species.burn_mod
brute *= brmod //~2/3 damage for ROBOLIMBS
burn *= bumod //~2/3 damage for ROBOLIMBS