|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Public Member Functions | |
| item_dehta_trap_smasher () | |
| bool | OnUse (Player *player, Item *, const SpellCastTargets &) OVERRIDE |
| Public Member Functions inherited from ItemScript | |
| bool | IsDatabaseBound () const FINAL |
| virtual bool | OnDummyEffect (Unit *, uint32, SpellEffIndex, Item *) |
| virtual bool | OnExpire (Player *, ItemTemplate const *) |
| virtual bool | OnQuestAccept (Player *, Item *, Quest const *) |
| Public Member Functions inherited from ScriptObject | |
| const std::string & | GetName () const |
Additional Inherited Members | |
| Protected Member Functions inherited from ItemScript | |
| ItemScript (const char *name) | |
| Protected Member Functions inherited from ScriptObject | |
| ScriptObject (const char *name) | |
| virtual | ~ScriptObject () |
Definition at line 317 of file item_scripts.cpp.
|
inline |
Definition at line 320 of file item_scripts.cpp.
References ItemScript::ItemScript().
|
inlinevirtual |
Reimplemented from ItemScript.
Definition at line 322 of file item_scripts.cpp.
References Creature::AI(), UnitAI::DoAction(), WorldObject::FindNearestCreature(), WorldObject::FindNearestGameObject(), GO_STATE_READY, MammothTraps, MammothTrapsNum, NPC_TRAPPED_MAMMOTH_CALF, OVERRIDE, QUEST_CANNOT_HELP_THEMSELVES, QUEST_STATUS_INCOMPLETE, and GameObject::SetGoState().