Core/Loot: Move loot rolls from Group to Loot
Port From (https://github.com/TrinityCore/TrinityCore/commit/3ef5079feeedfdafc9d3c1d9f865e96dbc77ecc8)
This commit is contained in:
@@ -60,7 +60,7 @@ namespace Game.Mails
|
||||
if (m_mailTemplateId == 123)
|
||||
m_money = 1000000;
|
||||
|
||||
Loot mailLoot = new(null, ObjectGuid.Empty, LootType.None, LootMethod.FreeForAll);
|
||||
Loot mailLoot = new(null, ObjectGuid.Empty, LootType.None, null);
|
||||
|
||||
// can be empty
|
||||
mailLoot.FillLoot(m_mailTemplateId, LootStorage.Mail, receiver, true, true, LootModes.Default, ItemContext.None);
|
||||
|
||||
Reference in New Issue
Block a user