substract the 15k points for vMA, like ZOS does

René Welbers [01-10-16 - 15:12]
substract the 15k points for vMA, like ZOS does
Filename
RaidTimer.lua
RaidTimer.txt
diff --git a/RaidTimer.lua b/RaidTimer.lua
index b441754..23e7047 100644
--- a/RaidTimer.lua
+++ b/RaidTimer.lua
@@ -308,6 +308,11 @@ function RaidTimer.TimerUpdate()
                 currentPoints = self.score + self.variables.maSpeedBonusPoints
             end

+            -- atm the vMA score has a bug, so we sub this points, like ZOS does
+            if self.raidId == 6 then
+                currentPoints = currentPoints - 15000
+            end
+
             local estimatedScore = 0
             estimatedScore = self.EstimatedScore(currentPoints, maxPoints, timeLimit, raidDuration)

@@ -347,6 +352,11 @@ function RaidTimer.ScoreUpdate(event, scoreType, scoreAmount, totalScore)
             currentPoints = self.score + self.variables.maSpeedBonusPoints
         end

+        -- atm the vMA score has a bug, so we sub this points, like ZOS does
+        if self.raidId == 6 then
+            currentPoints = currentPoints - 15000
+        end
+
         if timeLimit > 0 and maxPoints > 0 then
             local estimatedScore = 0
             estimatedScore = self.EstimatedScore(currentPoints, maxPoints, timeLimit, raidDuration)
diff --git a/RaidTimer.txt b/RaidTimer.txt
index 8ce2487..9f009a2 100644
--- a/RaidTimer.txt
+++ b/RaidTimer.txt
@@ -1,6 +1,6 @@
 ## Title: |cEFEBBERaid Timer|r
 ## Author: Noshiz, |cEFEBBEGarkin|r, |c4779cesilentgecko|r
-## Version: 1.3.1
+## Version: 1.3.2
 ## APIVersion: 100013
 ## SavedVariables: RTVars
 ## OptionalDependsOn: LibAddonMenu-2.0