View Single Post
  #8  
Old 05-19-2004, 08:25 AM
KhaN's Avatar
KhaN
Dragon
 
Join Date: Mar 2004
Location: France, Bordeaux.
Posts: 677
Default

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
__________________

Reply With Quote