Core/Items: Implemented spell penetration stat on items and use it from enchantments, original patch by zergtmn
This commit is contained in:
@@ -1801,6 +1801,7 @@ class Player : public Unit, public GridObject<Player>
|
||||
float GetRatingCoefficient(CombatRating cr) const;
|
||||
float GetRatingBonusValue(CombatRating cr) const;
|
||||
uint32 GetBaseSpellPowerBonus() { return m_baseSpellPower; }
|
||||
int32 GetSpellPenetrationItemMod() const { return m_spellPenetrationItemMod; }
|
||||
|
||||
float GetExpertiseDodgeOrParryReduction(WeaponAttackType attType) const;
|
||||
void UpdateBlockPercentage();
|
||||
@@ -2539,6 +2540,7 @@ class Player : public Unit, public GridObject<Player>
|
||||
uint32 m_baseFeralAP;
|
||||
uint32 m_baseManaRegen;
|
||||
uint32 m_baseHealthRegen;
|
||||
int32 m_spellPenetrationItemMod;
|
||||
|
||||
SpellModList m_spellMods[MAX_SPELLMOD];
|
||||
//uint32 m_pad;
|
||||
|
||||
Reference in New Issue
Block a user