ID:266459
 
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
mob
verb/Thunder()
set category = "Attacks"
for(var/mob/M in oview(7))
world<<"[usr] cast thunder!"
M.HP -= 2
usr << "[M] gets hit for 2 damage with your thunder!"
In response to Thief Jack
mob
verb/Self_Destruct(mob/M as mob in oview(7))
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.HP -= 1000
usr.HP = 0
if(usr.HP == 0)
del(src)
if(M.HP == 0)
del(M)
In response to Thief Jack
mob
verb/Who() // who command, only you can see.
set category = "Social"
for(var/mob/M)
if(M.client)
usr << "[M.name] (Key: [M.key])"
Bariscni Cough Drop wrote:
How do you do this?
mob
verb
Thunder(mobs/M in view())
world<<"[usr] cast thunder!"
M.Health -= 2

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!
and this!

mob
verb
Who(M as mobs in world)
usr<"[M]"

mob/verb/who()
for(var/mob/M as mob in world)
if(M.client)
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
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!