mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Fixes delimber armor not doing anything (#67175)
* fixes delimber armor not doing anything
This commit is contained in:
@@ -150,7 +150,7 @@
|
||||
/obj/item/clothing/suit/armor/reactive/fire/reactive_activation(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK)
|
||||
owner.visible_message(span_danger("[src] blocks [attack_text], sending out jets of flame!"))
|
||||
playsound(get_turf(owner),'sound/magic/fireball.ogg', 100, TRUE)
|
||||
for(var/mob/living/carbon/carbon_victim in range(6, owner))
|
||||
for(var/mob/living/carbon/carbon_victim in range(6, get_turf(src)))
|
||||
if(carbon_victim != owner)
|
||||
carbon_victim.adjust_fire_stacks(8)
|
||||
carbon_victim.ignite_mob()
|
||||
@@ -425,7 +425,7 @@
|
||||
return TRUE
|
||||
|
||||
/obj/item/clothing/suit/armor/reactive/delimbering/proc/delimber_pulse(mob/living/carbon/human/owner, can_hit_owner = FALSE)
|
||||
for(var/mob/living/carbon/nearby in range(range, src))
|
||||
for(var/mob/living/carbon/nearby in range(range, get_turf(src)))
|
||||
if(!can_hit_owner && nearby == owner)
|
||||
continue
|
||||
if(nearby.run_armor_check(attack_flag = BIO, absorb_text = "Your armor protects you from [src]!") >= 100)
|
||||
|
||||
Reference in New Issue
Block a user