the stat one depends on if you are looing at a basestat or the stat.
for a stat (assuming numeric and stat is called xyz)
var retval as number
retval = stat[xyz]
(for a unit)
var retval as number
retval = unit.stat[xyz]
(for an option)
to access basestats then replace stat with basestat
|