atom/moveable
var
maxpower
power
defense
health
mob
icon='whitemale.dmi'
icon_state="whitemale"
maxpower=10
power=5
health=8
defense=3
mob/meanie
icon='meanie.dmi'
icon_state="meanie"
maxpower=10
power=5
health=8
defense=3
mob/meanie/verb/attack()
damage = rand(usr.maxpower,usr.power)
src.health-=[damage]
Problem description:
I ned to know
a how to make a better battle system
b how to work my damage variable
can you help me
Hope that helps some.