mob/proc/Deathcheck
(mob/ch,mob/victim)
if(victim.vitality <= 0)
usr.loc=locate(1,1,2)
world << "[victim] has died!"
var/mod
if(ch.alignment < -299 && victim.alignment < ch.alignment)
mod = -victim.alignment
else
mod = victim.alignment
ch.alignment += (-mod - ch.alignment) / 16
else
..()
whats the (mob/ch,mob/victim) mean?
ID:167656
Feb 15 2006, 4:24 am
|
|
Feb 15 2006, 4:27 am
|
|
They're argument that are passed when the proc is called.
|