ID:149174
 
A highly errored and (quite frankly) cluttery verb that I don't know what is causing to be errored
ob/verb/Magi_Blast(mob/M as mob in oview(10))
set category = "Combat"
if(usr.Guild == "Magi")
usr << "You attack [M]!"
sleep(10)
var/damage = rand(1,10)
usr << "The attack does [damage] damage!"
M << "You are hit by [usr] for [damage]!"
M.HP -= damage
usr.Experience += 1
sleep(10)
usr << "You must wait 10 seconds to fight!"
usr.Aggressiveness = 1
M.Death()
usr.RedCheck()
usr.BlackCheck()
M.RedTraiCheck()
M.BlackTraiCheck()
else
usr << "You aren't a Magi!"

"if" and "else" are flagged with indentation errors, but, for some reason, DM says there are 3 errors, but only 2 are listed.
obj/Magi_Blast/verb/Magi_Blast(mob/M as mob in oview(10))
set category = "Combat"
if(usr.Guild == "Magi")
usr << "You attack [M]!"
sleep(10)
var/damage = rand(1,10)
usr << "The attack does [damage] damage!"
M << "You are hit by [usr] for [damage]!"
M.HP -= damage
usr.Experience += 1
sleep(10)
usr << "You must wait 10 seconds to fight!"
usr.Aggressiveness = 1
M.Death()
usr.RedCheck()
usr.BlackCheck()
M.RedTraiCheck()
M.BlackTraiCheck()
else usr << "You aren't a Magi!"


RaeKwon