Ups the chance a bit, makes it actually work

This commit is contained in:
KorPhaeron
2015-12-12 17:16:35 -06:00
parent 1f09a14f58
commit f1a254fc27
2 changed files with 4 additions and 4 deletions
@@ -220,8 +220,8 @@
update_icon()
/obj/item/weapon/flamethrower/hit_reaction(mob/living/carbon/human/owner, attack_text, damage, attack_type)
if(damage && attack_type == PROJECTILE_ATTACK && prob(5) && ptank)
/obj/item/weapon/flamethrower/hit_reaction(mob/living/carbon/human/owner, attack_text, final_block_chance, damage, attack_type)
if(ptank && damage && attack_type == PROJECTILE_ATTACK && prob(15))
owner.visible_message("<span class='danger'>[attack_text] hits the fueltank on [owner]'s [src], rupturing it! What a shot!</span>")
var/target_turf = get_turf(owner)
ignite_turf(target_turf, 100)
@@ -112,7 +112,7 @@
/obj/item/weapon/grenade/attack_paw(mob/user)
return attack_hand(user)
/obj/item/weapon/grenade/hit_reaction(mob/living/carbon/human/owner, attack_text, damage, attack_type)
if(damage && attack_type == PROJECTILE_ATTACK && prob(5))
/obj/item/weapon/grenade/hit_reaction(mob/living/carbon/human/owner, attack_text, final_block_chance, damage, attack_type)
if(damage && attack_type == PROJECTILE_ATTACK && prob(15))
owner.visible_message("<span class='danger'>[attack_text] hits [owner]'s [src], setting it off! What a shot!</span>")
prime()