![]() |
TrinityCore
|
Inheritance diagram for spell_item_map_of_the_geyser_fields:Private Member Functions | |
| SpellCastResult | CheckSinkholes () |
| void | Register () override |
Definition at line 2553 of file spell_item.cpp.
|
inlineprivate |
Definition at line 2555 of file spell_item.cpp.
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().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 2567 of file spell_item.cpp.
References CheckSinkholes(), SpellScript::OnCheckCast, and SpellCheckCastFn.