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]Hawks have 70 health, deal 8-16 damage, and disappear after 80 turns.
[p]Each summoned hawk increases your vision by 1, but reduces your maximum energy by 10.
[p]Summoned hawks are immune to bramble bushes.
</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>