mob
Warrior
verb
Slash(mob/M as mob in view(1))
if(Skill >= 10)
var/SlashDamage = src.Power + src.Skill - M.Aura
src << "<b>You do [SlashDamage] damage to [M]!"
M.Life -= SlashDamage
else
src << "<b>You havn't the skill to use this attack!"
The problem is, I only want Slash to take effect IF there is another M out there OTHER then the user himself, because when I test, It makes me slash myself, I have many cuts and I have lost much blood from this :/ Please help.
try Slash(mob/M as mob in oview(1))
in the reference, it says this for Oview:
A list of visible objects within Dist tiles of Center, excluding Center.
Maybe it'll help
--Lenox