◆ CheckSinkholes()
2666 {
2672
2675 }
@ SPELL_CUSTOM_ERROR_MUST_BE_CLOSE_TO_SINKHOLE
Definition SharedDefines.h:1165
@ SPELL_FAILED_CUSTOM_ERROR
Definition SharedDefines.h:1121
@ SPELL_CAST_OK
Definition SharedDefines.h:1138
void SetCustomCastResultMessage(SpellCustomErrors result)
Definition SpellScript.cpp:646
Unit * GetCaster()
Definition SpellScript.cpp:401
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition Object.cpp:2459
@ NPC_NORTHEAST_SINKHOLE
Definition spell_item.cpp:2657
@ NPC_SOUTH_SINKHOLE
Definition spell_item.cpp:2656
@ NPC_NORTHWEST_SINKHOLE
Definition spell_item.cpp:2658
References WorldObject::FindNearestCreature(), SpellScript::GetCaster(), NPC_NORTHEAST_SINKHOLE, NPC_NORTHWEST_SINKHOLE, NPC_SOUTH_SINKHOLE, SpellScript::SetCustomCastResultMessage(), SPELL_CAST_OK, SPELL_CUSTOM_ERROR_MUST_BE_CLOSE_TO_SINKHOLE, and SPELL_FAILED_CUSTOM_ERROR.
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
void spell_item_map_of_the_geyser_fields::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: