39 {
41 bool disabled = false;
42
43
44 switch (itemId)
45 {
46 case 24538:
48 disabled = true;
49 break;
50 case 34489:
52 disabled = true;
53 break;
54 case 34475:
57 break;
58 }
59
60
62 return false;
63
64
66 return true;
67 }
std::uint32_t uint32
Definition: Define.h:107
@ EQUIP_ERR_CANT_DO_RIGHT_NOW
Definition: Item.h:86
#define sSpellMgr
Definition: SpellMgr.h:825
@ SPELL_ARCANE_CHARGES
Definition: item_scripts.cpp:30
@ SPELL_FAILED_NOT_ON_GROUND
Definition: SharedDefines.h:1120
uint32 GetEntry() const
Definition: Object.h:112
uint32 GetAreaId() const
Definition: Object.cpp:3152
uint32 GetZoneId() const
Definition: Object.cpp:3144
void SendEquipError(InventoryResult msg, Item *pItem, Item *pItem2=nullptr, uint32 itemid=0)
Definition: PlayerStorage.cpp:4027
bool IsInFlight() const
Definition: Unit.h:1096
static void SendCastResult(Player *caster, SpellInfo const *spellInfo, uint8 castCount, SpellCastResult result, SpellCustomErrors customError=SPELL_CUSTOM_ERROR_NONE)
Definition: Spell.cpp:4661
Definition: SpellInfo.h:316