ID:266689
 
i hav ethis

var/list/spells = list("Fireball")
mob/proc/Spell(M as mob in oview(10))
if("Fireball")
var/O = get_step(src,src.dir)
var/obj/S = new/obj/fireball(O)
walk(S,src.dir,0)
obj/fireball
Bump(atom/A)
if(istype(A,/turf/wal))
flick("boomie",A)
del(A)
but when it hits a wall it dusnt stop how do i ix this
If the fireball isn't dense, it doesn't Bump() into anything. It has to be dense. If you don't want it dense, you can use Enter().
In response to Garthor
i made it dense but it stiill dusnt werk
VERY EVIL GUY wrote:
if(istype(A,/turf/wal))

I don't know what your icons are called, but if your wall isn't called 'wal', then that may be the problem.