fix(Core/Mail): Include 100g in the mail for The Wrath of Neptulon (#10093)

* cherry-pick commit (cf223370f3)

Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com>
This commit is contained in:
Kitzunu
2022-01-14 11:55:54 +01:00
committed by GitHub
parent d1cc65b1c7
commit 7115f353cc

View File

@@ -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