Core/Skills: implement Archaeology

This commit is contained in:
Ovalord committed 2017-11-09 03:58:28 +01:00
1 parent 899603d352
commit c868e10d9b
38 files changed
+2903 -34

No files matched your search

@@ -807,6 +807,11 @@ 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