How do you do this?
mob
verb
Thunder(mobs/M in view())
world<<"[usr] cast thunder!"
M.Health -= 2
I want it to phase ALL mobs in view!
and this!
mob
verb
Who(M as mobs in world)
usr<"[M]"
A Who verb, and this of course:
mob
verb
S-Destruct(M as mob in view())
world<<"[usr]'s power sky rockets!"
M<<"[usr] yells at you: PREPARE TO DIE!"
world<<"[usr] yells to [M]:PREPARE TO DIE!"
sleep(20)
M.Health -= 1000
usr.Health = 0
if(usr.Health == 0)
del(usr)
if(M.Health == 0)
del(M)
Self Destruct
ID:266459
Mar 16 2002, 5:47 pm
|
|
Mar 16 2002, 6:24 pm
|
|
In response to Thief Jack
|
|
mob |
In response to Thief Jack
|
|
mob |
Bariscni Cough Drop wrote:
How do you do this? mob/verb/Thunder() for(var/mob/M as mob in view()) M.Health-=2 world<<"[usr] cast thunder" I want it to phase ALL mobs in view! mob/verb/who() for(var/mob/M as mob in world) if(M.client) usr<<"[M]" A Who verb, and this of course:And last.. mob/verb/SelfDestruct(mob/M as mob in view()) M.Health-=1000 usr.hp=0 M:Deathcheck() del(usr) mob/proc/Deathcheck() if(usr.hp<=0) del(usr) |
In response to Thief Jack
|
|
You didn't have to post each one in a new post.. what a waste of space.
|
In response to Nadrew
|
|
YAY!
|