tweaks EMP act

now deals 25 fire damage and ignites the owner with a full 20 firestacks. not an instant kill. also forcibly retracts the item should it be out at the time of EMP.
This commit is contained in:
PKPenguin321
2015-12-24 14:51:50 -08:00
parent ab2158d8e0
commit 3de92a2fb2
@@ -288,13 +288,18 @@
if(!owner)//ensure that it's in an owner, then...
return
if(overloaded == 0)//make sure this is the first time it's been EMPed, and...
if(out == 1)//check if he has the item out...
owner.unEquip(holder, 1)//if he does, take it away.
holder.loc = null
out = 0
owner.visible_message("<span class='notice'>[holder] forcibly retracts into your arm.</span>")
owner.visible_message("<span class='danger'>A loud bang comes from [owner]...</span>")
playsound(get_turf(owner), 'sound/weapons/flashbang.ogg', 100, 1)
owner << "<span class='warning'>You feel an explosion erupt inside your chest. Is it hot in here?</span>"
owner << "<span class='warning'>You feel an explosion erupt inside you as your chest implant breaks. Is it hot in here?</span>"
owner.adjust_fire_stacks(20)
owner.IgniteMob()
owner.IgniteMob()//ignite the owner, and then...
owner.say("AUUUUUUUUUUUUUUUUUUGH!!")
owner.adjustFireLoss(10000)//kill the owner!
owner.adjustFireLoss(25)//severely injure him!
overloaded = 1//then make sure this can't happen again by breaking the implant.
else
return