Bump(mob/M)
..()
var/mob/L = src.owner
if(!istype(M, /mob)) return
if(M.monster||M.player)
if(M.shing)
M.shing -= 1
walk(src,M.dir,2)
return
if(M.blocking==1)
src.owner<<output("You Block [L]s Attack")
M.blocking = 0
usr.overlays -= image('Spells2.dmi',"block")
del(src)
return
else
src.owner<<output("Your [src] does [L.Str] damage to the [M]","chat")
M.hp-= L.Str
M.Death_Check(src.owner)
M.overlays += image('Spells2.dmi',"b effect")
del(src)
else
del(src)
Problem description:
I want to add spell effects to my game so the it freezes you with a ice efffect for a set amount of time then unfreezes you and the ice dissapears " Can any one show me a better way to do this .