fix(Scripts/Kalimdor): Prophecy of Akida not giving group credit (#20437)

* fix(Scripts/Kalimdor): Prophecy of Akida not giving group credit

* {}

* {} attempt 2

* RewardPlayerAndGroupAtEvent
This commit is contained in:
avarishd
2024-11-04 19:03:26 +02:00
committed by GitHub
parent 10a048c929
commit 7ad00f9633

View File

@@ -25,22 +25,6 @@
#include "SpellAuras.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
/* ScriptData
SDName: Azuremyst_Isle
SD%Complete: 75
SDComment: Quest support: 9283, 9537, 9582, 9554, 9531, ? (special flight path, proper model for mount missing). Injured Draenei cosmetic only, 9582.
SDCategory: Azuremyst Isle
EndScriptData */
/* ContentData
npc_draenei_survivor
npc_injured_draenei
npc_magwin
npc_geezle
go_ravager_cage
npc_death_ravager
EndContentData */
#include "GridNotifiersImpl.h"
/*######
@@ -475,7 +459,7 @@ public:
return;
if (Player* player = ObjectAccessor::GetPlayer(*me, _playerGUID))
player->KilledMonsterCredit(me->GetEntry(), me->GetGUID());
player->RewardPlayerAndGroupAtEvent(me->GetEntry(), player);
_movementComplete = true;
_events.ScheduleEvent(EVENT_DESPAWN, 3500ms);