Add new bonus [C++]

01/20/2016 13:36 xxxseby2xxx#1
Hi!
I successfully added a new bonus, the bonus value is 92 .. the bonus works and is called "STRONG AGAINST ICE", the only problem is that it does not appear in the bonus when I go to use the enchanted object ..
Solutions?

(It only works if I insert it manually from the db -> Player -> item and add attrtype attrvalue 92 and 15 ..)

Thank you all for reading, I hope someone expert can help me solve. :D
01/20/2016 20:23 xxxseby2xxx#2
I solved .. I had the added bonus there .. but then I realized that on "apply" the bonus must correspond exactly to the line .. example:
MAX_HP - 1
MAX_SP - 2
--- here all the other bonus "IF THERE ARE VALUE UNUSED PUT NONE"
ATTBONUS_ICEMAN --92

Thank's :D