* Add support for base armor values in creature_classlevelstats.

* Change the table structure to be more core-friendly.
* Remove armor field in creature_template and add Armor_mod field.
* Also add static CreatureBaseStats::GetBaseStats() function for scripts.

--HG--
branch : trunk
This commit is contained in:
XTZGZoReX
2010-01-10 22:02:03 +01:00
parent 997a861a41
commit a66152215e
6 changed files with 87 additions and 89 deletions
+1 -2
View File
@@ -654,8 +654,7 @@ class ObjectMgr
void ReturnOrDeleteOldMails(bool serverUp);
CreatureBaseStats const* GetCreatureBaseStats(uint8 expansion, uint8 unitClass, uint32 level);
BaseHealthManaPair GenerateCreatureStats(uint32 level, CreatureInfo const* info);
CreatureBaseStats const* GetCreatureBaseStats(uint32 level, uint8 unitClass);
void SetHighestGuids();
uint32 GenerateLowGuid(HighGuid guidhigh);