mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-01 07:26:36 +00:00
[Bug Fix] #augmentitem bypasses augment restrictions (#3332)
* [Bug Fix] #augmentitem bypasses augment restrictions # Notes - `Object::HandleAugmentation` did not properly check for `augrestrict` values. This allowed augment restrictions to be bypassed with `#augmentitem` or anything else that uses this method. - `Client::SummonItem` already properly checked these, so I just broke it out into a `Client::IsAugmentRestricted()` method. * Update item_instance.h
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ public:
|
||||
bool IsEquipable(int race, int class_);
|
||||
bool IsEquipable(int slot_id);
|
||||
bool IsAugmentable();
|
||||
int GetAugmentType();
|
||||
uint32 GetAugmentType();
|
||||
bool IsExpendable();
|
||||
Lua_ItemInst GetItem(int slot);
|
||||
Lua_Item GetItem();
|
||||
|
||||
Reference in New Issue
Block a user