January 17, 201511 yr I need use this Havoc Macro: /targetenemy /focus target /stopmacro [target=focus,noexists] [noexists] /use Devastação /use Havoc /focus target /targetlasttarget This work fine on my bar, but on bot dont work. Look my XML: <FightClassSpell> <SpellName>RunMacroText("/targetenemy /focus target /stopmacro [target=focus,noexists] [noexists] /use Devastação /use Havoc /focus target /targetlasttarget")</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>IsSpellUsable</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Havoc</Name> <Need>true</Need> </Param> </FightClassCondition> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>power = UnitPower("player", 14);if (power >= 2) then retV = "1";else retV = "0";end</LuaScript> <VarRet>retV</VarRet> <ValueRet>1</ValueRet> </Param> </FightClassCondition> </FightClassConditions> <Priority>43</Priority> <CheckIfKnowUsableDistance>false</CheckIfKnowUsableDistance> <CheckIfView>false</CheckIfView> <NotSpellIsLuaScript>true</NotSpellIsLuaScript> </FightClassSpell> Tks...
January 19, 201511 yr Hello, try to use this lua code: RunMacroText("/targetenemy"); RunMacroText("/focus target"); RunMacroText("/stopmacro [target=focus,noexists] [noexists]"); RunMacroText("/use Devastação"); RunMacroText("/use Havoc"); RunMacroText("/focus target"); RunMacroText("/targetlasttarget");
Create an account or sign in to comment