@@ -113,17 +113,19 @@ func (shaman *Shaman) earthElementalStatInheritance(isGuardian bool) core.PetSta
113113 ownerSpellCritPercent := ownerStats [stats .SpellCritPercent ]
114114 ownerPhysicalCritPercent := ownerStats [stats .PhysicalCritPercent ]
115115 ownerHasteRating := ownerStats [stats .HasteRating ]
116+ hit_exp_rating := (ownerHitRating + ownerExpertiseRating ) / 2
117+ critPercent := max (ownerPhysicalCritPercent , ownerSpellCritPercent )
116118
117119 power := core .TernaryFloat64 (shaman .Spec == proto .Spec_SpecEnhancementShaman , ownerStats [stats .AttackPower ]* 0.65 , ownerStats [stats .SpellPower ])
118120
119121 return stats.Stats {
120122 stats .Stamina : ownerStats [stats .Stamina ] * core .TernaryFloat64 (isGuardian , 1 , 1.5 ),
121123 stats .AttackPower : power * core .TernaryFloat64 (isGuardian , EarthElementalSpellPowerScaling , EarthElementalSpellPowerScaling * 1.8 ),
122124
123- stats .HitRating : ownerHitRating ,
124- stats .ExpertiseRating : ownerExpertiseRating ,
125- stats .SpellCritPercent : ownerSpellCritPercent ,
126- stats .PhysicalCritPercent : ownerPhysicalCritPercent ,
125+ stats .HitRating : hit_exp_rating ,
126+ stats .ExpertiseRating : hit_exp_rating ,
127+ stats .SpellCritPercent : critPercent ,
128+ stats .PhysicalCritPercent : critPercent ,
127129 stats .HasteRating : ownerHasteRating ,
128130 }
129131 }
0 commit comments