ID:142380
 
Code:
                Shadowstep(mob/M as mob in oview(5))
usr << "You shadowstep to [M]"
usr.loc=locate(M)
var/damage = M.health+10
oview() << "[usr] shadowsteps to [M] and overkills it"
M.health -= damage
M.DeathCheck()


Problem description:
ok, i try to move the usr to where the mob is, but, i use shadowstep, screen goes black. please help, or point me to any tutorial that can

Your error occurs in this line of code:

usr.loc=locate(M)


That'll give you a black screen because locate() doesn't work like that. (For more information on its usage, see the DM Reference) What you want is this:

usr.loc = M.loc
In response to Unknown Person
thanks, sry im ignorant
In response to Lureman
well, that worked, thank you