mob/verb/Attack(mob/M in oview(1)) //-Attack verb
set category = "Attack"
if(istype(M,/mob/XPMach1))
usr.XP += rand(2,5)
flick("XPMach1Hit",src)
sleep(70)
I want mob/XPMach1 to flick XPMach1Hit, but when I try this it makes ME flick
ID:175447
Apr 22 2003, 7:37 am
|
|
Apr 22 2003, 7:41 am
|
|
That's because you're flicking src, when it should be M instead.
|
In response to OneFishDown
|
|
Thank you very much!
|