Fixed Mana Gems, implement SPELL_EFFECT_CREATE_MANA_GEM and revert prev. commit...
--HG-- branch : trunk
This commit is contained in:
+2
-1
@@ -1106,6 +1106,7 @@ class TRINITY_DLL_SPEC Player : public Unit, public GridObject<Player>
|
||||
uint8 FindEquipSlot( ItemPrototype const* proto, uint32 slot, bool swap ) const;
|
||||
uint32 GetItemCount( uint32 item, bool inBankAlso = false, Item* skipItem = NULL ) const;
|
||||
Item* GetItemByGuid( uint64 guid ) const;
|
||||
Item* GetItemByEntry( uint32 entry ) const;
|
||||
Item* GetItemByPos( uint16 pos ) const;
|
||||
Item* GetItemByPos( uint8 bag, uint8 slot ) const;
|
||||
inline Item* GetUseableItemByPos( uint8 bag, uint8 slot ) const //Does additional check for disarmed weapons
|
||||
@@ -1134,6 +1135,7 @@ class TRINITY_DLL_SPEC Player : public Unit, public GridObject<Player>
|
||||
bool CanNoReagentCast(SpellEntry const* spellInfo) const;
|
||||
bool HasItemOrGemWithIdEquipped( uint32 item, uint32 count, uint8 except_slot = NULL_SLOT) const;
|
||||
bool HasItemOrGemWithLimitCategoryEquipped( uint32 limitCategory, uint32 count, uint8 except_slot = NULL_SLOT) const;
|
||||
uint8 CountItemWithLimitCategory(uint32 limitCategory, Item* skipItem = NULL) const;
|
||||
uint8 CanTakeMoreSimilarItems(Item* pItem) const { return _CanTakeMoreSimilarItems(pItem->GetEntry(),pItem->GetCount(),pItem); }
|
||||
uint8 CanTakeMoreSimilarItems(uint32 entry, uint32 count) const { return _CanTakeMoreSimilarItems(entry,count,NULL); }
|
||||
uint8 CanStoreNewItem( uint8 bag, uint8 slot, ItemPosCountVec& dest, uint32 item, uint32 count, uint32* no_space_count = NULL ) const
|
||||
@@ -1192,7 +1194,6 @@ class TRINITY_DLL_SPEC Player : public Unit, public GridObject<Player>
|
||||
void MoveItemToInventory(ItemPosCountVec const& dest, Item* pItem, bool update, bool in_characterInventoryDB = false);
|
||||
// in trade, guild bank, mail....
|
||||
void RemoveItemDependentAurasAndCasts( Item * pItem );
|
||||
void HandleDestroyItemReplace( uint32 itemEntry, uint8 bag , uint8 slot , uint16 pos);
|
||||
void DestroyItem( uint8 bag, uint8 slot, bool update );
|
||||
void DestroyItemCount( uint32 item, uint32 count, bool update, bool unequip_check = false);
|
||||
void DestroyItemCount( Item* item, uint32& count, bool update );
|
||||
|
||||
Reference in New Issue
Block a user