Quantcast

bug fix with cast time

Sidoine De Wispelaere [03-14-10 - 17:06]
bug fix with cast time

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@242 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
Ovale.lua
Ovale.toc
diff --git a/Ovale.lua b/Ovale.lua
index 962c486..0f6787a 100644
--- a/Ovale.lua
+++ b/Ovale.lua
@@ -1409,7 +1409,7 @@ function Ovale:CalculerMeilleureAction(element)
 				element.castTime = self.spellInfo[spellName].casttime
 			elseif spellName then
 				local spell, rank, icon, cost, isFunnel, powerType, castTime = GetSpellInfo(spellName)
-				element.castTime = castTime
+				element.castTime = castTime/1000
 			else
 				element.castTime = 0
 			end
diff --git a/Ovale.toc b/Ovale.toc
index efc6aac..fc50214 100644
--- a/Ovale.toc
+++ b/Ovale.toc
@@ -3,7 +3,7 @@
 ## Notes: Show the icon of the next spell to cast
 ## Notes-frFR: Affiche l'icône du prochain sort à lancer
 ## Author: Sidoine
-## Version: 3.3.30
+## Version: 3.3.31
 ## OptionalDeps: Ace3, ButtonFacade, Recount, LibBabble-CreatureType-3.0
 ## SavedVariables: OvaleDB
 ## SavedVariablesPerCharacter: OvaleDBPC