Compare commits

..

3 Commits

Author SHA1 Message Date
郑佩茹
b0d7a07926 Add missing quest drop for Windows to the Source 2023-06-15 07:42:58 -06:00
ZhengPeiRu21
9197f007f9 Merge pull request #140 from 0xCiBeR/master
fix: Include new parameter for OnGiveXP hook.
2023-06-15 06:53:49 -06:00
Kevin
4ff8d369b3 fix: Include new parameter for OnGiveXP hook. 2023-05-14 23:49:19 -03:00
2 changed files with 3 additions and 1 deletions

View File

@@ -5,3 +5,5 @@ INSERT INTO `creature_questender` (`id`, `quest`) VALUES (15283, 8344);
-- Windows to the Source (Warlock) -- Windows to the Source (Warlock)
DELETE FROM `creature_queststarter` WHERE `id`=15283 AND `quest`=8344; DELETE FROM `creature_queststarter` WHERE `id`=15283 AND `quest`=8344;
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (15283, 8344); INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (15283, 8344);
INSERT INTO creature_loot_template (Entry, Item, Reference, Chance, QuestRequired, LootMode, GroupId, MinCount, MaxCount, Comment) VALUES
(15298, 20935, 0, 80, 1, 1, 0, 1, 1, 'Tainted Arcane Wraith - Tainted Wraith Essence');

View File

@@ -130,7 +130,7 @@ public:
} }
} }
void OnGiveXP(Player* player, uint32& amount, Unit* /*victim*/) override void OnGiveXP(Player* player, uint32& amount, Unit* /*victim*/, uint8 /*xpSource*/) override
{ {
if (!sIndividualProgression->enabled) if (!sIndividualProgression->enabled)
{ {