mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
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:
@@ -25,22 +25,6 @@
|
|||||||
#include "SpellAuras.h"
|
#include "SpellAuras.h"
|
||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
#include "SpellScriptLoader.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"
|
#include "GridNotifiersImpl.h"
|
||||||
|
|
||||||
/*######
|
/*######
|
||||||
@@ -475,7 +459,7 @@ public:
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (Player* player = ObjectAccessor::GetPlayer(*me, _playerGUID))
|
if (Player* player = ObjectAccessor::GetPlayer(*me, _playerGUID))
|
||||||
player->KilledMonsterCredit(me->GetEntry(), me->GetGUID());
|
player->RewardPlayerAndGroupAtEvent(me->GetEntry(), player);
|
||||||
|
|
||||||
_movementComplete = true;
|
_movementComplete = true;
|
||||||
_events.ScheduleEvent(EVENT_DESPAWN, 3500ms);
|
_events.ScheduleEvent(EVENT_DESPAWN, 3500ms);
|
||||||
|
|||||||
Reference in New Issue
Block a user