From 7115f353ccdf9c872c8599389b059db4a24edfb4 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Fri, 14 Jan 2022 11:55:54 +0100 Subject: [PATCH] fix(Core/Mail): Include 100g in the mail for The Wrath of Neptulon (#10093) * cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/cf223370f3345a7cfa39f8bfb23835391603f985) Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com> --- src/server/game/Mails/Mail.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/server/game/Mails/Mail.cpp b/src/server/game/Mails/Mail.cpp index ea5a1f693..0ea6008a2 100644 --- a/src/server/game/Mails/Mail.cpp +++ b/src/server/game/Mails/Mail.cpp @@ -103,6 +103,13 @@ void MailDraft::prepareItems(Player* receiver, CharacterDatabaseTransaction tran m_mailTemplateItemsNeed = false; + // The mail sent after turning in the quest The Wrath of Neptulon contains 100g + // Only quest in the game up to BFA which sends raw gold through mail. So would just be overkill to introduce a new column in the database. + if (m_mailTemplateId == 123) + { + m_money = 1000000; + } + Loot mailLoot; // can be empty