Quantcast

Fix ticket 251 - crit functions don't update with Agi/Int changes.

Johnny C. Lam [07-12-13 - 07:43]
Fix ticket 251 - crit functions don't update with Agi/Int changes.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@952 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvalePaperDoll.lua
diff --git a/OvalePaperDoll.lua b/OvalePaperDoll.lua
index 5927676..0b4903e 100644
--- a/OvalePaperDoll.lua
+++ b/OvalePaperDoll.lua
@@ -212,6 +212,7 @@ function OvalePaperDoll:UNIT_STATS(event, unitId)
 	self.stat.intellect = API_UnitStat(unitId, 4)
 	self.stat.spirit = API_UnitStat(unitId, 5)
 	self.stat.snapshotTime = Ovale.now
+	self:COMBAT_RATING_UPDATE(event)
 end

 function OvalePaperDoll:Ovale_EquipmentChanged(event)