heres the click attack one, what do i do to male it work for the others?
client.Click(mob/m/M in AtomTypeInRange(src, 1, /mob/m))
if(istype(M,/mob/m)) if(M in range(1))
var/maxdamage = usr.attack - M.defense - (M.agility / 15)
var/damage = rand ((maxdamage / 2), maxdamage)
usr << "You attack [M]!"
usr << "You Do [damage] damage!"
M << "[usr] attacks you!"
M << "[usr] Does [damage] damage!"
M.HP -= damage
M.Death()
Lummox JR