mob
verb
Attack(mob/M as mob in oview(1))
set category = "Fighting"
var/damage = round(usr.Strength*2 - M.Defense)+20
if(damage <= 0)
usr << "[M] easily dodges your attack!"
M << "You easily dodge [usr]'s attack."
var/punch = rand(1,2)
if(punch = 1)
flick("Punch1",usr)
else
flick("Punch2",usr)
else
M.PL -= damage
view() << "[usr] attacks [M] for [damage] HP!"
M:deathcheck()
usr.MaxPL += 50
usr.Strength += 10
usr.Defense += 7
if(usr.Stamina >= 3)
Attack()
else
usr << "You don't have enough stamina!"
Problem description: The rand() usr flick wont work
Also, I think you can replace
with