![]() |
TrinityCore
|
Inheritance diagram for spell_sholazar_shoot_rjr:Private Member Functions | |
| SpellCastResult | CheckCast () |
| void | HandleDummy (SpellEffIndex) |
| void | Register () override |
Definition at line 276 of file zone_sholazar_basin.cpp.
|
inlineprivate |
Definition at line 278 of file zone_sholazar_basin.cpp.
References SpellScript::GetExplTargetUnit(), NPC_LUCKY_WILHELM, SpellScript::SetCustomCastResultMessage(), SPELL_CAST_OK, SPELL_CUSTOM_ERROR_MUST_TARGET_WILHELM, and SPELL_FAILED_CUSTOM_ERROR.
Referenced by Register().
|
inlineprivate |
Definition at line 288 of file zone_sholazar_basin.cpp.
References Creature::AI(), WorldObject::CastSpell(), EVENT_HIT, EVENT_MISS, EVENT_MISS_BIRD, WorldObject::FindNearestCreature(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), WorldObject::GetMap(), Unit::GetMotionMaster(), WorldObject::GetPhaseShift(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Map::GetWaterOrGroundLevel(), Unit::KillSelf(), MotionMaster::MovePoint(), NPC_APPLE, NPC_CRUNCHY, NPC_DROSTAN, NPC_THICKBIRD, SAY_DROSTAN_REPLY_MISS, SAY_WILHELM_HIT, SAY_WILHELM_MISS, SPELL_APPLE_FALL, SPELL_BIRD_FALL, SPELL_HIT_APPLE, SPELL_MISS_APPLE, SPELL_MISS_BIRD_APPLE, CreatureAI::Talk(), Object::ToCreature(), Object::ToPlayer(), and urand().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 349 of file zone_sholazar_basin.cpp.
References CheckCast(), EFFECT_0, HandleDummy(), SpellScript::OnCheckCast, SpellScript::OnEffectHitTarget, SPELL_EFFECT_DUMMY, SpellCheckCastFn, and SpellEffectFn.