DB/ScalingStatValues: Difference between revisions

From wowdev
Jump to navigation Jump to search
m (Added Category WotLK)
No edit summary
Line 1: Line 1:
New in WotLK.
New in WotLK. Contains scaling data for heirloom items.


  struct ScalingStatValuesEntry // sizeof(0x60)
  struct ScalingStatValuesEntry // sizeof(0x60)
Line 28: Line 28:
     m_plateChestArmor; // +0x5C, size 0x4, type 0
     m_plateChestArmor; // +0x5C, size 0x4, type 0
  };
  };
==MoP format==
   
   
struct ScalingStatValues
{
    uint32 id;
    uint32 character_level;
    uint32 item_level;              // corresponding regular item level
    uint32 damageOneHand;          // weapon dps
    uint32 damageTwoHand;
    uint32 damageOneHandCaster;
    uint32 damageTwoHandCaster;
    uint32 damageRanged;
    uint32 damageWand;
    uint32 spellPower;
    uint32 budgetPrimary;          // helm/chest/legs; multiplied by percentage values in ScalingStatDistribution.dbc
    uint32 budgetSecondary;        // shoulder/belt/boots/gloves/trinket
    uint32 budgetTertiary;          // neck/ring/cloak/bracer/shield
    uint32 budgetTwoHand;          // two hand/ranged weapons
    uint32 budgetOneHand;          // one hand weapons/held in off-hand
    uint32 armorShoulder[4];        // armor values for cloth/leather/mail/plate
    uint32 armorChest[4];
    uint32 armorHelm[4];
    uint32 armorLegs[4];
    uint32 armorBoots[4];
    uint32 armorBelt[4];
    uint32 armorGloves[4];
    uint32 armorBracer[4];
    uint32 armorCloak;
    uint32 armorShield;
};
[[Category:DBC]][[Category:DBC_WotLK]]
[[Category:DBC]][[Category:DBC_WotLK]]

Revision as of 00:26, 10 June 2013

New in WotLK. Contains scaling data for heirloom items.

struct ScalingStatValuesEntry // sizeof(0x60)
{
   m_ID; // +0x0, size 0x4, type 0
   m_charlevel; // +0x4, size 0x4, type 0
   m_shoulderBudget; // +0x8, size 0x4, type 0
   m_trinketBudget; // +0xC, size 0x4, type 0
   m_weaponBudget1H; // +0x10, size 0x4, type 0
   m_rangedBudget; // +0x14, size 0x4, type 0
   m_clothShoulderArmor; // +0x18, size 0x4, type 0
   m_leatherShoulderArmor; // +0x1C, size 0x4, type 0
   m_mailShoulderArmor; // +0x20, size 0x4, type 0
   m_plateShoulderArmor; // +0x24, size 0x4, type 0
   m_weaponDPS1H; // +0x28, size 0x4, type 0
   m_weaponDPS2H; // +0x2C, size 0x4, type 0
   m_spellcasterDPS1H; // +0x30, size 0x4, type 0
   m_spellcasterDPS2H; // +0x34, size 0x4, type 0
   m_rangedDPS; // +0x38, size 0x4, type 0
   m_wandDPS; // +0x3C, size 0x4, type 0
   m_spellPower; // +0x40, size 0x4, type 0
   m_primaryBudget; // +0x44, size 0x4, type 0
   m_tertiaryBudget; // +0x48, size 0x4, type 0
   m_clothCloakArmor; // +0x4C, size 0x4, type 0
   m_clothChestArmor; // +0x50, size 0x4, type 0
   m_leatherChestArmor; // +0x54, size 0x4, type 0
   m_mailChestArmor; // +0x58, size 0x4, type 0
   m_plateChestArmor; // +0x5C, size 0x4, type 0
};

MoP format

struct ScalingStatValues
{
   uint32 id;
   uint32 character_level;
   uint32 item_level;              // corresponding regular item level
   uint32 damageOneHand;           // weapon dps
   uint32 damageTwoHand;
   uint32 damageOneHandCaster;
   uint32 damageTwoHandCaster;
   uint32 damageRanged;
   uint32 damageWand;
   uint32 spellPower;
   uint32 budgetPrimary;           // helm/chest/legs; multiplied by percentage values in ScalingStatDistribution.dbc
   uint32 budgetSecondary;         // shoulder/belt/boots/gloves/trinket
   uint32 budgetTertiary;          // neck/ring/cloak/bracer/shield
   uint32 budgetTwoHand;           // two hand/ranged weapons
   uint32 budgetOneHand;           // one hand weapons/held in off-hand
   uint32 armorShoulder[4];        // armor values for cloth/leather/mail/plate
   uint32 armorChest[4];
   uint32 armorHelm[4];
   uint32 armorLegs[4];
   uint32 armorBoots[4];
   uint32 armorBelt[4];
   uint32 armorGloves[4];
   uint32 armorBracer[4];
   uint32 armorCloak;
   uint32 armorShield;
};