};
+
+inline Stats operator +(const Stats &lhs, const Stats &rhs) {
+ return Stats(
+ lhs.Attack() + rhs.Attack(),
+ lhs.Defense() + rhs.Defense(),
+ lhs.Strength() + rhs.Strength(),
+ lhs.Agility() + rhs.Agility(),
+ lhs.Intelligence() + rhs.Intelligence(),
+ lhs.Gut() + rhs.Gut(),
+ lhs.MagicResistance() + rhs.MagicResistance());
+}
+
}
#endif /* COMMON_STATS_H_ */