mob
verb
Attack(m/M as mob in oview(1))
usr << "You attack [M]!"
oview() << "[usr] attacks [M]!"
var/damage = rand(1,10)
world << "[damage] damage!"
M.Stamina -= damage
Problem description:Test.dm:32:error: <<: invalid proc definition
Test.dm:33:error: <<: invalid proc definition
Test.dm:34:error: damage: invalid proc definition
Test.dm:35:error: <<: invalid proc definition
Test.dm:36:error: -=: invalid proc definition
Test.dmb - 5 errors, 0 warnings (double-click on an error to jump to it)
I'm kinda new to this...I could use some help to make this work (All the errors was when I added the Attack verb)and idk what to do mind someone help me? Thanks
were wrong in the tabs and the verb to attack,
now it works