Replaces "specflags" with "species_traits" (#21851)

* Replaces "specflags" with "species_traits"

* this will do
This commit is contained in:
Joan Lung
2016-12-01 21:16:33 +13:00
committed by oranges
parent d3fe2d6974
commit a5ae025549
41 changed files with 167 additions and 167 deletions
+1 -1
View File
@@ -143,7 +143,7 @@
if(!H.shoes && !H.lying) //ouch, my feet.
var/picked_def_zone = pick("l_leg", "r_leg")
var/obj/item/bodypart/O = H.get_bodypart(picked_def_zone)
if(!istype(O) || (PIERCEIMMUNE in H.dna.species.specflags))
if(!istype(O) || (PIERCEIMMUNE in H.dna.species.species_traits))
return
H.apply_damage(rand(3, 6), BRUTE, picked_def_zone)
H.Weaken(2)