Jump to content

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>

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...