bug fix
Sidoine De Wispelaere [01-20-10 - 20:07]
bug fix
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@210 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/Ovale.lua b/Ovale.lua
index ca99b56..2de922b 100644
--- a/Ovale.lua
+++ b/Ovale.lua
@@ -978,9 +978,9 @@ function Ovale:AddSpellToStack(spellName, startCast, endCast, nextCast)
cd.start = startCast
cd.duration = newSpellInfo.cd
cd.enable = 1
- end
- if newSpellInfo.toggle then
- cd.toggled = 1
+ if newSpellInfo.toggle then
+ cd.toggled = 1
+ end
end
if newSpellInfo.aura then
for target, targetInfo in pairs(newSpellInfo.aura) do
diff --git a/Ovale.toc b/Ovale.toc
index 3472bd0..943c7a0 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.16
+## Version: 3.3.17
## OptionalDeps: Ace3, ButtonFacade, Recount, LibBabble-CreatureType-3.0
## SavedVariables: OvaleDB
## SavedVariablesPerCharacter: OvaleDBPC
diff --git a/defaut/Paladin.lua b/defaut/Paladin.lua
index 1bbe324..0a4c990 100644
--- a/defaut/Paladin.lua
+++ b/defaut/Paladin.lua
@@ -34,8 +34,8 @@ ScoreSpells(SEALRIGHTEOUSNESS SEALCOMMAND SEALVENGEANCE SEALCORRUPTION HOLYSHIEL
HAMMEROFWRATH JUDGELIGHT JUDGEWISDOM DIVINESTORM CONSECRATE EXORCISM HOLYWRATH HOLYSHOCK SHIELDOFRIGHTEOUSNESS)
SpellAddBuff(EXORCISM THEARTOFWAR=0)
-SpellInfo(JUDGELIGHT cd=8)
-SpellInfo(JUDGEWISDOM cd=8)
+SpellInfo(JUDGELIGHT cd=8 sharedcd=judge)
+SpellInfo(JUDGEWISDOM cd=8 sharedcd=judge)
SpellInfo(HOLYSHIELD cd=10)
SpellAddBuff(HOLYSHIELD HOLYSHIELD=10)
SpellAddBuff(SEALVENGEANCE SEALVENGEANCE=1800)