[7607] Improvements in support some generic achievement classes Author: VladimirMangos
* Implement support achievements with refAchievement field != 0, that have criterias stored in achievement refAchievement.
* Implement support achievement complete req. with specific count of completed critirias.
* Avoid full achievement list scan at search achievement associated with criteria.
--HG--
branch : trunk
This commit is contained in:
1 parent
f7cc04e9dd
commit
cb8b3fe5db
20 files changed
+363
-295
No files matched your search
@@ -126,14 +126,14 @@ void LoadSkillDiscoveryTable()
|
||||
|
||||
delete result;
|
||||
|
||||
sLog.outString("");
|
||||
sLog.outString();
|
||||
sLog.outString( ">> Loaded %u skill discovery definitions", count );
|
||||
if(!ssNonDiscoverableEntries.str().empty())
|
||||
sLog.outErrorDb("Some items can't be successfully discovered: have in chance field value < 0.000001 in `skill_discovery_template` DB table . List:\n%s",ssNonDiscoverableEntries.str().c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
sLog.outString("");
|
||||
sLog.outString();
|
||||
sLog.outString( ">> Loaded 0 skill discovery definitions. DB table `skill_discovery_template` is empty." );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user