﻿<?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>Deathknight Unholy by Dreamful</FightClassName>
    <Pet>true</Pet>
    <PetCallSpellName>Raise Dead</PetCallSpellName>
    <PetReviveSpellName>Raise Dead</PetReviveSpellName>
    <FramePerSecond>25</FramePerSecond>
  </FightClassGeneralSettings>
  <FightClassSpells>
    <FightClassSpell>
      <FightClassConditions />
      <SpellName>Unholy Presence</SpellName>
      <Priority>16</Priority>
      <IsBuff>true</IsBuff>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>RunicPower</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>Bigger</Type>
            <Value>40</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>HavePet</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>HealthPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>Smaller</Type>
            <Value>20</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Death Pact</SpellName>
      <Priority>15</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>RunicPower</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>Bigger</Type>
            <Value>60</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Summon Gargoyle</SpellName>
      <Priority>14</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions />
      <SpellName>Horn of Winter</SpellName>
      <Priority>13</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions />
      <SpellName>Bone Shield</SpellName>
      <Priority>12</Priority>
      <IsBuff>true</IsBuff>
      <Timer>160</Timer>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>HealthPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>Smaller</Type>
            <Value>60</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Icebound Fortitude</SpellName>
      <Priority>11</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>HealthPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>Smaller</Type>
            <Value>70</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Anti-Magic Shell</SpellName>
      <Priority>10</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetInCast</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Mind Freeze</SpellName>
      <Priority>9</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetDistance</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>Bigger</Type>
            <Value>15</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Death Grip</SpellName>
      <Priority>8</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetDistance</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>Bigger</Type>
            <Value>8</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetInMove</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Chains of Ice</SpellName>
      <Priority>7</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>RunicPower</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>Bigger</Type>
            <Value>50</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Death Coil</SpellName>
      <Priority>6</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions />
      <SpellName>Plague Strike</SpellName>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions />
      <SpellName>Blood Strike</SpellName>
      <Priority>4</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions />
      <SpellName>Scourge Strike</SpellName>
      <Priority>3</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetBuff</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Frost Feaver</Name>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Icy Touch</SpellName>
      <Priority>2</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>LuaScript</ContionType>
          <Param xsi:type="FightClassConditionLua">
            <LuaScript>RunMacroText("/petattack") </LuaScript>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>PetAttack();</SpellName>
      <Priority>1</Priority>
      <NotSpellIsLuaScript>true</NotSpellIsLuaScript>
    </FightClassSpell>
  </FightClassSpells>
</FightClass>