mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[9752] Add storage for min/maxgold of gameobject
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
b31c006bdc
commit
5570f8c9cd
8 changed files with 17 additions and 5 deletions
|
|
@ -7652,6 +7652,7 @@ void Player::SendLoot(ObjectGuid guid, LootType loot_type)
|
|||
sLog.outDebug(" if(lootid)");
|
||||
loot->clear();
|
||||
loot->FillLoot(lootid, LootTemplates_Gameobject, this, false);
|
||||
loot->generateMoneyLoot(go->GetGOInfo()->MinMoneyLoot, go->GetGOInfo()->MaxMoneyLoot);
|
||||
}
|
||||
|
||||
if (loot_type == LOOT_FISHING)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue