Jump to content

fragik

Members
  • Posts

    0
  • Joined

  • Last visited

Reputation Activity

  1. Like
    fragik reacted to luizkim 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
  2. Like
    fragik reacted to luizkim in Macro on Profile   
    Work now...  Tks...
  3. Like
    fragik reacted to Droidz in Macro on Profile   
    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");
  4. Like
    fragik reacted to luizkim 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
    fragik reacted to luizkim 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
    fragik reacted to Droidz in Common spels   
    Hello, yes you can add in your fightclass garrisons, racial spells and potion items.
     
    For item look this: 
     
    For spell use normal way.
  7. Like
    fragik reacted to luizkim 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 .
  8. Like
    fragik reacted to Droidz in Why use click terrain on fight class?   
    Try with new update.
     
    If you problem is not resolved use base (parent) spell name (to get base spell name use this script: ).
     
    I get this with my character:
    [D] 19:14:48 - Children spell found: Dark Soul: Instability (113858) (parent spell: Dark Soul (77801)) [D] 19:14:48 - Children spell found: Immolate (348) (parent spell: Corruption (172)) [D] 19:14:48 - Children spell found: Incinerate (29722) (parent spell: Shadow Bolt (686)) [D] 19:14:48 - Children spell found: Mortal Coil (6789) (parent spell: Crippling Shadows (175707)) [D] 19:14:48 - Children spell found: Rain of Fire (104232) (parent spell: Rain of Fire (5740)) Tell me if this works with normal spell name (Incinerate and Immolate). 
  9. Like
    fragik reacted to luizkim 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>
  10. Like
    fragik reacted to Droidz in Why use click terrain on fight class?   
    Hello,
     
    In your log WRobot try to launch Rain of Fire?
  11. Like
    fragik reacted to luizkim 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 .
  12. Like
    fragik reacted to Droidz in Why use click terrain on fight class?   
    Ok thank you, I have fixed problem, please update WRobot to resolve it.
  13. Like
    fragik reacted to luizkim 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 ?
  14. Like
    fragik reacted to luizkim 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...
  15. Like
    fragik reacted to Droidz in Why use click terrain on fight class?   
    Hello,
     
    Activate in "Spell Settings" > "AOE Spell" or "AOE Spell (character position)".
  16. Like
    fragik reacted to luizkim 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?
  17. Like
    fragik reacted to luizkim 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).
  18. Like
    fragik reacted to luizkim 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...
  19. Like
    fragik reacted to Droidz in Leveling Up All Pets   
    Hello,
     
    You can use lua code for it, sample of lua code:  and 
  20. Like
    fragik reacted to Ohren in Dream of Cenarius Procs   
    Take a look at my guardian druid fight class. Healing touch works with DoC procs using the LUA I posted above.
  21. Like
    fragik reacted to luizkim 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>
  22. Like
    fragik reacted to andycanadas in Dream of Cenarius Procs   
    The FIGHTCLASS, look at healing touch, it isnt finished there
  23. Like
    fragik reacted to andycanadas in Dream of Cenarius Procs   
    I have the same problem, when u choose the talent Dream of cenarius, it cast on u a invisible buff called "dream of cenarius", like an aura. I need to be able to set a buff id to cast healing touch with the proper "dream of cenarius" buff.
  24. Like
    fragik reacted to Ohren in Dream of Cenarius Procs   
    Alright, give this a shot.
    Use it as a normal condition, but make sure you choose LUA script.
    name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId= UnitAura("player", "Dream of Cenarious");retV = count; Return value var needs to be retV and return value research needs to be 1.
  25. Like
    fragik reacted to Ohren in Dream of Cenarius Procs   
    It's something to do with buffs, I have the same issue with using Crimson Scourge on my Death Knight, it detects that you constantly have the buff on, I can't remember how I used to work around it, but I will find the LUA snippet I had, or make a new one.
×
×
  • Create New...