AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareSpellScript (spell_q9452_cast_net) | |
bool | Load () override |
SpellCastResult | CheckCast () |
void | HandleDummy (SpellEffIndex) |
void | HandleActiveObject (SpellEffIndex effIndex) |
void | Register () override |
|
inlineprivate |
References WorldObject::FindNearestGameObject(), SpellScript::GetCaster(), GameObject::GetRespawnTime(), GO_SCHOOL_OF_RED_SNAPPER, SPELL_CAST_OK, and SPELL_FAILED_REQUIRES_SPELL_FOCUS.
Referenced by Register().
|
inlineprivate |
References SpellScript::GetCaster(), SpellScript::GetHitGObj(), GO_JUST_DEACTIVATED, MINUTE, SpellScript::PreventHitDefaultEffect(), roll_chance_i(), GameObject::SetLootState(), GameObject::SetRespawnTime(), and GameObject::Use().
Referenced by Register().
|
inlineprivate |
References Player::AddItem(), Unit::CastSpell(), SpellScript::GetCaster(), ITEM_RED_SNAPPER, roll_chance_i(), SPELL_NEW_SUMMON_TEST, and Object::ToPlayer().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SpellScript::GetCaster(), and Object::IsPlayer().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References CheckCast(), EFFECT_0, EFFECT_1, HandleActiveObject(), HandleDummy(), SpellScript::OnCheckCast, SpellScript::OnEffectHit, SpellScript::OnEffectHitTarget, SPELL_EFFECT_ACTIVATE_OBJECT, SPELL_EFFECT_DUMMY, SpellCheckCastFn, and SpellEffectFn.