584 {
586 {
588 if (!shooter)
589 return;
590
593 for (; task < 4; ++task)
595 break;
596
597 switch (task)
598 {
599 case 0:
601 break;
602 case 1:
604 break;
605 case 2:
607 break;
608 case 3:
610 break;
611 }
612
614 shooter->
CastSpell(player, spellId,
true);
615 }
616 }
std::uint8_t uint8
Definition: Define.h:110
std::uint32_t uint32
Definition: Define.h:108
static Position ShooterPos[]
Definition: spell_quest.cpp:565
@ SPELL_SOARING_10710
Definition: spell_quest.cpp:550
@ SPELL_CANNON_CHARGING_PORT
Definition: spell_quest.cpp:542
@ NPC_GNOME_SHOOTER
Definition: spell_quest.cpp:557
@ SPELL_SOARING_10557
Definition: spell_quest.cpp:549
@ SPELL_SOARING_10712
Definition: spell_quest.cpp:552
@ SPELL_SOARING_10711
Definition: spell_quest.cpp:551
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition: Object.cpp:2409
float GetDistance(WorldObject const *obj) const
Definition: Object.cpp:1245
Definition: Player.h:1046
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1169