Core/Loot: implement support for currency loot via loot_template entries
*removed archaeology currency loot hack and fixed a crash
This commit is contained in:
1 parent
4237522a5b
commit
a92ea3129d
12 files changed
+115
-145
No files matched your search
@@ -832,11 +832,6 @@ void GameObject::getFishLootJunk(Loot* fishloot, Player* loot_owner)
|
||||
}
|
||||
}
|
||||
|
||||
void GameObject::getArchaeologyLoot(Loot* loot, Player* /*loot_owner*/)
|
||||
{
|
||||
loot->AddCurrency(sArchaeologyMgr->GetFindCurrency(GetEntry()), 4, 9);
|
||||
}
|
||||
|
||||
void GameObject::SaveToDB()
|
||||
{
|
||||
// this should only be used when the gameobject has already been loaded
|
||||
|
||||
Reference in new issue
Block a user