Jump to content

luizkim

Members
  • Posts

    17
  • Joined

  • Last visited

Reputation Activity

  1. Like
    luizkim got a reaction from fragik in Use hearthstone   
    <FightClassSpell> <SpellName>LuaDoString('fCount = GetItemCount(5512);'); Count = tonumber(WowGetLuaValue("fCount")) or 0; if Count &gt; 0 then LuaDoString('local iName = GetItemInfo(5512); UseItemByName(iName);'); end</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>HealthPercent</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>SmallerOrEqual</Type> <Value>70</Value> </Param> </FightClassCondition> </FightClassConditions> <Priority>21</Priority> <NotSpellIsLuaScript>true</NotSpellIsLuaScript> </FightClassSpell>
  2. Like
    luizkim got a reaction from fragik in Healer Profiles   
    I have 5 problems on Healer profiles:
     
    1 - When i am on group, bot not verify my life, only life of partner
    2 - When i am on group, bot try cast agressive spels on friendly targets
    3 - I need duplicate any spell on XML to me and to party members. Bot not detect this.
    4 - Spells marked with "cast on self", not work. Apears on log, but not cast.
    5 - I need get the number of injuried players (With 20% or less of life) to cast mass spells. Exemple:
    http://www.wowhead.com/spell=740/tranquility
     
    Tks for help...
     
    :D
  3. Like
    luizkim got a reaction from fragik in Macro on Profile   
    Work now...  Tks...
  4. Like
    luizkim got a reaction from fragik in Macro on Profile   
    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 &gt;= 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...
  5. Like
    luizkim got a reaction from fragik in Common spels   
    Hi,
     
    I wish I could include a common file to the profile fight with common habilities, racial treats, potions and garrisons spells.
     
    Is this possible ?
     
    Tks...
  6. Like
    luizkim got a reaction from fragik in Why use click terrain on fight class?   
    After the last update , the profile returned to work . Not need to change anything else.

    Thank you so much .
  7. Like
    luizkim got a reaction from fragik in Why use click terrain on fight class?   
    After upgrading some spells are unknown . This caused the bot to stop working correctly .

    Look at the log:
    [D] 20:17:22 - Spell(string spellName): spellName=Incinerate, Id found: 178071, Name found: Incinerate, NameInGame found: Incinerate, know = False [D] 20:17:22 - Spell(string spellName): spellName=Immolate, Id found: 169998, Name found: Immolate, NameInGame found: Immolate, know = False My complete custom fightclass:
    <?xml version="1.0" encoding="utf-16"?> <FightClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <FightClassGeneralSettings> <FightClassName>Fight config name</FightClassName> <Range>40</Range> <PetCallSpellName>Summon Voidwalker</PetCallSpellName> </FightClassGeneralSettings> <FightClassSpells> <FightClassSpell> <SpellName>Dark Intent</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>Buff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Dark Intent</Name> </Param> </FightClassCondition> </FightClassConditions> <Priority>31</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Flames of Xoroth</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> <FightClassCondition> <ContionType>PetHealthPercent</ContionType> <Param xsi:type="FightClassConditionNumber" /> </FightClassCondition> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>power = UnitPower("player", 14);if (power &gt; 0) then retV = "1";else retV = "0";end</LuaScript> <VarRet>retV</VarRet> <ValueRet>1</ValueRet> </Param> </FightClassCondition> </FightClassConditions> <Priority>30</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Flames of Xoroth</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>HavePet</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>power = UnitPower("player", 14);if (power &gt; 0) then retV = "1";else retV = "0";end</LuaScript> <VarRet>retV</VarRet> <ValueRet>1</ValueRet> </Param> </FightClassCondition> </FightClassConditions> <Priority>29</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Summon Felhunter</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>TargetIsPlayer</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>HavePet</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> </FightClassConditions> <Priority>28</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Summon Voidwalker</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>HavePet</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> <FightClassCondition> <ContionType>MeInGroup</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> </FightClassConditions> <Priority>27</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Summon Imp</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInGroup</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>HavePet</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> <FightClassCondition> <ContionType>TargetIsPlayer</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> </FightClassConditions> <Priority>26</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Blood Horror</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>UnitAttackPlayerNear</ContionType> <Param xsi:type="FightClassConditionUnitNear"> <Number>2</Number> <Type>BiggerOrEqual</Type> <Radius>10</Radius> </Param> </FightClassCondition> </FightClassConditions> <Priority>25</Priority> </FightClassSpell> <FightClassSpell> <SpellName>fCount = GetItemCount(5512); if fCount &gt; 0 then local iName = GetItemInfo(5512); UseItemByName(iName); end</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>HealthPercent</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>SmallerOrEqual</Type> <Value>70</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>IsSpellUsable</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Healthstone</Name> <Need>true</Need> </Param> </FightClassCondition> </FightClassConditions> <Priority>24</Priority> <NotSpellIsLuaScript>true</NotSpellIsLuaScript> </FightClassSpell> <FightClassSpell> <SpellName>Ember Tap</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>HealthPercent</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>SmallerOrEqual</Type> <Value>60</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>power = UnitPower("player", 14);if (power &gt; 0) then retV = "1";else retV = "0";end</LuaScript> <VarRet>retV</VarRet> <ValueRet>1</ValueRet> </Param> </FightClassCondition> </FightClassConditions> <Priority>23</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Soulstone</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>Buff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Soulstone</Name> </Param> </FightClassCondition> </FightClassConditions> <Priority>22</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Create Healthstone</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>Count = GetItemCount(5512);if (Count == 0) then retV = "1";else retV = "0";end</LuaScript> <VarRet>retV</VarRet> <ValueRet>1</ValueRet> </Param> </FightClassCondition> </FightClassConditions> <Priority>21</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Dark Bargain</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>HealthPercent</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>SmallerOrEqual</Type> <Value>40</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> </FightClassConditions> <Priority>20</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Unending Resolve</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>HealthPercent</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>SmallerOrEqual</Type> <Value>60</Value> </Param> </FightClassCondition> </FightClassConditions> <Priority>19</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Soulshatter</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>HealthPercent</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>SmallerOrEqual</Type> <Value>60</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>UnitAttackPlayerNear</ContionType> <Param xsi:type="FightClassConditionUnitNear"> <Number>1</Number> <Type>BiggerOrEqual</Type> <Radius>30</Radius> </Param> </FightClassCondition> </FightClassConditions> <Priority>18</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Summon Abyssal</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>PetHealthPercent</ContionType> <Param xsi:type="FightClassConditionNumber" /> </FightClassCondition> <FightClassCondition> <ContionType>MeInGroup</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> </FightClassConditions> <Priority>17</Priority> <AOESpell>true</AOESpell> </FightClassSpell> <FightClassSpell> <SpellName>Summon Abyssal</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>MeInGroup</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> <FightClassCondition> <ContionType>HealthPercent</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>SmallerOrEqual</Type> <Value>40</Value> </Param> </FightClassCondition> </FightClassConditions> <Priority>16</Priority> <AOESpell>true</AOESpell> </FightClassSpell> <FightClassSpell> <SpellName>Summon Abyssal</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>HostileUnitNear</ContionType> <Param xsi:type="FightClassConditionUnitNear"> <Number>3</Number> <Type>BiggerOrEqual</Type> <Radius>40</Radius> </Param> </FightClassCondition> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>MeInGroup</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> </FightClassConditions> <Priority>15</Priority> <AOESpell>true</AOESpell> </FightClassSpell> <FightClassSpell> <SpellName>Summon Terrorguard</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>TargetIsBoss</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> </FightClassConditions> <Priority>14</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Summon Terrorguard</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>TargetIsWorldBoss</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> </FightClassConditions> <Priority>13</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Rain of Fire</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>TargetBuff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Immolate</Name> <Need>true</Need> </Param> </FightClassCondition> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>power = UnitPower("player", 14);if (power &lt; 4) then retV = "1";else retV = "0";end</LuaScript> <VarRet>retV</VarRet> <ValueRet>1</ValueRet> </Param> </FightClassCondition> <FightClassCondition> <ContionType>TargetBuff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Rain of Fire</Name> </Param> </FightClassCondition> </FightClassConditions> <Priority>12</Priority> <AOESpell>true</AOESpell> </FightClassSpell> <FightClassSpell> <SpellName>Fire and Brimstone</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>HostileUnitNear</ContionType> <Param xsi:type="FightClassConditionUnitNear"> <Number>3</Number> <Type>BiggerOrEqual</Type> <Radius>30</Radius> </Param> </FightClassCondition> <FightClassCondition> <ContionType>Buff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Dark Soul: Instability</Name> <Need>true</Need> </Param> </FightClassCondition> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>power = UnitPower("player", 14);if (power == 4) then retV = "1";else retV = "0";end</LuaScript> <VarRet>retV</VarRet> <ValueRet>1</ValueRet> </Param> </FightClassCondition> </FightClassConditions> <Priority>11</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Havoc</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>Buff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Dark Soul: Instability</Name> <Need>true</Need> </Param> </FightClassCondition> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>power = UnitPower("player", 14);if (power == 4) then retV = "1";else retV = "0";end</LuaScript> <VarRet>retV</VarRet> <ValueRet>1</ValueRet> </Param> </FightClassCondition> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> </FightClassConditions> <Priority>10</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Dark Soul</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>Buff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Dark Soul: Instability</Name> </Param> </FightClassCondition> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>power = UnitPower("player", 14);if (power == 4) then retV = "1";else retV = "0";end</LuaScript> <VarRet>retV</VarRet> <ValueRet>1</ValueRet> </Param> </FightClassCondition> </FightClassConditions> <Priority>9</Priority> <IsBuff>true</IsBuff> <Timer>1000</Timer> </FightClassSpell> <FightClassSpell> <SpellName>Chaos Bolt</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>Buff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Dark Soul: Instability</Name> <Need>true</Need> </Param> </FightClassCondition> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>power = UnitPower("player", 14);if (power &gt; 1) then retV = "1";else retV = "0";end</LuaScript> <VarRet>retV</VarRet> <ValueRet>1</ValueRet> </Param> </FightClassCondition> <FightClassCondition> <ContionType>Buff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Fire and Brimstone</Name> </Param> </FightClassCondition> </FightClassConditions> <Priority>8</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Immolate</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>TargetBuff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Immolate</Name> </Param> </FightClassCondition> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>power = UnitPower("player", 14);if (power &lt; 4) then retV = "1";else retV = "0";end</LuaScript> <VarRet>retV</VarRet> <ValueRet>1</ValueRet> </Param> </FightClassCondition> </FightClassConditions> <Priority>7</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Immolate</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>Buff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Fire and Brimstone</Name> <Need>true</Need> </Param> </FightClassCondition> <FightClassCondition> <ContionType>TargetBuff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Immolate</Name> </Param> </FightClassCondition> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> </FightClassConditions> <Priority>6</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Conflagrate</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>Buff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Fire and Brimstone</Name> <Need>true</Need> </Param> </FightClassCondition> <FightClassCondition> <ContionType>TargetBuff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Immolate</Name> <Need>true</Need> </Param> </FightClassCondition> </FightClassConditions> </FightClassSpell> <FightClassSpell> <SpellName>Conflagrate</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>TargetBuff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Immolate</Name> <Need>true</Need> </Param> </FightClassCondition> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> </FightClassConditions> <Priority>4</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Incinerate</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>power = UnitPower("player", 14);if (power &lt; 4) then retV = "1";else retV = "0";end</LuaScript> <VarRet>retV</VarRet> <ValueRet>1</ValueRet> </Param> </FightClassCondition> </FightClassConditions> <Priority>3</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Chaos Bolt</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>power = UnitPower("player", 14);if (power == 4) then retV = "1";else retV = "0";end</LuaScript> <VarRet>retV</VarRet> <ValueRet>1</ValueRet> </Param> </FightClassCondition> </FightClassConditions> <Priority>2</Priority> </FightClassSpell> <FightClassSpell> <SpellName>Shadowfury</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> </FightClassConditions> <Priority>1</Priority> <Timer>200</Timer> <AOESpell>true</AOESpell> </FightClassSpell> </FightClassSpells> </FightClass>
  8. Like
    luizkim got a reaction from fragik in Why use click terrain on fight class?   
    Yes , it uses a rain of fire , but does not click . As the abyssal is also used but do not click .
  9. Like
    luizkim got a reaction from fragik in Why use click terrain on fight class?   
    This not Work: 
    <FightClassSpell> <SpellName>Rain of Fire</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>TargetBuff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Immolate</Name> <Need>true</Need> </Param> </FightClassCondition> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>power = UnitPower("player", 14);if (power &lt; 4) then retV = "1";else retV = "0";end</LuaScript> <VarRet>retV</VarRet> <ValueRet>1</ValueRet> </Param> </FightClassCondition> <FightClassCondition> <ContionType>TargetBuff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Rain of Fire</Name> </Param> </FightClassCondition> </FightClassConditions> <Priority>10</Priority> <AOESpell>true</AOESpell> </FightClassSpell> Why ?
  10. Like
    luizkim got a reaction from fragik in Why use click terrain on fight class?   
    Im need use Lightwell on fight class, but bot not click on terrain.
     
    This a code:
    <FightClassSpell> <SpellName>Lightwell</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>haveTotem, totemName, startTime, duration = GetTotemInfo(1);if (haveTotem) then retV = "1"else retV = "0" end</LuaScript> <VarRet>retV</VarRet> <ValueRet>0</ValueRet> </Param> </FightClassCondition> </FightClassConditions> <Priority>7</Priority> <CombatOnly>false</CombatOnly> <CheckIfKnowUsableDistance>false</CheckIfKnowUsableDistance> <CheckIfView>false</CheckIfView> </FightClassSpell> Tks for help...
  11. Like
    luizkim got a reaction from fragik in Leveling Up All Pets   
    This code not work. Im try.
     
    Im not a developer, and not programming in lua.
     
    I thing this featured is usable for all users.
     
    Any help?
  12. Like
    luizkim got a reaction from fragik in Leveling Up All Pets   
    This code is used to change pets on battle.
     
    I need change pets before battle starts (Change only first Slot).
  13. Like
    luizkim got a reaction from fragik in Leveling Up All Pets   
    Why the pet battle mod not use this mecanic:
     
    Chose my 3 pets with less level and lvl better of my enemy.
     
    For exemple:
     
    If bot detect pet lvl 4 to battle:
    Chose my pets lvl 4.
     
    If bot detect pet lvl 6 to battle:
    Chose my pets lvl 6.
     
    If bot detect pet lvl 1:
    Chose my pet lvl 1.
     
    On this way, bot up all my pets quickly...
  14. Like
    luizkim got a reaction from fragik in Dream of Cenarius Procs   
    In my profile have this Talent usage on proc:
    http://wrobot.eu/files/file/394-druid-guardian/
    <FightClassSpell> <SpellName>Healing Touch</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>HealthPercent</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>SmallerOrEqual</Type> <Value>90</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>Buff</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Dream of Cenarius</Name> <Need>true</Need> </Param> </FightClassCondition> <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>isTrue = IsSpellOverlayed(5185);if (isTrue == true) then retV = "1";else retV = "0";end</LuaScript> <VarRet>retV</VarRet> <ValueRet>1</ValueRet> </Param> </FightClassCondition> </FightClassConditions> <Priority>29</Priority> <CheckIfKnowUsableDistance>false</CheckIfKnowUsableDistance> <CheckIfView>false</CheckIfView> </FightClassSpell>
×
×
  • Create New...