[7905] Implement ACTION_T_SET_SHEATH for creature event ai make possibility set ranged fire state. Author: VladimirMangos
Also related cleanup code in field cases and player Player::SetSheath. --HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -938,7 +938,7 @@ class TRINITY_DLL_SPEC Player : public Unit
|
||||
/*********************************************************/
|
||||
|
||||
void SetVirtualItemSlot( uint8 i, Item* item);
|
||||
void SetSheath( uint32 sheathed );
|
||||
void SetSheath( SheathState sheathed ); // overwrite Unit version
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user