Code:
--- bonuses.cpp (revision 991)
+++ bonuses.cpp (working copy)
@@ -1126,7 +1126,7 @@
{
if(newbon){
- for(int i = 0; i < 8; i++){
+ for(int i = 0; i < MAX_MATERIALS; i++){
const Item_Struct *cur = database.GetItem(equipment[i]);
if(cur){
//basic stats
Noticed that pets with 2 summoned pet weapons only gained 50 HP from main hand, slot 9 is secondary. This is in NPC::CalcItemBonuses(StatBonuses *newbon).