ID:139458
 
Code:
obj
pushblast
icon='push.dmi'
density=1
invisibility=3
rundelay=0
var/T=0
Bump(A)
..()
if(ismob(A))
A:stepback(6)
if(owner:villskill2>=200)
if(owner:villskill2>=400)
projectile(owner,A,round(round(owner:pow/1.6)-(round(A:def/3))+rand(10,18)))
else projectile(owner,A,round(round(owner:pow/1.8)-(round(A:def/3))+rand(18,24)))
else
projectile(owner,A,round(round(owner:pow/2)-(round(A:def/3))+rand(6,12)))
if(istype(A,/turf/))del(src)
if(istype(A,/obj/))del(src)
Del()
new/obj/pushblast(loc)
..()
Move()
..()
T++
if(T>8)del src


Problem description:

When I use the skill to call forth the obj to shoot and hit people it works 50% of the time and also the obj doesnt delete itself it stays on the map and crates a barrior that cannot be moved unless deleted. So I was wonder if anyone could help with This problem.
Don't use ":", you aren't deleting it when it bumps a mob, and why are you creating a new one upon deletion?
In response to Emasym
I figured it out. I put in the wrong obj in the new/obj/pushblast(loc)

it was supposed to be an effect obj that created an icon when it deleted that 1.