[Bug Fix] Disallow multiple augments in same item. (#1916)

- Disallows multiple augments via #augmentitem or otherwise.
- Added ItemInstance::ContainsAugmentByID(item_id) helper method for finding an augment in an item instance.
This commit is contained in:
Kinglykrab
2022-01-04 17:18:17 -05:00
committed by GitHub
parent 6bf5608cf3
commit ffa968f64f
6 changed files with 280 additions and 331 deletions
+7
View File
@@ -381,4 +381,11 @@ enum Invisibility : uint8 {
Special = 255
};
enum AugmentActions : int {
Insert,
Remove,
Swap,
Destroy
};
#endif /*COMMON_EMU_CONSTANTS_H*/