Yuui 0 Posted April 29, 2015 Share Posted April 29, 2015 Hi, I am looking for the code to the max average of 100% and to add bonuses 1 to 4 gave us 5 bonuses without adding 5 bonus by item marble blessing. Link to comment Share on other sites More sharing options...
Premium Cataclismo 86 Posted April 30, 2015 Premium Share Posted April 30, 2015 Next time, use Questions and Answers forum, please. I think you want to change hit damage bonus on items. You can do that by editing file item_addon.cpp // SKILL BONUS: int iSkillBonus = MINMAX(-30, (int) (gauss_random(0, 5) + 0.5f), 30); // HIT BONUS (based on skill bonus) int iNormalHitBonus = 0; if (abs(iSkillBonus) <= 20) iNormalHitBonus = -2 * iSkillBonus + abs(number(-8, 8) + number(-8, 8)) + number(1, 4); else iNormalHitBonus = -2 * iSkillBonus + number(1, 5); For item bonuses search in char_item.cpp case USE_ADD_ATTRIBUTE : and replace this if (item2->GetAttributeCount() < 4) with this if (item2->GetAttributeCount() < 5) Good luck. Link to comment Share on other sites More sharing options...
Yuui 0 Posted May 11, 2015 Author Share Posted May 11, 2015 And one more thing how do to add and change were endless?? Link to comment Share on other sites More sharing options...
Premium Cataclismo 86 Posted May 12, 2015 Premium Share Posted May 12, 2015 // SKILL BONUS: int iSkillBonus = MINMAX(-30, (int) (gauss_random(0, 5) + 0.5f), 30); Link to comment Share on other sites More sharing options...
Yuui 0 Posted May 14, 2015 Author Share Posted May 14, 2015 @up It is on the infinite adding and changing bills? Link to comment Share on other sites More sharing options...
Premium Cataclismo 86 Posted May 14, 2015 Premium Share Posted May 14, 2015 @up It is on the infinite adding and changing bills? Whaaaat? I can't understand you. I am sorry. Link to comment Share on other sites More sharing options...
dzekon 69 Posted May 21, 2015 Share Posted May 21, 2015 @up It is on the infinite adding and changing bills? Char_item.cpp and use_add_atribute and use_change_atribute. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now