proc name: Die (/proc/Die)
usr: Iruno (/mob)
src: null
call stack:
Die()
Iruno (/mob): Giant Sand Burial()
this is the two codes that that run time error has to do with
(btw says same things for every code that uses my Die() proc so i think it's the proc not the verb)
GSandB()
set name = "Giant Sand Burial"
set category = "Jutsu"
if(usr.using==0)
for(var/mob/M in world)
if(M.gcoffin == 1)
if(M.gcoffinorigin == usr)
view() << "Giant Sand Burial...!!!!!!"
var/dmg = rand(usr.nin*10,usr.nin*15)
view() << "[M] took [dmg] damage from [M.gcoffinorigin]'s Sand Burial!"
M.overlays -= 'icons/kyuu.dmi'
flick('sandburial.dmi',M)
M.gcoffin = 0
M.gcoffinorigin = ""
M.canmove = 1
usr.canmove = 1
M.hp -= dmg
Die()
proc
Die()
for(var/mob/E in world)
if(E.hp <= 0)
if(E.grank == "Clone")
flick('smoke.dmi',E)
sleep(10)
del(E)
if(E.grank == "Mob")
view()<<"[usr] kills [E.name]."
usr<<"You kill the [E.name]"
if(E.eexp >= 1)
usr.exp += E.eexp
usr<<"You you gain [E.eexp] experience from the [E.name]"
Levelup()
del(E)
if(E.grank == "Player")
usr.kills += 1
view()<<"[usr] kills [E.name]."
usr<<"You kill [E.name]"
Levelup()