From 519058c7548acbcf0a4328c32125b678e5170e66 Mon Sep 17 00:00:00 2001 From: Sidoine De Wispelaere Date: Wed, 16 Nov 2011 19:26:43 +0000 Subject: [PATCH] fix pet swap for demono warlock git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@437 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- Ovale.toc | 2 +- defaut/Demoniste.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Ovale.toc b/Ovale.toc index e8d0bb2..40eb3f0 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.2.5 +## Version: 4.2.6 ## OptionalDeps: Ace3, ButtonFacade, Recount, Skada, LibBabble-CreatureType-3.0, LibRangeCheck-2.0 ## SavedVariables: OvaleDB ## SavedVariablesPerCharacter: OvaleDBPC diff --git a/defaut/Demoniste.lua b/defaut/Demoniste.lua index 63f56db..82fa195 100644 --- a/defaut/Demoniste.lua +++ b/defaut/Demoniste.lua @@ -241,7 +241,7 @@ AddIcon help=main mastery=2 AddIcon help=cd mastery=2 { #/summon_felguard,if=cooldown.demon_soul.remains<5&cooldown.metamorphosis.remains<5&!pet.felguard.active - if {spell(DEMONSOUL)<5} and {spell(METAMORPHOSIS)<5} unless pet.CreatureFamily(Felguard) Spell(SUMMONFELGUARD) + if CheckBoxOn(petswap) and {spell(DEMONSOUL)<5} and {spell(METAMORPHOSIS)<5} unless pet.CreatureFamily(Felguard) Spell(SUMMONFELGUARD) #/metamorphosis,if=pet.felguard.active if pet.Present() and pet.CreatureFamily(Felguard) Spell(METAMORPHOSIS) #/demon_soul,if=buff.metamorphosis.up -- 1.7.9.5