Skip to content

Commit

Permalink
Fix Cata weights being cleared
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisSpomer committed May 5, 2024
1 parent a9e9b6f commit c0d7159
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Pawn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3171,16 +3171,16 @@ function PawnCorrectScaleErrors(ScaleName)
ThisScale.Multistrike = nil

-- These were introduced in Classic versions.
if not (VgerCore.IsClassic or VgerCore.IsBurningCrusade or VgerCore.IsWrath) then
if not (VgerCore.IsClassic or VgerCore.IsBurningCrusade or VgerCore.IsWrath or VgerCore.IsCataclysm) then
ThisScale.SpellPenetration = nil
end
if not (VgerCore.IsBurningCrusade or VgerCore.IsWrath) then
if not (VgerCore.IsBurningCrusade or VgerCore.IsWrath or VgerCore.IsCataclysm) then
ThisScale.ExpertiseRating = nil
ThisScale.ResilienceRating = nil
end

-- Spell power appeared in Wrath but disappeared again later.
if not VgerCore.IsWrath or VgerCore.IsCataclysm then
if not (VgerCore.IsWrath or VgerCore.IsCataclysm) then
ThisScale.SpellPower = nil
end

Expand Down
3 changes: 2 additions & 1 deletion Readme.htm
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@ <h3><span style="text-decoration: underline;">In</span>compatible addons</h3>
<h2>Updates</h2>
<h3>Version 2.9.1</h3>
<ul>
<li>Cataclysm Classic pre-patch: Pawn will now recommend the proper gems based on the new colors and stats of existing gems.</li>
<li>Cataclysm Classic: Pawn will now recommend the proper gems based on the new colors and stats of existing gems.</li>
<li>Cataclysm Classic: Fixed a bug that caused a few stat weights to get reset to 0 when editing in the Weights tab and then reloading.</li>
<li>Cataclysm Classic: Added support for all of the new Cataclysm gems, which Pawn will start recommending as you get Cataclysm gear.</li>
</ul>
<h3>Version 2.9.0</h3>
Expand Down

0 comments on commit c0d7159

Please sign in to comment.