fix(Scripts/Zone): Quest 'Fire At Will!' should give group credit (#22145)
This commit is contained in:
parent
c3d3eb23de
commit
60d6274261
1 changed files with 2 additions and 2 deletions
|
|
@ -122,9 +122,9 @@ public:
|
|||
if (Player* player = ObjectAccessor::GetPlayer(*me, PlayerGUID))
|
||||
{
|
||||
if (GetClosestCreatureWithEntry(me, NPC_SOUTH_GATE, 200.0f))
|
||||
player->KilledMonsterCredit(NPC_SOUTH_GATE_CREDIT);
|
||||
player->RewardPlayerAndGroupAtEvent(NPC_SOUTH_GATE_CREDIT, player);
|
||||
else if (GetClosestCreatureWithEntry(me, NPC_NORTH_GATE, 200.0f))
|
||||
player->KilledMonsterCredit(NPC_NORTH_GATE_CREDIT);
|
||||
player->RewardPlayerAndGroupAtEvent(NPC_NORTH_GATE_CREDIT, player);
|
||||
// complete quest part
|
||||
if (Creature* bunny = GetClosestCreatureWithEntry(me, NPC_EXPLOSION_BUNNY, 200.0f))
|
||||
bunny->CastSpell(nullptr, SPELL_EXPLOSION, TRIGGERED_NONE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue