AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareSpellScript (spell_gen_profession_research) | |
bool | Load () override |
SpellCastResult | CheckRequirement () |
void | HandleScript (SpellEffIndex) |
void | Register () override |
|
inlineprivate |
References SpellScript::GetCaster(), SpellScript::GetSpellInfo(), HasDiscoveredAllSpells(), SpellScript::SetCustomCastResultMessage(), SPELL_CAST_OK, SPELL_CUSTOM_ERROR_NOTHING_TO_DISCOVER, and SPELL_FAILED_CUSTOM_ERROR.
Referenced by Register().
|
inlineprivate |
References SpellScript::GetCaster(), GetExplicitDiscoverySpell(), SpellScript::GetSpellInfo(), SpellInfo::Id, Player::learnSpell(), Object::ToPlayer(), and Player::UpdateCraftSkill().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SpellScript::GetCaster(), and Object::IsPlayer().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References CheckRequirement(), EFFECT_1, HandleScript(), SpellScript::OnCheckCast, SpellScript::OnEffectHitTarget, SPELL_EFFECT_SCRIPT_EFFECT, SpellCheckCastFn, and SpellEffectFn.