if(M.armor > 0)
if(M.team = usr.team)
usr << "Yeah, go ahead and shoot your friends. It doesn't do anything!"
var/damage = rand(damage1, damage2)
usr << "You shoot [M] for [damage] damage!"
oview() << "[own] shoots [M] for [damage] damage!"
M.armor -= damage
if(M.armor <= 0)
world << "[M] is destroyed by [own]!"
M.loc = null
var/again = input("You have died. Play Again?") in list("Yes","No")
if(again == "Yes")
else del src
Get 3 errors:
Copyright © 2013 BYOND.
All rights reserved.