mob/Creature/Enemies/Elf/DeathCheck()
if(prob(20))
new/obj/WoodSword(src.loc)
..()
if(prob(20))
new/obj/WoodShield(src.loc)
..()
How would i go about making monsters randomly drop things? The code I use above doesnt seem to be doing anything, and i'm new to coding so I have no clue what i'm doing wrong. Would somebody help point out my derp?
http://www.byond.com/forum/?post=173044#comment839477