mob
verb
A()
set category= "Fighting"
set hidden=1
flick('basepunch.dmi',usr)
if(usr.pk==0)
usr<<"your in a non pk place"
return
for(var/mob/M in get_step(usr,usr.dir))
var/damage = usr.Str/3
if(damage <= 0)
usr << "[M] easily dodges your attack!"
M << "You easily dodge [usr]'s attack."
else
M.Hp -= damage
view() << "[usr] attacks [M] for [damage] HP!"
M:deathcheck()
Problem description:
can someone please edit my code so that the mob(usr) attacks with the attack verb then has to wait a couple of seconds to use it again.i know it has to get to do with delay, but can someone show me how.