Core/Items: Changed how azerite item bonuses are applied at login to avoid applying them twice
Port From (https://github.com/TrinityCore/TrinityCore/commit/d02f3ca7cab196eb2b2b14410582aff009b04817)
This commit is contained in:
@@ -2606,7 +2606,7 @@ namespace Game.Entities
|
||||
|
||||
public bool IsLocked() { return !HasItemFlag(ItemFieldFlags.Unlocked); }
|
||||
public bool IsBag() { return GetTemplate().GetInventoryType() == InventoryType.Bag; }
|
||||
bool IsAzeriteItem() { return GetTypeId() == TypeId.AzeriteItem; }
|
||||
public bool IsAzeriteItem() { return GetTypeId() == TypeId.AzeriteItem; }
|
||||
public bool IsCurrencyToken() { return GetTemplate().IsCurrencyToken(); }
|
||||
public bool IsBroken() { return m_itemData.MaxDurability > 0 && m_itemData.Durability == 0; }
|
||||
public void SetDurability(uint durability) { SetUpdateFieldValue(m_values.ModifyValue(m_itemData).ModifyValue(m_itemData.Durability), durability); }
|
||||
|
||||
Reference in New Issue
Block a user