item_only_for_flight::item_only_for_flight |
( |
| ) |
|
|
inline |
ItemScript(const char *name)
Definition: ScriptMgr.cpp:1580
Reimplemented from ItemScript.
55 bool disabled =
false;
61 if (player->GetAreaId() != 3628)
65 if (player->GetZoneId() != 4080)
75 if (player->IsInFlight() && !disabled)
Definition: SpellInfo.h:326
static void SendCastResult(Player *caster, SpellInfo const *spellInfo, uint8 cast_count, SpellCastResult result, SpellCustomErrors customError=SPELL_CUSTOM_ERROR_NONE, OpcodeServer opcode=SMSG_CAST_FAILED, uint32 *misc=nullptr)
Definition: Spell.cpp:3732
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: SharedDefines.h:1475
#define sSpellMgr
Definition: SpellMgr.h:756
uint32_t uint32
Definition: Define.h:150
Definition: item_scripts.cpp:44
uint32 GetEntry() const
Definition: Object.h:107
The documentation for this class was generated from the following file: