Jump to content

Warrior Spell Reflect/Pummel/Shield Bash doesn't work.


Recommended Posts

Hi, I made a warrior script to auto use Shield Bash. Pummel and Spell reflect. 
However, none of them seem to work. 
Am I doing something wrong? Please help me as I've been trying for a week now to get it working but I'm a noob at programming so I don't know what to do anymore. 
Maybe I need to add something int the script to use shields and change stances and stuff? 

Here is a small cut version of it .

Any help would mean a lot. 
Thanks. 


<?xml version="1.0" encoding="utf-8"?>
<FightClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <FightClassGeneralSettings>
    <FightClassName>Fight config name</FightClassName>
  </FightClassGeneralSettings>
  <FightClassSpells>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetInCast</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetCastingTimeLeft</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>400</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Berserker Stance </SpellName>
      <Priority>34</Priority>
      <AddToSettingsActiveByDefault>true</AddToSettingsActiveByDefault>
      <AddToSettingsName>Interrupt</AddToSettingsName>
      <DescriptionSpell>Pummel</DescriptionSpell>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetCastingTimeLeft</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>400</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Shield Bash</SpellName>
      <Priority>33</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetCastingTimeLeft</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>400</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Pummel</SpellName>
      <Priority>32</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetCastingSpellName</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Polymporh</Name>
            <Need>true</Need>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetCastingSpellName</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Hex</Name>
            <Need>true</Need>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetCastingSpellName</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Cyclone</Name>
            <Need>true</Need>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetCastingSpellName</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Death Coil</Name>
            <Need>true</Need>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetCastingSpellName</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Fear</Name>
            <Need>true</Need>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetCastingSpellName</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Vampiric Touch</Name>
            <Need>true</Need>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetCastingSpellName</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Deep Freeze</Name>
            <Need>true</Need>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetCastingSpellName</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Frostbolt</Name>
            <Need>true</Need>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetCastingSpellName</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Frostfire Bolt</Name>
            <Need>true</Need>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetCastingSpellName</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Lava Burst</Name>
            <Need>true</Need>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetCastingSpellName</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Chain Lightning</Name>
            <Need>true</Need>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetCastingSpellName</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Lightning Bolt</Name>
            <Need>true</Need>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetCastingSpellName</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Immolate</Name>
            <Need>true</Need>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Spell Reflection</SpellName>
      <Priority>31</Priority>
    </FightClassSpell>
   <FightClassSpell>   
</FightClass>

Link to comment
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.

 Share

×
×
  • Create New...