Problem description: It keeps on when it has 0 MP can some one please help me i want it to stop when 0 MP because its a very strong attack
Shinobi(M as mob)
set src in usr.contents
usr.MP -= 10
var/Damage = rand(10, 50)
var/obj/beamobj/b = new(src.loc)
view()<<"[usr] hit [M] with a beam for [Damage] "
var/mob/foe = M