- bug fix in chaman script: added mine=1 to TargetDebuffExpires
Sidoine De Wispelaere [06-10-09 - 18:07]
- bug fix in chaman script: added mine=1 to TargetDebuffExpires
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@64 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/Ovale.toc b/Ovale.toc
index a46eff8..83d8c9a 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.1.10
+## Version: 3.1.11
## OptionalDeps: Ace3
## SavedVariables: OvaleDB
## SavedVariablesPerCharacter: OvaleDBPC
diff --git a/defaut/Chaman.lua b/defaut/Chaman.lua
index 9768782..a404340 100644
--- a/defaut/Chaman.lua
+++ b/defaut/Chaman.lua
@@ -67,20 +67,20 @@ AddIcon
{
# if BuffExpires(FLAMETHONG 2) Spell(FLAMETHONG)
if BuffExpires(WATERSHIELD 2) Spell(WATERSHIELD)
- if TargetDebuffExpires(FLAMESHOCK 0) Spell(FLAMESHOCK)
+ if TargetDebuffExpires(FLAMESHOCK 0 mine=1) Spell(FLAMESHOCK)
Spell(LAVABURST doNotRepeat=1)
if CheckBoxOn(chain) Spell(CHAINLIGHTNING doNotRepeat=1)
Spell(LIGHTNINGBOLT)
}
if CheckBoxOn(melee)
{
- if TargetDebuffExpires(FLAMESHOCK 0) Spell(FLAMESHOCK)
- if TargetDebuffExpires(FLAMESHOCK 1.5 haste=spell) and 1.5s before Spell(LAVALASH)
+ if TargetDebuffExpires(FLAMESHOCK 0 mine=1) Spell(FLAMESHOCK)
+ if TargetDebuffExpires(FLAMESHOCK 1.5 haste=spell mine=1) and 1.5s before Spell(LAVALASH)
Spell(FLAMESHOCK)
- if TargetDebuffPresent(FLAMESHOCK 5) Spell(EARTHSHOCK)
+ if TargetDebuffPresent(FLAMESHOCK 5 mine=1) Spell(EARTHSHOCK)
if BuffExpires(LIGHTNINGSHIELD 0) Spell(LIGHTNINGSHIELD)
Spell(STORMSTRIKE)
- if TargetDebuffPresent(FLAMESHOCK 1.5 haste=spell) Spell(LAVALASH)
+ if TargetDebuffPresent(FLAMESHOCK 1.5 haste=spell mine=1) Spell(LAVALASH)
if CheckBoxOn(chain) and BuffPresent(MAELSTROMWEAPON stacks=5) Spell(CHAINLIGHTNING doNotRepeat=1)
if BuffPresent(MAELSTROMWEAPON stacks=5) Spell(LIGHTNINGBOLT doNotRepeat=1)
}