All pastes #1943807 Raw Edit

CTD ability fix

public text v1 · immutable
#1943807 ·published 2010-09-18 23:14 UTC
rendered paste body
<?xml version="1.0" encoding="iso-8859-1"?>

<Spells>
	<DataChecksum NoParse="1">
		<Ignore>DisplayName,Description,IconFG,IconBG,IconColor,SoundFX,ParticleEffect,EffectScale</Ignore>
		<Translate>DisplayName,Description</Translate>
	</DataChecksum>

  <SpellDef InternalName="FlameStrike">
    <DisplayName>Flame Strike</DisplayName>
    <Description>Target enemy is lashed with fierce flames and takes your attack strength in damage.</Description>
    <Image>WaterCrystal_Medallion.png</Image>
    <IconFG>Flame_Strike.png</IconFG>
    <IconColor>32,45,243</IconColor>
    <Range>-1</Range>
    <SoundFX>Spell_FireBolt_01</SoundFX>
    <ManaCost>3.0</ManaCost>
    <SpellLevel>1</SpellLevel>
    <SpellType>Tactical</SpellType>
    <SpellClass>Offensive</SpellClass>
    <SpellTargetType>EnemyUnit</SpellTargetType>
    <IsSpecialAbility>1</IsSpecialAbility>
    <GameModifier InternalName="FlameStrikeModifier">
      <ModType>Unit</ModType>
      <Attribute>DefendableDamage</Attribute>
      <Calculate InternalName="AttackerAttack" ValueOwner="CastingUnit">
        <Expression><![CDATA[[UnitStat_Attack]]]></Expression>
      </Calculate>
      <Calculate InternalName="MaxValue">
        <Expression><![CDATA[[AttackerAttack] * -1]]></Expression>
      </Calculate>
      <Calculate InternalName="MinValue">
        <Expression><![CDATA[[AttackerAttack] * -0.1]]></Expression>
      </Calculate>
    </GameModifier>
    <SpellDefEffect>
      <EffectName>Fire_Bolt</EffectName>
      <LocalPosition>0,0,0</LocalPosition>
      <EffectScale>1.5</EffectScale>
      <EffectDelay>0.25</EffectDelay>
      <SnapToTerrain>1</SnapToTerrain>
    </SpellDefEffect>
  </SpellDef>
  
  <SpellDef InternalName="DeadlyBite">
    <DisplayName>Deadly Bite</DisplayName>
    <Description>A devastating bite that deals twice your attack strength in damage.</Description>
    <Image>WaterCrystal_Medallion.png</Image>
    <IconFG>Deadly_Bite.png</IconFG>
    <IconColor>32,45,243</IconColor>
    <Range>1</Range>
    <SoundFX>LargeSpider_Hit1</SoundFX>
    <ManaCost>3.0</ManaCost>
    <SpellLevel>1</SpellLevel>
    <SpellType>Tactical</SpellType>
    <SpellClass>Offensive</SpellClass>
    <SpellTargetType>EnemyUnit</SpellTargetType>
    <IsSpecialAbility>1</IsSpecialAbility>
    <GameModifier InternalName="DeadlyBiteModifier">
      <ModType>Unit</ModType>
      <Attribute>DefendableDamage</Attribute>
      <Calculate InternalName="AttackerAttack" ValueOwner="CastingUnit">
        <Expression><![CDATA[[UnitStat_Attack]]]></Expression>
      </Calculate>
      <Calculate InternalName="MaxValue">
        <Expression><![CDATA[[AttackerAttack] * -2]]></Expression>
      </Calculate>
      <Calculate InternalName="MinValue">
        <Expression><![CDATA[[AttackerAttack] * -0.1]]></Expression>
      </Calculate>
    </GameModifier>
    <SpellDefEffect>
      <EffectName>Deadly_Bite</EffectName>
      <LocalPosition>0,0,0</LocalPosition>
      <EffectScale>1.0</EffectScale>
      <EffectDelay>0.0</EffectDelay>
      <SnapToTerrain>1</SnapToTerrain>
    </SpellDefEffect>
  </SpellDef>

  <SpellDef InternalName="CrushingBlow">
    <DisplayName>Crushing Blow</DisplayName>
    <Description>Target is struck with a powerful blow that cannot miss and deals the attacker's full attack damage.</Description>
    <Image>WaterCrystal_Medallion.png</Image>
    <IconFG>Crushing_Blow.png</IconFG>
    <IconColor>32,45,243</IconColor>
    <Range>1</Range>
    <SoundFX>Hit_Hammer1</SoundFX>
    <ManaCost>3.0</ManaCost>
    <SpellLevel>1</SpellLevel>
    <SpellType>Tactical</SpellType>
    <SpellClass>Offensive</SpellClass>
    <SpellTargetType>EnemyUnit</SpellTargetType>
    <IsSpecialAbility>1</IsSpecialAbility>
    <GameModifier InternalName="CrushingBlowModifier">
      <ModType>Unit</ModType>
      <Attribute>CurHealth</Attribute>
      <Calculate InternalName="AttackerAttack" ValueOwner="CastingUnit">
        <Expression><![CDATA[[UnitStat_Attack]]]></Expression>
      </Calculate>
      <Calculate InternalName="Value">
        <Expression><![CDATA[[AttackerAttack] * -1.0]]></Expression>
      </Calculate>
    </GameModifier>
    <SpellDefEffect>
      <EffectName>Crushing_Blow</EffectName>
      <LocalPosition>0,0,0</LocalPosition>
      <EffectScale>1.5</EffectScale>
      <EffectDelay>0.25</EffectDelay>
      <SnapToTerrain>1</SnapToTerrain>
    </SpellDefEffect>
  </SpellDef>

  <SpellDef InternalName="RainOfStone">
    <DisplayName>Rain of Stone</DisplayName>
    <Description>Stones rain down on target tile. Enemy units take 2X your attack strength in damage.</Description>
    <Image>FireCrystal_Medallion.png</Image>
    <IconFG>Rain_of_Stone.png</IconFG>
    <IconBG>fire1_BG.png</IconBG>
    <IconColor>243,45,32</IconColor>
    <Range>-1</Range>
    <Radius>1</Radius>
    <SoundFX>Spell_EnchantLand_02</SoundFX>
    <ManaCost>3.0</ManaCost>
    <SpellLevel>3</SpellLevel>
    <SpellType>Tactical</SpellType>
    <SpellClass>Offensive</SpellClass>
    <SpellTargetType>EnemyUnit</SpellTargetType>
    <IsSpecialAbility>1</IsSpecialAbility>
    <GameModifier InternalName="RainOfStoneModifier">
      <ModType>Unit</ModType>
      <Attribute>DefendableDamage</Attribute>
      <Calculate InternalName="AttackerAttack" ValueOwner="CastingUnit">
        <Expression><![CDATA[[UnitStat_Attack]]]></Expression>
      </Calculate>
      <Calculate InternalName="MaxValue">
        <Expression><![CDATA[[AttackerAttack] * -2]]></Expression>
      </Calculate>
      <Calculate InternalName="MinValue">
        <Expression><![CDATA[[AttackerAttack] * -0.1]]></Expression>
      </Calculate>
    </GameModifier>
    <SpellDefEffect>
      <EffectName>Rain_of_Stone</EffectName>
      <LocalPosition>0,0,0</LocalPosition>
      <EffectScale>1.6</EffectScale>
      <EffectDelay>0.0</EffectDelay>
      <SnapToTerrain>1</SnapToTerrain>
    </SpellDefEffect>
  </SpellDef>

  <SpellDef InternalName="SavageStrike">
    <DisplayName>Savage Strike</DisplayName>
    <Description>Target enemy is dealt a heavy blow and takes 3X your attack strength in damage.</Description>
    <Image>WaterCrystal_Medallion.png</Image>
    <IconFG>Savage_Strike.png</IconFG>
    <IconColor>32,45,243</IconColor>
    <Range>1</Range>
    <SoundFX>Hit_Hammer1</SoundFX>
    <ManaCost>3.0</ManaCost>
    <SpellLevel>1</SpellLevel>
    <SpellType>Tactical</SpellType>
    <SpellClass>Offensive</SpellClass>
    <SpellTargetType>EnemyUnit</SpellTargetType>
    <IsSpecialAbility>1</IsSpecialAbility>
    <GameModifier InternalName="SavageStrikeModifier">
      <ModType>Unit</ModType>
      <Attribute>DefendableDamage</Attribute>
      <Calculate InternalName="AttackerAttack" ValueOwner="CastingUnit">
        <Expression><![CDATA[[UnitStat_Attack]]]></Expression>
      </Calculate>
      <Calculate InternalName="Value">
        <Expression><![CDATA[[AttackerAttack] * -3.0]]></Expression>
      </Calculate>
    </GameModifier>
    <SpellDefEffect>
      <EffectName>Savage_Strike</EffectName>
      <LocalPosition>0,0,0</LocalPosition>
      <EffectScale>1.5</EffectScale>
      <EffectDelay>0.25</EffectDelay>
      <SnapToTerrain>1</SnapToTerrain>
    </SpellDefEffect>
  </SpellDef>

  <SpellDef InternalName="Hurricane">
    <DisplayName>Hurricane</DisplayName>
    <Description>Target enemy is blown to a random unoccupied tile by a mighty hurricane.</Description>
    <Image>WaterCrystal_Medallion.png</Image>
    <IconFG>Hurricane.png</IconFG>
    <IconColor>32,45,243</IconColor>
    <Range>-1</Range>
    <SoundFX>Spell_Wind_01</SoundFX>
    <ManaCost>3.0</ManaCost>
    <SpellLevel>5</SpellLevel>
    <SpellType>Tactical</SpellType>
    <SpellClass>Offensive</SpellClass>
    <SpellTargetType>EnemyUnit</SpellTargetType>
    <IsSpecialAbility>1</IsSpecialAbility>
    <GameModifier InternalName="HurricaneMoveModifier">
      <ModType>TacticalUnit</ModType>
      <Attribute>ChanceToMoveTargetToRandomTile</Attribute>
      <Value>1</Value>
    </GameModifier>
    <GameModifier InternalName="HurricaneDamageModifier">
      <ModType>Unit</ModType>
      <Attribute>DefendableDamage</Attribute>
      <Calculate InternalName="AttackerAttack" ValueOwner="CastingUnit">
        <Expression><![CDATA[[UnitStat_Attack]]]></Expression>
      </Calculate>
      <Calculate InternalName="Value">
        <Expression><![CDATA[[AttackerAttack] * -0.5]]></Expression>
      </Calculate>
    </GameModifier>
    <SpellDefEffect>
      <EffectName>Confusion</EffectName>
      <LocalPosition>0,0,0</LocalPosition>
      <EffectScale>1.5</EffectScale>
      <EffectDelay>0.25</EffectDelay>
      <SnapToTerrain>1</SnapToTerrain>
    </SpellDefEffect>
  </SpellDef>

  <SpellDef InternalName="Backstab">
    <DisplayName>Backstab</DisplayName>
    <Description>Target enemy strikes all adjacent enemies, dealing .5X its attack strength in true damage.</Description>
    <Image>WaterCrystal_Medallion.png</Image>
    <IconFG>Backstab.png</IconFG>
    <IconColor>32,45,243</IconColor>
    <Range>0</Range>
    <Radius>1</Radius>
    <SoundFX>Hit_BasicSword2</SoundFX>
    <ManaCost>3.0</ManaCost>
    <SpellLevel>1</SpellLevel>
    <SpellType>Tactical</SpellType>
    <SpellClass>Offensive</SpellClass>
    <SpellTargetType>EnemyUnitIgnoreFriendly</SpellTargetType>
    <IsSpecialAbility>1</IsSpecialAbility>
    <GameModifier InternalName="BackstabModifier">
      <ModType>Unit</ModType>
      <Attribute>CurHealth</Attribute>
      <Calculate InternalName="AttackerAttack" ValueOwner="CastingUnit">
        <Expression><![CDATA[[UnitStat_Attack]]]></Expression>
      </Calculate>
      <Calculate InternalName="Value">
        <Expression><![CDATA[[AttackerAttack] * -0.5]]></Expression>
      </Calculate>
    </GameModifier>
    <SpellDefEffect>
      <EffectName>Backstab</EffectName>
      <LocalPosition>0,35,0</LocalPosition>
      <EffectScale>0.65</EffectScale>
      <EffectDelay>0.0</EffectDelay>
      <SnapToTerrain>1</SnapToTerrain>
      <PlayOnAllTargets>1</PlayOnAllTargets>
    </SpellDefEffect>
  </SpellDef>
</Spells>