mob
proc/Dodge(mob/M)
if(src.stamina>=10000)
if(src.canmove==1)
if(src.dodged==0)
src.icon_state="Dodge"
src<<"You feel your Body Fly forward as you dodge the incoming atack"
src.dodged=1
sleep(2)
src.dodged=0
step(src,src.dir)
step(src,src.dir)
Problem description:
the code itself works the player moves two steps in what ever direction they are facing. the problem is i need them to move there faster is there anyway to do that from this code?