summon_hawk.xml
<abilities>
<ability>
<hideHitSplash>true</hideHitSplash>
<name>Summon Hawk</name>
<key>summon_hawk</key>
<skill>nature_magic</skill>
<icon>naturemagic_12</icon>
<tagline>"Call upon the skies, and the hawk shall answer your command."</tagline>
<description>
Summon a vicious hawk to aid you in combat.
[p]+1 View Distance per summoned hawk
[n]-10 Maximum Energy per summoned hawk
[p]Hawk: 70 Health, 8-16 Damage, immune to Bramble Bushes. Disappears after 80 turns.
</description>
<type>Immediate</type>
<subType>2_Summoning</subType>
<abilitySoundPack>spell_summon</abilitySoundPack>
<cost>60.0</cost>
<cooldown>20</cooldown>
<immediateInfo>
<abilityUseTime>
<type>standard</type>
</abilityUseTime>
<effects>
<effects>
WITH ExitOnEffectFail;
THEN PlayerSummonMonster -> key:friendly_hawk;
THEN ApplyStatusEffect -> key:«LINK:hawk_summoning_cost», target:player;
</effects>
</effects>
</immediateInfo>
<unlockInfo>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredLevel>5</requiredLevel>
<requiredPoints>2</requiredPoints>
</unlockRequirements>
</unlockInfo>
<requirements>
<requirements>
<type>HasStat</type>
<params>
<params type="key">EnaliaAttunement</params>
<params type="amount">2</params>
</params>
</requirements>
</requirements>
</ability>
</abilities>