changes in creature base stats storage

* speedup stats searching
  * no more default stat generation for each class-level pair, there is only one default stat
  * CreatureBaseStats does not contain level and class

--HG--
branch : trunk
This commit is contained in:
silver1ce
2010-03-03 04:32:47 +02:00
parent 9e63454b63
commit f748ea34e3
5 changed files with 33 additions and 37 deletions
+1 -1
View File
@@ -1061,7 +1061,7 @@ class ObjectMgr
MailLevelRewardMap m_mailLevelRewardMap;
CreatureBaseStatsList m_creatureBaseStatsList;
CreatureBaseStatsMap m_creatureBaseStatsMap;
typedef std::map<uint32,PetLevelInfo*> PetLevelInfoMap;
// PetLevelInfoMap[creature_id][level]