Incorporated stat differences to equip menu display.

This commit is contained in:
2023-12-06 20:52:48 -06:00
parent 5eec1a21c5
commit 54677e9263
13 changed files with 111 additions and 15 deletions
+6
View File
@@ -73,6 +73,12 @@ public:
}
return *this;
};
inline Stats&operator+=(ItemAttributable&rhs){
for(ItemAttribute a=ItemAttribute(int(ItemAttribute::ENUM_START)+1);a<ItemAttribute::ENUM_END;a=ItemAttribute(int(a)+1)){
A(a)+=rhs.get_readOnly(a);
}
return *this;
};
};
struct EnhancementInfo{