ID:178943
 
Could some one direct me to the best Monster AI please
thanx if you do
kick your dog in the head, im sure youll see the best AI around!
Evil_Spy
name = "Evil One's Spy"
icon = 'evilspy.dmi'
HP = 3000
MaxHp = 3000
Str = 3000
Def = 3000
Exp = 8
Enterif = 0
var/mob/PC/P
New()
.=..()
spawn(1)
Wander()
proc/Wander()
while(src)
if (P in oview(5))
step_towards(src,P)
else
step_rand(src)
for(P in view(src))
break
sleep(5)
spawn(40)
Wander()
Bump(mob/M)
if(ismob(M))
Attack(M)
flick("attack",src)
sleep(5)
var/damage = usr.Str-M:Def
M.HP-=damage
usr << "You attack [M]!" //send this message to the usr
M << "[usr] attacks you!" //send this message to the mob
M << "[damage] damage!" //tell the damage to the mob
usr << "[damage] damage!" //tell the damage to the usr
M:LevelUp()
M:Die()
In response to RaeKwon
Thats pretty fucked up man
Imagine if some one kiked you in the head.
You would not like it now would you

I heard that people who torture animals or messed up in the head
but i guess that suits you fine now doesnt it

In response to Turf
poor dog
In response to Turf
Please refrain from using that language on these forums.