client/Click(mob/M)
if(!M)
return..()
else
usr<<"<center>[M]</center>"
usr<<"<center>Powerlevel: [M.powerlevel]</center>"
usr<<"<center>Strength: [M.strength]</center>"
usr<<"<center>Defense: [M.defense]</center>"
Problem description: It attempts to work on turfs too and I get a runtime runtime error: undefined variable /turf/grass/var/powerlevel
proc name: Click (/client/Click)
usr: Cheetoz (/mob)
src: Cheetoz (/client)
call stack:
Cheetoz (/client): Click(the grass (27,38,1) (/turf/grass), the grass (27,38,1) (/turf/grass))
And I need help to figure how to disregard turfs because I thought i did that...
-- Green Lime