ID:150237
 
I can't get this proc to work on the person I want it to affect. When somebody dies, and they are an "evil-doer", they go to the assylum and wait for about 200 ticks and the "Escape" proc is triggered. But, the "Escape" proc affects the person that kills the "evil-doer", not the other way around.
mob/proc
Die()
if(src.client)
if(src.life <= 0)
src.life = 100
if(src.align == "Evil")
usr.money += src.money
src.loc = locate(80,30,1)
sleep(200)
Escape()


The Escape proc works fine, its just getting it to affect the correct person....

The escape proc is just a input proc with a chance of luck (random procs)
for your escape proc

mob
proc
Escape(mob/M as mob)

and just called Escape like this

Escape(your_evil_doer_here)

and inside the escape proc, you will refer to M, as the evil doer

FIREking