Quantcast

- death knight death coil used the wrong spell id

Sidoine De Wispelaere [10-06-09 - 17:35]
- death knight death coil used the wrong spell id

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@112 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
Ovale.lua
Ovale.toc
defaut/Chevalier.lua
diff --git a/Ovale.lua b/Ovale.lua
index a42afba..6c16bac 100644
--- a/Ovale.lua
+++ b/Ovale.lua
@@ -846,10 +846,9 @@ function Ovale:GetActionInfo(element)
 			actionCooldownDuration = self.state.cd[spellName].duration
 			actionEnable = self.state.cd[spellName].enable
 		else
+			actionCooldownStart, actionCooldownDuration, actionEnable = GetSpellCooldown(spellName)
 			if self.spellInfo[spellName] and self.spellInfo[spellName].forcecd then
-				actionCooldownStart, actionCooldownDuration, actionEnable = GetSpellCooldown(GetSpellInfo(self.spellInfo[spellName].forcecd))
-			else
-				actionCooldownStart, actionCooldownDuration, actionEnable = GetSpellCooldown(spellName)
+				actionCooldownStart, actionCooldownDuration = GetSpellCooldown(GetSpellInfo(self.spellInfo[spellName].forcecd))
 			end
 		end

diff --git a/Ovale.toc b/Ovale.toc
index c46746f..a5fa646 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.2.8
+## Version: 3.2.9
 ## OptionalDeps: Ace3, ButtonFacade, Recount
 ## SavedVariables: OvaleDB
 ## SavedVariablesPerCharacter: OvaleDBPC
diff --git a/defaut/Chevalier.lua b/defaut/Chevalier.lua
index 846ff96..6c0015f 100644
--- a/defaut/Chevalier.lua
+++ b/defaut/Chevalier.lua
@@ -21,7 +21,7 @@ Define(TALENTFROSTSTRIKE 1975)
 Define(TALENTHEARTSTRIKE 1957)
 Define(TALENTBLOODYSTRIKES 2015)
 Define(SCOURGESTRIKE 55090)
-Define(DEATHCOIL 52375)
+Define(DEATHCOIL 47541)
 Define(ARMYOFTHEDEAD 42650)
 Define(DANCINGRUNEWEAPON 49028)
 Define(FROSTSTRIKE 49143)