Quantcast

forgot a fix for elemental shaman

Sidoine De Wispelaere [03-27-11 - 21:43]
forgot a fix for elemental shaman

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@388 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
Ovale.toc
defaut/Chaman.lua
diff --git a/Ovale.toc b/Ovale.toc
index df8a2c0..78990e8 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: 4.0.34
+## Version: 4.0.35
 ## OptionalDeps: Ace3, ButtonFacade, Recount, Skada, LibBabble-CreatureType-3.0, LibRangeCheck-2.0
 ## SavedVariables: OvaleDB
 ## SavedVariablesPerCharacter: OvaleDBPC
diff --git a/defaut/Chaman.lua b/defaut/Chaman.lua
index 53b2e4a..f85985c 100644
--- a/defaut/Chaman.lua
+++ b/defaut/Chaman.lua
@@ -99,7 +99,7 @@ AddIcon help=main mastery=1
 	unless InCombat()
 	{
 		#/flametongue_weapon,weapon=main
-		if WeaponEnchantExpires(mainhand 400) Spell(FLAMETHONG)
+		if WeaponEnchantExpires(mainhand 400) Spell(FLAMETHONGWEAPON)
 	}
 	#/lightning_shield
 	if BuffExpires(LIGHTNINGSHIELD 2) Spell(LIGHTNINGSHIELD)
@@ -115,7 +115,7 @@ AddIcon help=main mastery=1
 	if BuffPresent(LIGHTNINGSHIELD stacks=9) Spell(EARTHSHOCK)
 	#/earth_shock,if=buff.lightning_shield.stack>6&dot.flame_shock.remains>cooldown&dot.flame_shock.remains<cooldown+action.flame_shock.tick_time
 	if BuffPresent(LIGHTNINGSHIELD stacks=7) and { target.debuffExpires(FLAMESHOCK mine=1) > spell(LAVABURST) }
-			and { target.debuffExpires(FLAMESHOCK mine=1) < spell(LAVABURST) + timeWithHaste(3) } Spell(LAVABURST)
+			and { target.debuffExpires(FLAMESHOCK mine=1) < spell(LAVABURST) + timeWithHaste(3) } Spell(EARTHSHOCK)

 	if TotemExpires(fire) Spell(SEARINGTOTEM)
 	#/spiritwalkers_grace,moving=1