Stat
var/value
var/XP
var/maxxp
var/max
proc/check()
while(XP >= maxxp)
XP = XP - maxxp
value ++
New(v,x,m,n)
value = v
XP = x
maxxp = m
max = n
Problem description:
I want to get the value of the datum in an expression, that way, I can do something like:
dmg = src.attack.value + var
However, it won't let me do this. Can anyone offer some help, please?
Edit: Also, the object never exists because you aren't calling the parent proc, ..(), when over riding.