Jump to content

Why use click terrain on fight class?


Go to solution Solved by Droidz,

Recommended Posts

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...

Link to post
Share on other sites
  • 3 weeks later...

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 ?

Link to post
Share on other sites

Ok thank you, I have fixed problem, please update WRobot to resolve it.

 

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>
Link to post
Share on other sites
  • Solution

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). 

Link to post
Share on other sites

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). 

 

 

After the last update , the profile returned to work . Not need to change anything else.

Thank you so much .

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...