Show me how just edit my coding below.
Saibaman
name = "Saibaman"
icon = 'Saibaman.dmi'
powerlevel = 1000
maxpowerlevel = 1000
exp = 100
zeni = 100
str = 100
def = 5
player = 0
monster = 1
var/mob/Target
New()
..()
spawn(5)
src.Wander()
proc
Wander()
while(src)
sleep(5)
for(var/mob/Player/M in oview(10))
src.Target = M
break
if(src.Target)
if(src.powerlevel<Target.powerlevel)
var/Rand = rand(1,10)
if(Rand>=8)
step_away(src,Target)
sleep(1)
step_away(src,Target)
sleep(1)
step_away(src,Target)
else
step_towards(src,Target)
else
step_towards(src,Target)
else
step_rand(src)
Bump(atom/M)
if(istype(M,/mob/Player))
var/mob/Player/P = M
var/Damage = src.str
P.powerlevel -= Damage
P.Death()
But if you wanted to make something completely different, just do that with Wander only targeting the attacker.