mob/verb/Attack(mob/M as mob in oview(1))
if(Resting) return
icon_state = "Attack"
sleep(2)
icon_state = ""
M.Health = M.Health - (usr.Strength / M.Durability)+(usr.Battle_Power/(M.Battle_Power*10))*rand(1,1.5)
Problem description: I'm trying to make things like "Grab", "Push", "Punch", etc. only be able to affect someone in the three tiles in front of you, but all I've seen on this is being able to do this in all directions.