obj/trail1
New() //When it gets created,
..()
spawn(50)del(src) //it deletes in 5 seconds.
obj/trail
New() //When it gets created,
..()
spawn(50)del(src) //it deletes in 5 seconds.
obj/projectile1
Move()
..()
var/obj/trail/t=new(loc)
t.dir=dir
obj/trail1
icon = 'Cero.dmi'
icon_state = "CeroHead"
var/mob/Z
New(location, owner) // this is for
Z = owner
..()
Bump(atom/A) // when it bumps something
if(ismob(A)) // if it is a mob, damage the mob
var/mob/M = A
var/damage = round(Z.Reiatsu*0.10)
M.Health -= damage
sleep(25)
del(src)
obj/projectile
Move()
..()
var/obj/trail/t=new(loc)
t.dir=dir
obj/trail
icon = 'Cero.dmi'
var/mob/Z
New(location, owner) // this is for
Z = owner
..()
Bump(atom/A) // when it bumps something
if(ismob(A)) // if it is a mob, damage the mob
var/mob/M = A
var/damage = round(Z.Reiatsu*0.10)
M.Health -= damage
sleep(25)
del(src)
mob
verb
Cero()
set category = "Zanpaktou Ability"
set name = "Cero"
if(src.Doing==1)
return
if(src.Reiatsu <= 800)
return
var/obj/projectile1/E2 = new /obj/projectile1 (src.loc, src)
sleep(5)
var/obj/projectile/E1 = new /obj/projectile (src.loc, src)
E1.loc = usr.loc
E1.dir = usr.dir
E1.name="[usr]"
walk(E1,usr.dir)
E2.loc = usr.loc
E2.dir = usr.dir
E2.name="[usr]"
walk(E2,usr.dir)
Doing=1
sleep(30)
src.Doing=0
del(E1)
Problem description:is this correct