I need help on my attack code.
How can i make it so that when the player clicks on an enemy mob it moves to within one space of and faces the mob.
I would also like to know how to make a bump proc to make the user attack an enemy it bups into.
Thanks
ID:176836
![]() Dec 4 2002, 5:36 am
|
|
Bump(mob/PC/P)
if(P.type == /mob/PC)
P.Death()
..()
Instead of calling the P.Death() proc put the HP commands in here like. P.HP -= src.Strength