File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,14 +157,13 @@ func (spell *Spell) RangedAttackPower() float64 {
157157}
158158
159159func (spell * Spell ) DodgeParrySuppression () float64 {
160- // TBC ANNI: Verify if Expertise truncates
161160 expertiseRating := spell .Unit .stats [stats .ExpertiseRating ] + spell .BonusExpertiseRating
162- return expertiseRating / ExpertisePerQuarterPercentReduction / 400
161+ return math . Floor ( expertiseRating / ExpertisePerQuarterPercentReduction ) / 400
163162}
164163
165164func (spell * Spell ) PhysicalHitChance (attackTable * AttackTable ) float64 {
166165 hitPercent := spell .Unit .stats [stats .PhysicalHitPercent ] + spell .BonusHitPercent - attackTable .Defender .PseudoStats .ReducedPhysicalHitTakenChance
167- return hitPercent / 100
166+ return max ( hitPercent / 100 - attackTable . HitSuppression , 0 )
168167}
169168func (spell * Spell ) PhysicalHitCheck (sim * Simulation , attackTable * AttackTable ) bool {
170169 return sim .Proc (1.0 - spell .GetPhysicalMissChance (attackTable ), "Physical Hit Roll" )
You can’t perform that action at this time.
0 commit comments