kiblast
icon='Ki Blasts.dmi'
icon_state="kb5"
density=1
Bump(var/atom/movable/a)
if(istype(a,/mob))//punching bag
..()
Create_Smoke1(a)
del(src)
if(istype(a,/obj/KiTechniques/kiblast))
..()
Create_Smoke1(src)
del (src)
if(istype(a,/obj/KiTechniques/shield))
walk(src,pick(EAST,WEST,NORTHEAST,NORTHWEST,SOUTHEAST,SOUTHWEST),1,1)
else
..()
Create_Smoke1(src)
del (src)
Ki_Blast()//0.2 damage
set hidden=0
if(usr.Energy>=0.25)
usr.Energy-=0.25
var/h=rand(1,2)
Energy_Drainage()
if(h==1)
flick("lblast",usr)
if(h==2)
flick("rblast",usr)
else
h=2
var/obj/A = new/obj/KiTechniques/kiblast
A.pixel_x += rand(-15,15)
A.pixel_y += rand(-15,15)
// var/color = input("What color?","Color")as color
// A.icon = initial(A.icon) // this is probably what you were trying to do
A.icon += Bcolor
A.loc=locate(src.x,src.y,src.z)
// A.icon_state="kb5"
walk(A,usr.dir,0)
else
usr<<"You lack the energy to do this"
return
Problem description:
If you keep clicking the verb fast enough the ki blast hit each other by bumping into each other making smoke clouds when they hit so im wondering where would I place a delay or something to give each blast enough time to walk without bumpngi each other or a delay on each click of the verb