obj
proc
HitFireArr(mob/O)
sleep(1)
O.hp-=20
O.deathcheck()
O.burning=1
O.burncheck()
O.overlays+=/obj/fire
view()<<"[O.name] gets hit with an arrow for 20 damage, and they begin to burn!"
del(src)
obj
firearrow
icon='Projectiles.dmi'
icon_state="FireArrow"
density=1
New(mob/M)
loc=M.loc
dir=M.dir
FireArr()
return ..()
Bump(atom/O)
if(O.name=="Water")
src.density=0
sleep(3)
src.density=1
else
HitFireArr(O)
Problem description: The fire arrow shoots alright, but when it makes contact with something, it keeps hitting them and they get constantly burned. Can someone help make the arrow disappear when it hits something?