obj
Beam
verb
Shinobi(M as mob)
set src in usr.contents/*Something is missing here */
usr.MP -= 10
var/Damage = rand(10, 50)
var/obj/beamobj/b = new(src.loc)
walk(b, src.dir)
view()<<"[usr] hit [M] with a beam for [Damage] "
var/mob/foe = M
foe.TakeDamage(Damage,usr)
obj
beamobj
icon='skills.dmi'
icon_state="Beamobj"
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