![]() |
TrinityCore
|
Inheritance diagram for spell_item_gift_of_the_harvester:Private Member Functions | |
| PrepareSpellScript (spell_item_gift_of_the_harvester) | |
| SpellCastResult | CheckRequirement () |
| void | Register () override |
Definition at line 2602 of file spell_item.cpp.
|
inlineprivate |
Definition at line 2606 of file spell_item.cpp.
References Unit::GetAllMinionsByEntry(), SpellScript::GetCaster(), MAX_GHOULS, NPC_GHOUL, SpellScript::SetCustomCastResultMessage(), SPELL_CAST_OK, SPELL_CUSTOM_ERROR_TOO_MANY_GHOULS, and SPELL_FAILED_CUSTOM_ERROR.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 2619 of file spell_item.cpp.
References CheckRequirement(), SpellScript::OnCheckCast, and SpellCheckCastFn.