mob/proc
KB(mob/M, var/Damage)
var/KB = M.maxhp / Damage
var/d = src.dir
if(KB > 100)
else if(KB > 80)
Knockback(M,1,d)
else if(KB > 50)
Knockback(M,2,d)
else if(KB > 30)
Knockback(M,3,d)
else if(KB > 10)
Knockback(M,4,d)
else if(KB > 1)
Knockback(M,6,d)
Knockback(mob/m, var/n, var/d)
var/i
for(i=n, i > 0, i--)
step(m,d)
sleep(2)
Its most likely because of the sleep proc, but without it the step proc won't execute more than once. Is there a way to make it more fluid?