|
| item_petrov_cluster_bombs () |
|
bool | OnUse (Player *player, Item *item, const SpellCastTargets &) override |
|
bool | IsDatabaseBound () const override |
|
virtual bool | OnQuestAccept (Player *, Item *, Quest const *) |
|
virtual bool | OnRemove (Player *, Item *) |
|
virtual bool | OnCastItemCombatSpell (Player *, Unit *, SpellInfo const *, Item *) |
|
virtual bool | OnExpire (Player *, ItemTemplate const *) |
|
virtual void | OnGossipSelect (Player *, Item *, uint32, uint32) |
|
virtual void | OnGossipSelectCode (Player *, Item *, uint32, uint32, const char *) |
|
virtual bool | isAfterLoadScript () const |
|
virtual void | checkValidity () |
|
const std::string & | GetName () const |
|
uint16 | GetTotalAvailableHooks () |
|
◆ item_petrov_cluster_bombs()
item_petrov_cluster_bombs::item_petrov_cluster_bombs |
( |
| ) |
|
|
inline |
Definition ItemScript.h:24
◆ OnUse()
Reimplemented from ItemScript.
149 {
151 return false;
152
154 {
156
159
160 return true;
161 }
162
163 return false;
164 }
@ EQUIP_ERR_NONE
Definition Item.h:106
@ SPELL_FAILED_NOT_HERE
Definition SharedDefines.h:1009
#define sSpellMgr
Definition SpellMgr.h:825
void SendEquipError(InventoryResult msg, Item *pItem, Item *pItem2=nullptr, uint32 itemid=0)
Definition PlayerStorage.cpp:4021
Definition SpellInfo.h:316
static void SendCastResult(Player *caster, SpellInfo const *spellInfo, uint8 castCount, SpellCastResult result, SpellCustomErrors customError=SPELL_CUSTOM_ERROR_NONE)
Definition Spell.cpp:4685
Transport * GetTransport() const
Definition Object.h:597
uint32 GetAreaId() const
Definition Object.cpp:3156
uint32 GetZoneId() const
Definition Object.cpp:3148
@ ZONE_ID_HOWLING
Definition item_scripts.cpp:140
@ SPELL_PETROV_BOMB
Definition item_scripts.cpp:138
@ AREA_ID_SHATTERED_STRAITS
Definition item_scripts.cpp:139
References AREA_ID_SHATTERED_STRAITS, EQUIP_ERR_NONE, WorldObject::GetAreaId(), WorldObject::GetTransport(), WorldObject::GetZoneId(), Spell::SendCastResult(), Player::SendEquipError(), SPELL_FAILED_NOT_HERE, SPELL_PETROV_BOMB, sSpellMgr, and ZONE_ID_HOWLING.
The documentation for this class was generated from the following file: