line_of_fire.xml
<abilities>
<ability>
<name>Line of Fire</name>
<key>line_of_fire</key>
<skill>pyromancy</skill>
<icon>line_of_fire</icon>
<description>
Light a line of tiles on fire, extending up to 6 tiles from your position.
Targets in the path take ⮃8⮃ fire damage and have a ⮃50%⮃ chance to be ignited.
[p]The fires persist, dealing damage each turn to entities standing on them.
</description>
<type>Target</type>
<abilitySoundPack>line_of_fire</abilitySoundPack>
<cost>50.0</cost>
<cooldown>14</cooldown>
<targetInfo>
<type>TileSelection</type>
<aoeTargeting>
<selectionArea>
<type>square</type>
<allowTargets>
<allowCreature>true</allowCreature>
<allowEmpty>true</allowEmpty>
<allowPlayer>false</allowPlayer>
</allowTargets>
<params>
<params type="width">6</params>
<params type="height">6</params>
</params>
</selectionArea>
<targetArea>
<type>freeform1line</type>
<params>
<params type="length">6</params>
<params type="calculatedWidth">calculator_line_of_fire_width</params>
</params>
</targetArea>
</aoeTargeting>
<abilityUseTime>
<type>standard</type>
</abilityUseTime>
</targetInfo>
<unlockInfo>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredPoints>1</requiredPoints>
</unlockRequirements>
</unlockInfo>
<extraTexts>
<extraTexts>
{{upgrade_text -> ability:tyros_reach, text:Increased width.}}
</extraTexts>
</extraTexts>
<requirements>
<requirements>
<type>HasStat</type>
<params>
<params type="key">TyrosAttunement</params>
<params type="amount">1</params>
</params>
</requirements>
</requirements>
<attacks>
<attacks>
<count>0</count>
<modifiers>
<modifiers>
<type>MinimumFireDamage</type>
<amount>8.0</amount>
</modifiers>
<modifiers>
<type>MaximumFireDamage</type>
<amount>8.0</amount>
</modifiers>
</modifiers>
<specialModifiers>
<specialModifiers>
<type>IgnoreBaseDamage</type>
<amount>0</amount>
</specialModifiers>
<specialModifiers>
<type>AlwaysHit</type>
<amount>0</amount>
</specialModifiers>
<specialModifiers>
<type>NoSlide</type>
<amount>0</amount>
</specialModifiers>
<specialModifiers>
<type>IsMagic</type>
<amount>0</amount>
</specialModifiers>
</specialModifiers>
<tileEffects>
<tileEffects>
THEN PlaceFire -> singleTile:true, fireSize:small, sizeIncreaseStat:FireSizeIncrease;
THEN ShowAnimation -> key:fire_pop;
</tileEffects>
</tileEffects>
<targetEffects>
<targetEffects>
IF roll -> odds:0.5;
THEN ApplyStatusEffect -> key:«LINK:ignited»;
THEN OverheadText -> text:Ignited;
</targetEffects>
</targetEffects>
</attacks>
</attacks>
</ability>
</abilities>