Core/Player: Use dbc data for calculating combat ratings

Closes #1156
This commit is contained in:
Lynx3d
2011-05-13 04:11:03 +07:00
committed by tobmaps
parent 863ba6f4c9
commit b1d2fbc0c2
6 changed files with 21 additions and 8 deletions
@@ -961,6 +961,8 @@ struct GlyphSlotEntry
// All Gt* DBC store data for 100 levels, some by 100 per class/race
#define GT_MAX_LEVEL 100
// gtOCTClassCombatRatingScalar.dbc stores data for 32 ratings, look at MAX_COMBAT_RATING for real used amount
#define GT_MAX_RATING 32
struct GtBarberShopCostBaseEntry
{
@@ -992,6 +994,11 @@ struct GtChanceToSpellCritEntry
float ratio;
};
struct GtOCTClassCombatRatingScalarEntry
{
float ratio;
};
struct GtOCTRegenHPEntry
{
float ratio;