mob
verb
Lightsaber_Attack(mob/M in oview(1))
set category = "Skills"
set name = "Lightsaber Attack"
if(M.ko >= 1)
usr<<"That Person Is Already Koed"
else
view()<<"[usr] Draws His/Her Lightsaber and attemps to attack [M]"
random=(1,3)
if(random == 3)
view(7) << "[M] Blocks [usr]'s Saber back at him!"
M.Life -= 0
if(random == 2)
view(7) << "[M] Blocks [usr]'s Saber back at him!"
M.Life -= 0
else
view(7) << "<B><font color = aqua>[usr]:<font color = white> Take this"
M.Life -= usr.punchstrength
M.Die()
Problem description:
The Random wont work it says :Char Moves + Signartues.dm:17:error::invalid expression towards the random = (1,3)