The question is, isnt settats used for something else then #setstat ?
Code:
void Client::SetStats (int8 type, sint16 val, int flags)
where flags may be of some define'd/enum'd value, ie: STAT_INCREASE, STAT_SET, ...
(As an alternative, maybe zero out all stats -- is there a function like this? -- and call SetStats as-is to increase them.)
Also, would recommend using STAT_STR, STAT_STA, etc. in place of hard-coded values in your command.
I will answer this in 2 days, when i will have assimilate and understand it
