mods/heroesdata.stormmod/base.stormdata/ai/jaina.aitree

jaina.aitree
<?xml version="1.0" encoding="us-ascii"?>
<tree>
  <include file="AI/HeroMutator.aitree" />
  <mod id="746F6F526F726548">
    <variable name="HighMana" type="Number" />
    <variable name="MidMana" type="Number" />
  </mod>
  <mod id="93D883AF1FB031B1">
    <insertChild id="79093AFB2B207904" />
    <insertChild id="9E72C36E9B963ECB" />
  </mod>
  <mod id="A4058AA255280C17">
    <insertChild id="F9976420435D043B" />
    <insertChild id="58399282322F7945" />
    <insertChild id="B03622870B61BF3B" />
    <insertChild id="C34A21BF2C204C5F" />
  </mod>
  <mod id="F21BCB9B06948439">
    <insertChild id="79093AFB2B207904" />
    <insertChild id="9E72C36E9B963ECB" />
    <insertChild id="6A62D1B3FDDDCB48" />
    <insertChild id="F4B33AF82A567135" />
    <insertChild id="319FDB1E0EBD3DBE" />
    <insertChild id="EE7C80CF359D85BA" />
  </mod>
  <node name="JainaBlizzard" type="Ability" id="696C42051C081B30">
    <property name="Ability" valueSource="literal" value="JainaBlizzard" />
    <property name="TargetPoint" valueSource="variable" value="BlizzardPoint" />
  </node>
  <node name="Blizzard" type="AbilityUsable" id="6A62D1B3FDDDCB48">
    <property name="Ability" valueSource="literal" value="JainaBlizzard" />
    <insertChild id="FDC3035FD6C5D66C" />
  </node>
  <node name="" type="And" id="FDC3035FD6C5D66C">
    <variable name="BlizzardRange" type="Number" valueSource="lookup" value="Abil,JainaBlizzard,Range" />
    <variable name="BlizzardAOE" type="Number" valueSource="lookup" value="Effect,JainaBlizzardSearch,AreaArray[0].Radius" />
    <variable name="BlizzardPoint" type="Point" />
    <variable name="BlizzardAOEHeroCheckRange" type="Number" value="10" />
    <variable name="BlizzardFutureSeconds" type="Number" value="0.5" />
    <variable name="BlizzardTotalHeroesNearby" type="Integer" />
    <insertChild id="7FDD923E0A6A3D75" />
    <insertChild id="696C42051C081B30" />
  </node>
  <node name="" type="Or" id="222134226196A946">
    <insertChild id="277AFB7A167FACD5" />
    <insertChild id="3A3E1D8F790DDAA3" />
    <insertChild id="DDA5E6311F3873A3" />
    <insertChild id="97B6A86FBAC33217" />
  </node>
  <node name="" type="IfElse" id="7FDD923E0A6A3D75">
    <insertChild id="348EF02ACF2914CB" />
    <insertChild id="BB7BFB2059F2431A" />
    <insertChild id="6AB00E1B4EE4F8B1" />
  </node>
  <node name="Enemy Hero Close" type="UnitCount" id="348EF02ACF2914CB">
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardAOEHeroCheckRange" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="PredictionSeconds" valueSource="literal" value="0.5" />
  </node>
  <node name="4 Minion" type="FindBestAOEPoint" id="97B6A86FBAC33217">
    <property name="TargetTypes" valueSource="literal" value="Creep,Tower,Minion,Merc,Structure,Summoned,MapBoss,MapCreature,AITargetableStructure" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardRange" />
    <property name="AOERadius" valueSource="variable" value="BlizzardAOE" />
    <property name="PredictionSeconds" valueSource="literal" value="0.375" />
    <property name="OutputTarget" value="BlizzardPoint" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargets" valueSource="literal" value="4" />
    <insertChild id="79FC836D51ABF8F1" />
  </node>
  <node name="Hero In blizzard" type="UnitCount" id="79FC836D51ABF8F1">
    <property name="SearchCenter" valueSource="variable" value="BlizzardPoint" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardAOE" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
  </node>
  <node name="3 Hero" type="FindBestAOEPoint" id="277AFB7A167FACD5">
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardRange" />
    <property name="AOERadius" valueSource="variable" value="BlizzardAOE" />
    <property name="PredictionSeconds" valueSource="literal" value="0.375" />
    <property name="OutputTarget" value="BlizzardPoint" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="MinTargets" valueSource="literal" value="3" />
  </node>
  <node name="Self &gt;75%" type="EnergyFraction" id="9D394AACFD91C02E">
    <property name="EnergyFraction" valueSource="variable" value="HighMana" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="222134226196A946" />
  </node>
  <node name="" type="Or" id="BB7BFB2059F2431A">
    <insertChild id="C177747C0A0DEEB0" />
    <insertChild id="9D394AACFD91C02E" />
    <insertChild id="63666DC3AD9C677B" />
    <insertChild id="28552DD23EC7239A" />
  </node>
  <node name="Self &gt;50%" type="EnergyFraction" id="63666DC3AD9C677B">
    <property name="EnergyFraction" valueSource="variable" value="MidMana" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="EC9FADCDA4C4C23E" />
  </node>
  <node name="Self &lt; 50%" type="EnergyFraction" id="28552DD23EC7239A">
    <property name="EnergyFraction" valueSource="variable" value="MidMana" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <property name="Comparison" valueSource="literal" value="LT" />
    <insertChild id="6526B8A5CF6F1064" />
  </node>
  <node name="2 Hero &lt; 90%" type="FindBestAOEPoint" id="3A3E1D8F790DDAA3">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardRange" />
    <property name="AOERadius" valueSource="variable" value="BlizzardAOE" />
    <property name="PredictionSeconds" valueSource="literal" value="0.375" />
    <property name="OutputTarget" value="BlizzardPoint" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargets" valueSource="literal" value="2" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.9" />
  </node>
  <node name="1 Hero &lt; 75%" type="FindBestAOEPoint" id="DDA5E6311F3873A3">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardRange" />
    <property name="AOERadius" valueSource="variable" value="BlizzardAOE" />
    <property name="PredictionSeconds" valueSource="literal" value="0.375" />
    <property name="OutputTarget" value="BlizzardPoint" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.75" />
  </node>
  <node name="" type="Or" id="EC9FADCDA4C4C23E">
    <insertChild id="067149BA92BD66A6" />
    <insertChild id="79B23565BB90BB97" />
    <insertChild id="65093A92A9A8FDC2" />
    <insertChild id="B29C9B22B1D03A63" />
  </node>
  <node name="5 Minion" type="FindBestAOEPoint" id="B29C9B22B1D03A63">
    <property name="TargetTypes" valueSource="literal" value="Creep,Tower,Minion,Merc,Structure,Summoned,MapBoss,MapCreature,AITargetableStructure" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardRange" />
    <property name="AOERadius" valueSource="variable" value="BlizzardAOE" />
    <property name="PredictionSeconds" valueSource="literal" value="0.375" />
    <property name="OutputTarget" value="BlizzardPoint" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargets" valueSource="literal" value="5" />
    <insertChild id="2D60E107DEF5125E" />
  </node>
  <node name="Hero In blizzard" type="UnitCount" id="2D60E107DEF5125E">
    <property name="SearchCenter" valueSource="variable" value="BlizzardPoint" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardAOE" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.9" />
  </node>
  <node name="3 Hero &lt; 90%" type="FindBestAOEPoint" id="067149BA92BD66A6">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardRange" />
    <property name="AOERadius" valueSource="variable" value="BlizzardAOE" />
    <property name="PredictionSeconds" valueSource="literal" value="0.375" />
    <property name="OutputTarget" value="BlizzardPoint" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargets" valueSource="literal" value="3" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.9" />
  </node>
  <node name="2 Hero &lt; 60%" type="FindBestAOEPoint" id="79B23565BB90BB97">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardRange" />
    <property name="AOERadius" valueSource="variable" value="BlizzardAOE" />
    <property name="PredictionSeconds" valueSource="literal" value="0.375" />
    <property name="OutputTarget" value="BlizzardPoint" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargets" valueSource="literal" value="2" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.6" />
  </node>
  <node name="1 Hero &lt; 50%" type="FindBestAOEPoint" id="65093A92A9A8FDC2">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardRange" />
    <property name="AOERadius" valueSource="variable" value="BlizzardAOE" />
    <property name="PredictionSeconds" valueSource="literal" value="0.375" />
    <property name="OutputTarget" value="BlizzardPoint" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.5" />
  </node>
  <node name="" type="Or" id="6526B8A5CF6F1064">
    <insertChild id="7ADD30F437784CE0" />
    <insertChild id="408F307FCCD86757" />
    <insertChild id="78B713B3F0248953" />
    <insertChild id="A533FE5E03AF7AB4" />
  </node>
  <node name="6 Minion" type="FindBestAOEPoint" id="A533FE5E03AF7AB4">
    <property name="TargetTypes" valueSource="literal" value="Creep,Tower,Minion,Merc,Structure,Summoned,MapBoss,MapCreature,AITargetableStructure" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardRange" />
    <property name="AOERadius" valueSource="variable" value="BlizzardAOE" />
    <property name="PredictionSeconds" valueSource="literal" value="0.375" />
    <property name="OutputTarget" value="BlizzardPoint" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargets" valueSource="literal" value="6" />
    <insertChild id="79213E7BF563A1EB" />
  </node>
  <node name="Hero In blizzard" type="UnitCount" id="79213E7BF563A1EB">
    <property name="SearchCenter" valueSource="variable" value="BlizzardPoint" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardAOE" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.75" />
  </node>
  <node name="3 Hero &lt; 75%" type="FindBestAOEPoint" id="7ADD30F437784CE0">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardRange" />
    <property name="AOERadius" valueSource="variable" value="BlizzardAOE" />
    <property name="PredictionSeconds" valueSource="literal" value="0.375" />
    <property name="OutputTarget" value="BlizzardPoint" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargets" valueSource="literal" value="3" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.75" />
  </node>
  <node name="2 Hero &lt; 50%" type="FindBestAOEPoint" id="408F307FCCD86757">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardRange" />
    <property name="AOERadius" valueSource="variable" value="BlizzardAOE" />
    <property name="PredictionSeconds" valueSource="literal" value="0.375" />
    <property name="OutputTarget" value="BlizzardPoint" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargets" valueSource="literal" value="2" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.5" />
  </node>
  <node name="1 Hero &lt; 30%" type="FindBestAOEPoint" id="78B713B3F0248953">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardRange" />
    <property name="AOERadius" valueSource="variable" value="BlizzardAOE" />
    <property name="PredictionSeconds" valueSource="literal" value="0.375" />
    <property name="OutputTarget" value="BlizzardPoint" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.3" />
  </node>
  <node name="" type="Or" id="6AB00E1B4EE4F8B1">
    <insertChild id="3DB18D339B718C33" />
    <insertChild id="BAC50585DAE883BB" />
    <insertChild id="29C1B7B3DA6CA6DB" />
  </node>
  <node name="Self &gt;75%" type="EnergyFraction" id="3DB18D339B718C33">
    <property name="EnergyFraction" valueSource="variable" value="HighMana" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="F5D41FA3F3912037" />
  </node>
  <node name="" type="Or" id="F5D41FA3F3912037">
    <insertChild id="3948939B4ABC8278" />
  </node>
  <node name="4 Minion" type="FindBestAOEPoint" id="3948939B4ABC8278">
    <property name="TargetTypes" valueSource="literal" value="Creep,Tower,Minion,Merc,Structure,Summoned,MapBoss,MapCreature,AITargetableStructure" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardRange" />
    <property name="AOERadius" valueSource="variable" value="BlizzardAOE" />
    <property name="PredictionSeconds" valueSource="literal" value="0.375" />
    <property name="OutputTarget" value="BlizzardPoint" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargets" valueSource="literal" value="4" />
  </node>
  <node name="Self &gt;50%" type="EnergyFraction" id="BAC50585DAE883BB">
    <property name="EnergyFraction" valueSource="variable" value="MidMana" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="A9912CE7F0F1AA43" />
  </node>
  <node name="" type="Or" id="A9912CE7F0F1AA43">
    <insertChild id="172BDA385FFB352E" />
    <insertChild id="EDD7D4D7DF3CB406" />
  </node>
  <node name="5 Minion" type="FindBestAOEPoint" id="172BDA385FFB352E">
    <property name="TargetTypes" valueSource="literal" value="Creep,Tower,Minion,Merc,Structure,Summoned,MapBoss,MapCreature,AITargetableStructure" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardRange" />
    <property name="AOERadius" valueSource="variable" value="BlizzardAOE" />
    <property name="PredictionSeconds" valueSource="literal" value="0.375" />
    <property name="OutputTarget" value="BlizzardPoint" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargets" valueSource="literal" value="5" />
  </node>
  <node name="Self &lt; 50%" type="EnergyFraction" id="29C1B7B3DA6CA6DB">
    <property name="EnergyFraction" valueSource="variable" value="MidMana" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <property name="Comparison" valueSource="literal" value="LT" />
    <insertChild id="AC223EB5084BC4C6" />
  </node>
  <node name="" type="Or" id="AC223EB5084BC4C6">
    <insertChild id="4755885BD3733796" />
  </node>
  <node name="6 Minion" type="FindBestAOEPoint" id="4755885BD3733796">
    <property name="TargetTypes" valueSource="literal" value="Creep,Tower,Minion,Merc,Structure,Summoned,MapBoss,MapCreature,AITargetableStructure" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardRange" />
    <property name="AOERadius" valueSource="variable" value="BlizzardAOE" />
    <property name="PredictionSeconds" valueSource="literal" value="0.375" />
    <property name="OutputTarget" value="BlizzardPoint" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargets" valueSource="literal" value="6" />
  </node>
  <node name="1 Boss/Creature" type="FindBestAOEPoint" id="EDD7D4D7DF3CB406">
    <property name="TargetTypes" valueSource="literal" value="Creep,MapBoss,MapCreature,AITargetableStructure" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardRange" />
    <property name="AOERadius" valueSource="variable" value="BlizzardAOE" />
    <property name="PredictionSeconds" valueSource="literal" value="0.375" />
    <property name="OutputTarget" value="BlizzardPoint" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargets" valueSource="literal" value="1" />
  </node>
  <node name="Frostbolt" type="AbilityUsable" id="319FDB1E0EBD3DBE" comment="This Node is the start of the branch. It check that the ability is actually usable before doing any logic for it.">
    <property name="Ability" valueSource="literal" value="JainaFrostbolt" />
    <insertChild id="AFBF0DB06B29C262" />
  </node>
  <node name="Base Node" type="And" id="AFBF0DB06B29C262" comment="This Node links targeting Logic, ability use and talent modifications">
    <variable name="AbilityRange" type="Number" value="10" comment="Range of the Ability" />
    <variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
    <variable name="AbilityMissileRadius" type="Number" value="0.5" comment="Width of the Ability Searches" />
    <variable name="AbilityMissilePierceCount" type="Integer" value="1" comment="Number of Blockers this can go through" />
    <variable name="AbilityHighManaThreshHold" type="Number" value="0.75" comment="High Mana ThreshHold" />
    <variable name="AbilityLowManaThreshHold" type="Number" value="0.4" comment="Low Mana ThreshHold" />
    <variable name="AbilityPredictionSeconds" type="Number" valueSource="lookup" value="Abil,JainaFrostbolt,CastIntroTime" />
    <variable name="AbilityPredictionSpeed" type="Number" value="15" comment="Mover,JainaFrostboltMissile,MotionPhases[0].Speed" />
    <insertChild id="368835C3F43CF409" />
  </node>
  <node name="Targeting Selecting Node" type="Or" id="A2691F9B2ED2B8C4">
    <insertChild id="1FC65C42A25C3FE8" />
    <insertChild id="4B5FD789B675AD4E" />
    <insertChild id="6B053B064708B0D5" />
    <insertChild id="CC2AB1B1EC93E8AA" />
    <insertChild id="133581AD0ADB1F47" />
    <insertChild id="84A9F9780B0E76A7" />
  </node>
  <node name="Self &gt; 75%" type="EnergyFraction" id="CC2AB1B1EC93E8AA">
    <property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="1AE63F06F4B6ABD1" />
  </node>
  <node name="High Mana Targeting" type="Or" id="1AE63F06F4B6ABD1">
    <insertChild id="DD2D6DDEDA06CA15" />
  </node>
  <node name="Self &gt; 40%" type="EnergyFraction" id="133581AD0ADB1F47">
    <property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="C99C2CA60D809DF9" />
  </node>
  <node name="Medium Mana Targeting" type="Or" id="C99C2CA60D809DF9">
    <insertChild id="639D711F1EC1E73E" />
    <insertChild id="2415FA77E34A1341" />
  </node>
  <node name="Self &lt; 40%" type="EnergyFraction" id="84A9F9780B0E76A7">
    <property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
    <property name="Comparison" valueSource="literal" value="LT" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="8D3189952500CDDE" />
  </node>
  <node name="Low Mana Targeting" type="Or" id="8D3189952500CDDE">
    <insertChild id="ED056ECCA08F6F8B" />
  </node>
  <node name="Use Ability" type="Ability" id="987E36965ED429E6">
    <property name="Ability" valueSource="literal" value="JainaFrostbolt" />
    <property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
  </node>
  <node name="" type="Sequence" id="98EF4C1E6DD5621D">
    <property name="IgnoreChildFailures" valueSource="literal" value="true" />
    <insertChild id="428481B91461DFDA" />
  </node>
  <node name="Frost Shards" type="UnitHasTalent" id="428481B91461DFDA">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Talent" valueSource="literal" value="JainaFrostboltFrostShards" />
    <insertChild id="428FFC2D5E87B526" />
  </node>
  <node name="Increase Pierce Count" type="SetInteger" id="428FFC2D5E87B526">
    <property name="Variable" value="AbilityMissilePierceCount" />
    <property name="Value" valueSource="literal" value="10" />
  </node>
  <node name="Ice Lance" type="UnitHasTalent" id="6B053B064708B0D5">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Talent" valueSource="literal" value="JainaFrostboltIceLance" />
    <insertChild id="2FA83395E73433DB" />
  </node>
  <node name="Find 1 Hero" type="FindBestVector" id="1FC65C42A25C3FE8">
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="MissilePierceCount" valueSource="variable" value="AbilityMissilePierceCount" />
    <property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
    <property name="OutputEndPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
    <property name="Behavior" valueSource="literal" value="JainaChilledDamageBonus" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.5" />
    <property name="LifeFractionFactor" valueSource="literal" value="10" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Enemy" />
  </node>
  <node name="Refresh" type="Or" id="2FA83395E73433DB">
    <insertChild id="A6ECFCD6E4A5406A" />
  </node>
  <node name="Critical Enemy" type="FindBestVector" id="A6ECFCD6E4A5406A">
    <property name="TargetTypes" valueSource="literal" value="" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
    <property name="MissilePierceCount" valueSource="variable" value="AbilityMissilePierceCount" />
    <property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
    <property name="OutputEndPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
    <property name="Behavior" valueSource="literal" value="JainaChilledDamageBonus" />
    <property name="LifeFractionFactor" valueSource="literal" value="10" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
    <property name="PredictionMissileSpeed" valueSource="variable" value="AbilityPredictionSpeed" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Enemy" />
  </node>
  <node name="Frost Shards" type="UnitHasTalent" id="4B5FD789B675AD4E">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Talent" valueSource="literal" value="JainaFrostboltFrostShards" />
    <insertChild id="DBE2887F574613A9" />
  </node>
  <node name="Find 1 Hero" type="FindBestVector" id="DD2D6DDEDA06CA15">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MissilePierceCount" valueSource="variable" value="AbilityMissilePierceCount" />
    <property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
    <property name="OutputEndPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
    <property name="Behavior" valueSource="literal" value="JainaChilledDamageBonus" />
    <property name="LifeFractionFactor" valueSource="literal" value="10" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="PredictionMissileSpeed" valueSource="variable" value="AbilityPredictionSpeed" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Enemy" />
  </node>
  <node name="Find 1 Hero" type="FindBestVector" id="639D711F1EC1E73E">
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="MissilePierceCount" valueSource="variable" value="AbilityMissilePierceCount" />
    <property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
    <property name="OutputEndPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
    <property name="Behavior" valueSource="literal" value="JainaChilledDamageBonus" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.75" />
    <property name="LifeFractionFactor" valueSource="literal" value="10" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
    <property name="PredictionMissileSpeed" valueSource="variable" value="AbilityPredictionSpeed" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Enemy" />
  </node>
  <node name="Find 1 Hero" type="FindBestVector" id="ED056ECCA08F6F8B">
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="MissilePierceCount" valueSource="variable" value="AbilityMissilePierceCount" />
    <property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
    <property name="OutputEndPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
    <property name="Behavior" valueSource="literal" value="JainaChilledDamageBonus" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.5" />
    <property name="LifeFractionFactor" valueSource="literal" value="10" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
    <property name="PredictionMissileSpeed" valueSource="variable" value="AbilityPredictionSpeed" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Enemy" />
  </node>
  <node name="Critical Enemy" type="FindBestVector" id="77DE27623BD0C6AD">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MissilePierceCount" valueSource="literal" value="1" />
    <property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
    <property name="OutputEndPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="2" />
    <property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Enemy" />
    <property name="Behavior" valueSource="literal" value="" />
    <property name="LifeFractionFactor" valueSource="literal" value="10" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="PredictionMissileSpeed" valueSource="variable" value="AbilityPredictionSpeed" />
    <property name="DistanceFactor" valueSource="literal" value="0" />
    <property name="PreferredPointFactor" valueSource="literal" value="0" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="" type="And" id="368835C3F43CF409">
    <insertChild id="98EF4C1E6DD5621D" />
    <insertChild id="A2691F9B2ED2B8C4" />
    <insertChild id="987E36965ED429E6" />
  </node>
  <node name="Hit 2 targets" type="Or" id="DBE2887F574613A9">
    <insertChild id="77DE27623BD0C6AD" />
  </node>
  <node name="Cone of Cold" type="AbilityUsable" id="F4B33AF82A567135" comment="This Node is the start of the branch. It check that the ability is actually usable before doing any logic for it.">
    <property name="Ability" valueSource="literal" value="JainaConeOfCold" />
    <insertChild id="6E8A8D461B19E69F" />
  </node>
  <node name="Base Node" type="And" id="6E8A8D461B19E69F" comment="This Node links targeting Logic, ability use and talent modifications">
    <variable name="AbilityRange" type="Number" value="6" comment="Range of the Ability" />
    <variable name="AbilityArc" type="Number" value="45" />
    <variable name="AbilityHighManaThreshHold" type="Number" value="0.75" />
    <variable name="AbilityLowManaThreshHold" type="Number" value="0.4" />
    <variable name="AbilityTargetPoint" type="Point" />
    <variable name="AbilityCastTime" type="Number" />
    <insertChild id="F82EEE01FC1E7095" />
    <insertChild id="C3DC8A371ED561A3" />
    <insertChild id="9C73E99949EF4B99" />
  </node>
  <node name="Targeting Selecting Node" type="Or" id="C3DC8A371ED561A3">
    <insertChild id="8394070258C9C6B3" />
    <insertChild id="6633D6D2F7CA4AAC" />
    <insertChild id="13F7D257F2A4CF7F" />
    <insertChild id="9CA5CDCCB79EE27C" />
  </node>
  <node name="Self &gt; 75%" type="EnergyFraction" id="6633D6D2F7CA4AAC">
    <property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="04B2A9F40481013F" />
  </node>
  <node name="High Mana Targeting" type="Or" id="04B2A9F40481013F">
    <insertChild id="E6B12023DAB1DE86" />
    <insertChild id="EC86946058AE1FF6" />
  </node>
  <node name="1 Hero" type="FindBestArc" id="E6B12023DAB1DE86">
    <property name="OutputTarget" value="AbilityTargetPoint" />
    <property name="ArcAngle" valueSource="variable" value="AbilityArc" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
  </node>
  <node name="3 Anything" type="FindBestArc" id="EC86946058AE1FF6">
    <property name="OutputTarget" value="AbilityTargetPoint" />
    <property name="ArcAngle" valueSource="variable" value="AbilityArc" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetTypes" valueSource="literal" value="Creep,Tower,Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="TargetCount" valueSource="literal" value="3" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
  </node>
  <node name="Self &gt; 40%" type="EnergyFraction" id="13F7D257F2A4CF7F">
    <property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="581963AE19974791" />
  </node>
  <node name="Medium Mana Targeting" type="Or" id="581963AE19974791">
    <insertChild id="1602C308027C1290" />
    <insertChild id="10AFD861BAB0300F" />
    <insertChild id="4A34665327A8E2EE" />
    <insertChild id="0A4DF277680E455F" />
  </node>
  <node name="1 Hurt Hero" type="FindBestArc" id="1602C308027C1290">
    <property name="OutputTarget" value="AbilityTargetPoint" />
    <property name="ArcAngle" valueSource="variable" value="AbilityArc" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.75" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
  </node>
  <node name="2 Hero" type="FindBestArc" id="10AFD861BAB0300F">
    <property name="OutputTarget" value="AbilityTargetPoint" />
    <property name="ArcAngle" valueSource="variable" value="AbilityArc" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="TargetCount" valueSource="literal" value="2" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
  </node>
  <node name="5 Anything" type="FindBestArc" id="4A34665327A8E2EE">
    <property name="OutputTarget" value="AbilityTargetPoint" />
    <property name="ArcAngle" valueSource="variable" value="AbilityArc" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetTypes" valueSource="literal" value="Creep,Tower,Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="TargetCount" valueSource="literal" value="3" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
  </node>
  <node name="Self &lt; 40%" type="EnergyFraction" id="9CA5CDCCB79EE27C">
    <property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
    <property name="Comparison" valueSource="literal" value="LT" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="A61BA497A38E6CD5" />
  </node>
  <node name="Low Mana Targeting" type="Or" id="A61BA497A38E6CD5">
    <insertChild id="B844EEE68E4B286A" />
    <insertChild id="D1E6F788A7BDD546" />
    <insertChild id="5F07D7FBBCA8E2B2" />
  </node>
  <node name="3 Hero" type="FindBestArc" id="B844EEE68E4B286A">
    <property name="OutputTarget" value="AbilityTargetPoint" />
    <property name="ArcAngle" valueSource="variable" value="AbilityArc" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="TargetCount" valueSource="literal" value="3" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
  </node>
  <node name="2 Low Hero" type="FindBestArc" id="D1E6F788A7BDD546">
    <property name="OutputTarget" value="AbilityTargetPoint" />
    <property name="ArcAngle" valueSource="variable" value="AbilityArc" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="TargetCount" valueSource="literal" value="2" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.75" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
  </node>
  <node name="Use Ability" type="Ability" id="9C73E99949EF4B99">
    <property name="Ability" valueSource="literal" value="JainaConeOfCold" />
    <property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
  </node>
  <node name="1 Hurt Hero" type="FindBestArc" id="5F07D7FBBCA8E2B2">
    <property name="OutputTarget" value="AbilityTargetPoint" />
    <property name="ArcAngle" valueSource="variable" value="AbilityArc" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.5" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
  </node>
  <node name="Ice Floes" type="UnitHasTalent" id="8394070258C9C6B3">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Talent" valueSource="literal" value="JainaConeOfColdIceFloes" />
    <insertChild id="7FCA334C18D1E97C" />
  </node>
  <node name="2 Hero" type="FindBestArc" id="7FCA334C18D1E97C">
    <property name="OutputTarget" value="AbilityTargetPoint" />
    <property name="ArcAngle" valueSource="variable" value="AbilityArc" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="TargetCount" valueSource="literal" value="2" />
    <property name="DistanceFactor" valueSource="literal" value="0" />
    <property name="LifeFractionFactor" valueSource="literal" value="10" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
  </node>
  <node name="Ice Floes" type="UnitHasTalent" id="5D6DCF496703672B">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Talent" valueSource="literal" value="JainaConeOfColdIceFloes" />
    <insertChild id="343E57D2B47D09A5" />
  </node>
  <node name="Increase Arc Hero" type="SetNumber" id="343E57D2B47D09A5">
    <property name="Variable" value="AbilityArc" />
    <property name="Value" valueSource="literal" value="90" />
  </node>
  <node name="" type="Sequence" id="F82EEE01FC1E7095">
    <property name="IgnoreChildFailures" valueSource="literal" value="true" />
    <insertChild id="5D6DCF496703672B" />
  </node>
  <node name="Ice Block" type="AbilityUsable" id="79093AFB2B207904">
    <property name="Ability" valueSource="literal" value="JainaIceBlockActivate" />
    <insertChild id="0C975BDA15F7410E" />
  </node>
  <node name="Ice Block" type="And" id="0C975BDA15F7410E">
    <insertChild id="1E359896B4D478B8" />
    <insertChild id="2AB77C95A1039E3B" />
  </node>
  <node name="Use Ice Block" type="And" id="1E359896B4D478B8">
    <insertChild id="499E81141C83F7BE" />
    <insertChild id="8E4C15F844A7C68E" />
    <insertChild id="85D6E60E3600C317" />
    <insertChild id="8C536BA876F7FA14" />
  </node>
  <node name="" type="Or" id="85D6E60E3600C317">
    <insertChild id="AB8B9629936301EA" />
    <insertChild id="D5607DE69F8A1383" />
  </node>
  <node name="Less than 40%" type="LifeFraction" id="AB8B9629936301EA">
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="LifeFraction" valueSource="literal" value="0.4" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="9F5A885C3A91F50A" />
  </node>
  <node name="Two Enemy Heroes" type="UnitCount" id="9F5A885C3A91F50A">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="TargetCount" valueSource="literal" value="2" />
    <property name="MaxTargetDistance" valueSource="literal" value="6" />
    <property name="MaxLifeFraction" valueSource="literal" value="1" />
  </node>
  <node name="Less than 20%" type="LifeFraction" id="D5607DE69F8A1383">
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="LifeFraction" valueSource="literal" value="0.2" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="F4834AC549B94ECC" />
  </node>
  <node name="One Enemy Hero" type="UnitCount" id="F4834AC549B94ECC">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="literal" value="6" />
    <property name="MaxLifeFraction" valueSource="literal" value="1" />
  </node>
  <node name="In Combat" type="Validator" id="8C536BA876F7FA14">
    <property name="Target" valueSource="intrinsic" value="Self" />
    <property name="Validator" valueSource="literal" value="CasterInCombat" />
  </node>
  <node name="" type="Not" id="499E81141C83F7BE">
    <insertChild id="2C98DD75C4D97CA5" />
  </node>
  <node name="Is Ice Blocked" type="UnitHasBehavior" id="2C98DD75C4D97CA5">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Behavior" valueSource="literal" value="JainaImprovedIceBlock" />
  </node>
  <node name="" type="Not" id="8E4C15F844A7C68E">
    <insertChild id="6F8904E8206A6C18" />
  </node>
  <node name="Is Ice Colded" type="UnitHasBehavior" id="6F8904E8206A6C18">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Behavior" valueSource="literal" value="JainaIceCold" />
  </node>
  <node name="Ice Block" type="Ability" id="2AB77C95A1039E3B">
    <property name="Ability" valueSource="literal" value="JainaIceBlockActivate" />
  </node>
  <node name="Icy Veins" type="AbilityUsable" id="F9976420435D043B">
    <property name="Ability" valueSource="literal" value="IcyVeins" />
    <insertChild id="4203672C6C2DCEC6" />
  </node>
  <node name="" type="And" id="4203672C6C2DCEC6">
    <insertChild id="87E3F2241254C3DB" />
    <insertChild id="BAFED298EBB37961" />
    <insertChild id="0248F63FD8D21C49" />
  </node>
  <node name="" type="Or" id="87E3F2241254C3DB">
    <insertChild id="60E7810B246981CB" />
    <insertChild id="A389CB0537D1CF79" />
    <insertChild id="AE7DF9CD4285A54B" />
  </node>
  <node name="Use Ability" type="Ability" id="0248F63FD8D21C49">
    <property name="Ability" valueSource="literal" value="IcyVeins" />
    <property name="DoNotThrottle" valueSource="literal" value="true" />
  </node>
  <node name="Team Fight" type="IsInTeamfight" id="60E7810B246981CB">
    <property name="TargetUnit" valueSource="intrinsic" value="Self" />
  </node>
  <node name="Water Elemental" type="AbilityUsable" id="58399282322F7945">
    <property name="Ability" valueSource="literal" value="JainaSummonWaterElemental" />
    <insertChild id="9C00AA45495070D0" />
  </node>
  <node name="" type="And" id="9C00AA45495070D0">
    <variable name="WaterElementalTargetPoint" type="Point" />
    <variable name="WaterElementalRange" type="Number" valueSource="lookup" value="Abil,JainaSummonWaterElemental,Range" />
    <insertChild id="9549BC5EF5BD91CA" />
    <insertChild id="7256BEFA92832B04" />
  </node>
  <node name="" type="Or" id="9549BC5EF5BD91CA">
    <insertChild id="90D6474A03074FBE" />
    <insertChild id="069C56A5A12B24A3" />
  </node>
  <node name="3 Enemies" type="FindBestAOEPoint" id="90D6474A03074FBE">
    <property name="TargetTypes" valueSource="literal" value="Enemy,Heroic" />
    <property name="OutputTarget" value="WaterElementalTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="2" />
    <property name="Behavior" valueSource="literal" value="" />
    <property name="BehaviorRequiredCaster" valueSource="literal" value="" />
    <property name="AOERadius" valueSource="literal" value="5" />
    <property name="MaxTargetDistance" valueSource="variable" value="WaterElementalRange" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.9" />
    <property name="MinLifeFraction" valueSource="literal" value="0.1" />
  </node>
  <node name="Health &lt; 50%" type="LifeFraction" id="069C56A5A12B24A3">
    <property name="LifeFraction" valueSource="literal" value="0.5" />
    <property name="Comparison" valueSource="literal" value="LT" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="A70AE88AF37A7F8D" />
  </node>
  <node name="Enemy Nearby" type="FindBestAOEPoint" id="A70AE88AF37A7F8D">
    <property name="TargetTypes" valueSource="literal" value="Enemy,Heroic" />
    <property name="OutputTarget" value="WaterElementalTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="Behavior" valueSource="literal" value="" />
    <property name="BehaviorRequiredCaster" valueSource="literal" value="" />
    <property name="AOERadius" valueSource="literal" value="5" />
    <property name="MaxTargetDistance" valueSource="variable" value="WaterElementalRange" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.9" />
  </node>
  <node name="Water Elemental" type="Ability" id="7256BEFA92832B04">
    <property name="Ability" valueSource="literal" value="JainaSummonWaterElemental" />
    <property name="TargetPoint" valueSource="variable" value="WaterElementalTargetPoint" />
  </node>
  <node name="Command Water Elemental" type="AbilityUsable" id="B03622870B61BF3B">
    <property name="Ability" valueSource="literal" value="JainaCommandWaterElemental" />
    <insertChild id="F5FA9EE3F98AC0CC" />
  </node>
  <node name="" type="And" id="F5FA9EE3F98AC0CC">
    <variable name="WaterElementalTargetUnit" type="Unit" />
    <variable name="WaterElementalRange" type="Number" valueSource="lookup" value="Abil,JainaSummonWaterElemental,Range" />
    <insertChild id="780F083C946673B8" />
    <insertChild id="B06A662C6034556E" />
  </node>
  <node name="" type="Or" id="780F083C946673B8">
    <insertChild id="2ED621F6EEB7498F" />
    <insertChild id="1CD679BC9E0AF8D7" />
  </node>
  <node name="Water Elemental" type="AbilityEnqueue" id="B06A662C6034556E">
    <property name="Ability" valueSource="literal" value="JainaCommandWaterElemental" />
    <property name="TargetUnit" valueSource="variable" value="WaterElementalTargetUnit" />
    <property name="DoNotThrottle" valueSource="literal" value="true" />
  </node>
  <node name="Nearby Hero" type="FindBestTarget" id="2ED621F6EEB7498F">
    <property name="MinTargetDistance" valueSource="literal" value="0" />
    <property name="DistanceFactor" valueSource="literal" value="0" />
    <property name="OutputTarget" value="WaterElementalTargetUnit" />
    <property name="LifeFractionFactor" valueSource="literal" value="10" />
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MaxTargetDistance" valueSource="literal" value="10" />
  </node>
  <node name="Nearby Anything" type="FindBestTarget" id="1CD679BC9E0AF8D7">
    <property name="DistanceFactor" valueSource="literal" value="0" />
    <property name="OutputTarget" value="WaterElementalTargetUnit" />
    <property name="LifeFractionFactor" valueSource="literal" value="10" />
    <property name="TargetTypes" valueSource="literal" value="Creep,Tower,Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MaxTargetDistance" valueSource="literal" value="10" />
  </node>
  <node name="Ring of Frost" type="AbilityUsable" id="EE7C80CF359D85BA">
    <property name="Ability" valueSource="literal" value="JainaRingOfFrost" />
    <insertChild id="F2505540E78B35A4" />
  </node>
  <node name="" type="And" id="F2505540E78B35A4">
    <variable name="RingofFrostRange" type="Number" valueSource="lookup" value="Abil,JainaBlizzard,Range" />
    <variable name="RingofFrostAOE" type="Number" valueSource="lookup" value="Effect,JainaRingOfFrostInitialSearch,AreaArray[0].Radius" />
    <variable name="RingofFrostInnerAOE" type="Number" valueSource="lookup" value="Effect,JainaRingOfFrostInitialSearch,AreaArray[0].InnerRadius" />
    <variable name="RingofFrostPoint" type="Point" />
    <variable name="RingofFrostPotentialTarget" type="Unit" />
    <variable name="RingofFrostFarTargetPoint" type="Point" />
    <variable name="RingofFrostCloseTargetPoint" type="Point" />
    <variable name="RingofFrostOffsetDistance" type="Number" value="3.5" />
    <variable name="RingofFrostOutputFarCount" type="Integer" />
    <variable name="RingofFrostOutputCloseCount" type="Integer" />
    <variable name="RingofFrostOutputSelfFarCount" type="Integer" />
    <variable name="RingofFrostOutputSelfCloseCount" type="Integer" />
    <variable name="RingofFrostOutputSelfFarPoint" type="Point" />
    <variable name="RingofFrostOutputSelfClosePoint" type="Point" />
    <variable name="RingofFrostEstimationSeconds" type="Number" valueSource="lookup" value="Effect,JainaRingOfFrostInitialPersistent,PeriodicPeriodArray[0]" />
    <variable name="RingofFrostMinTargets" type="Number" value="2" />
    <insertChild id="6C5D9380961D523E" />
    <insertChild id="7BEB65FA2EE2EE67" />
  </node>
  <node name="" type="Sequence" id="6C5D9380961D523E">
    <property name="IgnoreChildFailures" valueSource="literal" value="true" />
    <insertChild id="B601E9863806FDFE" />
    <insertChild id="7946A533F8356CD0" />
    <insertChild id="79D5662497905018" />
    <insertChild id="516E25AE5E9559E1" />
    <insertChild id="A3A0799E14A90F4C" />
    <insertChild id="42F3F721AE7BCB5B" />
  </node>
  <node name="Stun Root Sleep" type="FilterBehaviorCategory" id="C177747C0A0DEEB0">
    <property name="Categories" valueSource="literal" value="Stun,Sleeping,DebuffRoot" />
    <insertChild id="726C1AD0EEA9D236" />
  </node>
  <node name="1 Hero &lt; 75%" type="FindBestAOEPoint" id="726C1AD0EEA9D236">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="MaxTargetDistance" valueSource="variable" value="BlizzardRange" />
    <property name="AOERadius" valueSource="variable" value="BlizzardAOE" />
    <property name="PredictionSeconds" valueSource="literal" value="0.375" />
    <property name="OutputTarget" value="BlizzardPoint" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.75" />
  </node>
  <node name="Find Closest Hero" type="FindBestAOEPoint" id="B601E9863806FDFE">
    <property name="MaxTargetDistance" valueSource="variable" value="RingofFrostRange" />
    <property name="AOERadius" valueSource="variable" value="RingofFrostAOE" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="OutputTarget" value="RingofFrostPoint" />
  </node>
  <node name="Find Far Ring Offset" type="FindPointOnLine" id="7946A533F8356CD0">
    <property name="SourcePoint" valueSource="variable" value="RingofFrostPoint" />
    <property name="DestinationPoint" valueSource="intrinsic" value="SafePos" />
    <property name="DistanceOffset" valueSource="literal" value="3.5" />
    <property name="OutputTarget" value="RingofFrostFarTargetPoint" />
    <insertChild id="F2BD097B6E65C736" />
  </node>
  <node name="Far Donut Count" type="UnitCount" id="F2BD097B6E65C736">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargetDistance" valueSource="variable" value="RingofFrostInnerAOE" />
    <property name="MaxTargetDistance" valueSource="variable" value="RingofFrostAOE" />
    <property name="SearchCenter" valueSource="variable" value="RingofFrostFarTargetPoint" />
    <property name="OutputCount" value="RingofFrostOutputFarCount" />
    <property name="PredictionSeconds" valueSource="variable" value="RingofFrostEstimationSeconds" />
  </node>
  <node name="Find Close Ring Offset" type="FindPointOnLine" id="79D5662497905018">
    <property name="SourcePoint" valueSource="variable" value="RingofFrostPoint" />
    <property name="DestinationPoint" valueSource="intrinsic" value="SafePos" />
    <property name="DistanceOffset" valueSource="literal" value="-3.5" />
    <property name="OutputTarget" value="RingofFrostCloseTargetPoint" />
    <insertChild id="DBF4F82340E1D715" />
  </node>
  <node name="Close Donut Count" type="UnitCount" id="DBF4F82340E1D715">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargetDistance" valueSource="variable" value="RingofFrostInnerAOE" />
    <property name="MaxTargetDistance" valueSource="variable" value="RingofFrostAOE" />
    <property name="SearchCenter" valueSource="variable" value="RingofFrostCloseTargetPoint" />
    <property name="OutputCount" value="RingofFrostOutputCloseCount" />
    <property name="PredictionSeconds" valueSource="variable" value="RingofFrostEstimationSeconds" />
  </node>
  <node name="Find Self Close Ring Offset" type="FindPointOnLine" id="516E25AE5E9559E1">
    <property name="SourcePoint" valueSource="variable" value="RingofFrostPoint" />
    <property name="DestinationPoint" valueSource="intrinsic" value="SelfPos" />
    <property name="DistanceOffset" valueSource="literal" value="3.5" />
    <property name="OutputTarget" value="RingofFrostOutputSelfClosePoint" />
    <insertChild id="D0808EBB9B0AA3F4" />
  </node>
  <node name="Self Close Donut Count" type="UnitCount" id="D0808EBB9B0AA3F4">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargetDistance" valueSource="variable" value="RingofFrostInnerAOE" />
    <property name="MaxTargetDistance" valueSource="variable" value="RingofFrostAOE" />
    <property name="SearchCenter" valueSource="variable" value="RingofFrostOutputSelfClosePoint" />
    <property name="OutputCount" value="RingofFrostOutputSelfCloseCount" />
    <property name="PredictionSeconds" valueSource="variable" value="RingofFrostEstimationSeconds" />
  </node>
  <node name="Find Self Far Ring Offset" type="FindPointOnLine" id="A3A0799E14A90F4C">
    <property name="SourcePoint" valueSource="variable" value="RingofFrostPoint" />
    <property name="DestinationPoint" valueSource="intrinsic" value="SelfPos" />
    <property name="DistanceOffset" valueSource="literal" value="-3.5" />
    <property name="OutputTarget" value="RingofFrostOutputSelfFarPoint" />
    <insertChild id="BC287DC9130C4CB2" />
  </node>
  <node name="Self Far Donut Count" type="UnitCount" id="BC287DC9130C4CB2">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MinTargetDistance" valueSource="variable" value="RingofFrostInnerAOE" />
    <property name="MaxTargetDistance" valueSource="variable" value="RingofFrostAOE" />
    <property name="SearchCenter" valueSource="variable" value="RingofFrostOutputSelfFarPoint" />
    <property name="OutputCount" value="RingofFrostOutputSelfFarCount" />
    <property name="PredictionSeconds" valueSource="variable" value="RingofFrostEstimationSeconds" />
  </node>
  <node name="" type="Or" id="7BEB65FA2EE2EE67">
    <insertChild id="9D9CB522A015D8D7" />
    <insertChild id="1AD9BD7703045D2D" />
    <insertChild id="FD418346C4F7A5EC" />
    <insertChild id="5D041E56B2A7340A" />
  </node>
  <node name="Far Count &gt; Close Count" type="CompareNumber" id="FD418346C4F7A5EC">
    <property name="LeftHandSide" valueSource="variable" value="RingofFrostOutputFarCount" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="variable" value="RingofFrostOutputCloseCount" />
    <insertChild id="85A7D5DA57F99C69" />
  </node>
  <node name="Far Count &gt; Self Far Count" type="CompareNumber" id="85A7D5DA57F99C69">
    <property name="LeftHandSide" valueSource="variable" value="RingofFrostOutputFarCount" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="variable" value="RingofFrostOutputSelfFarCount" />
    <insertChild id="2767161555BFFDDA" />
  </node>
  <node name="Far Count &gt; Self Close Count" type="CompareNumber" id="2767161555BFFDDA">
    <property name="LeftHandSide" valueSource="variable" value="RingofFrostOutputFarCount" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="variable" value="RingofFrostOutputSelfCloseCount" />
    <insertChild id="36EE971207836AAD" />
  </node>
  <node name="" type="Ability" id="50BA05B0F6F6A75C">
    <property name="Ability" valueSource="literal" value="JainaRingOfFrost" />
    <property name="TargetPoint" valueSource="variable" value="RingofFrostFarTargetPoint" />
  </node>
  <node name="Close Count &gt; Far Count" type="CompareNumber" id="1AD9BD7703045D2D">
    <property name="LeftHandSide" valueSource="variable" value="RingofFrostOutputCloseCount" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="variable" value="RingofFrostOutputFarCount" />
    <insertChild id="CA56B078D7354E2D" />
  </node>
  <node name="" type="Ability" id="99D45D6EB0ADDD4B">
    <property name="Ability" valueSource="literal" value="JainaRingOfFrost" />
    <property name="TargetPoint" valueSource="variable" value="RingofFrostCloseTargetPoint" />
  </node>
  <node name="Self Far Count &gt; Close Count" type="CompareNumber" id="9D9CB522A015D8D7">
    <property name="LeftHandSide" valueSource="variable" value="RingofFrostOutputSelfFarCount" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="variable" value="RingofFrostOutputCloseCount" />
    <insertChild id="E6B1B012386C46B7" />
  </node>
  <node name="Self Far Count &gt; Self Far Count" type="CompareNumber" id="E6B1B012386C46B7">
    <property name="LeftHandSide" valueSource="variable" value="RingofFrostOutputSelfFarCount" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="variable" value="RingofFrostOutputFarCount" />
    <insertChild id="EE61CE189BA7D044" />
  </node>
  <node name="Self Far Count &gt; Self Close Count" type="CompareNumber" id="EE61CE189BA7D044">
    <property name="LeftHandSide" valueSource="variable" value="RingofFrostOutputSelfFarCount" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="variable" value="RingofFrostOutputSelfCloseCount" />
    <insertChild id="4AE844065FC7D26D" />
  </node>
  <node name="" type="Ability" id="E231388C4620A0FD">
    <property name="Ability" valueSource="literal" value="JainaRingOfFrost" />
    <property name="TargetPoint" valueSource="variable" value="RingofFrostOutputSelfFarPoint" />
  </node>
  <node name="Self Close Count &gt; Close Count" type="CompareNumber" id="5D041E56B2A7340A">
    <property name="LeftHandSide" valueSource="variable" value="RingofFrostOutputSelfCloseCount" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="variable" value="RingofFrostOutputCloseCount" />
    <insertChild id="1117AD6942C7D8D0" />
  </node>
  <node name="Close Count &gt; Self Far Count" type="CompareNumber" id="CA56B078D7354E2D">
    <property name="LeftHandSide" valueSource="variable" value="RingofFrostOutputCloseCount" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="variable" value="RingofFrostOutputSelfFarCount" />
    <insertChild id="7DE67F20FFBA5A87" />
  </node>
  <node name="Close Count &gt; Self Close Count" type="CompareNumber" id="7DE67F20FFBA5A87">
    <property name="LeftHandSide" valueSource="variable" value="RingofFrostOutputCloseCount" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="variable" value="RingofFrostOutputSelfCloseCount" />
    <insertChild id="E078C49D4B9F0096" />
  </node>
  <node name="" type="Ability" id="9DDE851EB4551CE1">
    <property name="Ability" valueSource="literal" value="JainaRingOfFrost" />
    <property name="TargetPoint" valueSource="variable" value="RingofFrostOutputSelfClosePoint" />
  </node>
  <node name="Self Close Count &gt; Close Count" type="CompareNumber" id="1117AD6942C7D8D0">
    <property name="LeftHandSide" valueSource="variable" value="RingofFrostOutputSelfCloseCount" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="variable" value="RingofFrostOutputFarCount" />
    <insertChild id="3DE559A65F149314" />
  </node>
  <node name="Self Close Count &gt; Close Count" type="CompareNumber" id="3DE559A65F149314">
    <property name="LeftHandSide" valueSource="variable" value="RingofFrostOutputSelfCloseCount" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="variable" value="RingofFrostOutputSelfFarCount" />
    <insertChild id="2BEAA02C1C0D25EF" />
  </node>
  <node name="2 targets" type="CompareNumber" id="36EE971207836AAD">
    <property name="LeftHandSide" valueSource="variable" value="RingofFrostOutputFarCount" />
    <property name="RightHandSide" valueSource="variable" value="RingofFrostMinTargets" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <insertChild id="11AA87971DE0ECF5" />
  </node>
  <node name="2 targets" type="CompareNumber" id="E078C49D4B9F0096">
    <property name="LeftHandSide" valueSource="variable" value="RingofFrostOutputCloseCount" />
    <property name="RightHandSide" valueSource="variable" value="RingofFrostMinTargets" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <insertChild id="762A8B265CE0DAF0" />
  </node>
  <node name="2 targets" type="CompareNumber" id="4AE844065FC7D26D">
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="variable" value="RingofFrostMinTargets" />
    <property name="LeftHandSide" valueSource="variable" value="RingofFrostOutputSelfFarCount" />
    <insertChild id="E886A7B8460DA840" />
  </node>
  <node name="2 targets" type="CompareNumber" id="2BEAA02C1C0D25EF">
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="variable" value="RingofFrostMinTargets" />
    <property name="LeftHandSide" valueSource="variable" value="RingofFrostOutputSelfCloseCount" />
    <insertChild id="56BE9B2B6B70EDC4" />
  </node>
  <node name="Low Health" type="LifeFraction" id="42F3F721AE7BCB5B">
    <property name="LifeFraction" valueSource="variable" value="Health_EndOffensive" />
    <property name="Comparison" valueSource="literal" value="LT" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="11B4E92D5B510016" />
  </node>
  <node name="Only hit a single target" type="SetNumber" id="11B4E92D5B510016">
    <property name="Variable" value="RingofFrostMinTargets" />
    <property name="Value" valueSource="literal" value="1" />
  </node>
  <node name="Within Range" type="Distance" id="E886A7B8460DA840">
    <property name="SourceUnit" valueSource="intrinsic" value="Self" />
    <property name="TargetPoint" valueSource="variable" value="RingofFrostOutputSelfFarPoint" />
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="Distance" valueSource="variable" value="RingofFrostRange" />
    <insertChild id="E231388C4620A0FD" />
  </node>
  <node name="Within Range" type="Distance" id="762A8B265CE0DAF0">
    <property name="SourceUnit" valueSource="intrinsic" value="Self" />
    <property name="TargetPoint" valueSource="variable" value="RingofFrostCloseTargetPoint" />
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="Distance" valueSource="variable" value="RingofFrostRange" />
    <insertChild id="99D45D6EB0ADDD4B" />
  </node>
  <node name="Within Range" type="Distance" id="11AA87971DE0ECF5">
    <property name="SourceUnit" valueSource="intrinsic" value="Self" />
    <property name="TargetPoint" valueSource="variable" value="RingofFrostFarTargetPoint" />
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="Distance" valueSource="variable" value="RingofFrostRange" />
    <insertChild id="50BA05B0F6F6A75C" />
  </node>
  <node name="Within Range" type="Distance" id="56BE9B2B6B70EDC4">
    <property name="SourceUnit" valueSource="intrinsic" value="Self" />
    <property name="TargetPoint" valueSource="variable" value="RingofFrostOutputSelfClosePoint" />
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="Distance" valueSource="variable" value="RingofFrostRange" />
    <insertChild id="9DDE851EB4551CE1" />
  </node>
  <node name="" type="Or" id="BAFED298EBB37961">
    <insertChild id="9EF275CA9B76E932" />
    <insertChild id="AE824E465512A747" />
    <insertChild id="97EACE55DE9F5D39" />
  </node>
  <node name="" type="And" id="9EF275CA9B76E932">
    <insertChild id="706C83818EFE7838" />
    <insertChild id="30DE6F8D169C2DB0" />
  </node>
  <node name="Blizzard" type="AbilityUsable" id="C2186C9045A67A51">
    <property name="Ability" valueSource="literal" value="JainaBlizzard" />
  </node>
  <node name="Cone of Cold" type="AbilityUsable" id="18AE2454463AC947" comment="This Node is the start of the branch. It check that the ability is actually usable before doing any logic for it.">
    <property name="Ability" valueSource="literal" value="JainaConeOfCold" />
  </node>
  <node name="" type="And" id="AE824E465512A747">
    <insertChild id="F697EB2087587D86" />
    <insertChild id="2A420289ABF91EA5" />
  </node>
  <node name="Cone of Cold" type="AbilityUsable" id="C88386C854B5F342" comment="This Node is the start of the branch. It check that the ability is actually usable before doing any logic for it.">
    <property name="Ability" valueSource="literal" value="JainaConeOfCold" />
  </node>
  <node name="Frostbolt" type="AbilityUsable" id="FDF30B94005D779D" comment="This Node is the start of the branch. It check that the ability is actually usable before doing any logic for it.">
    <property name="Ability" valueSource="literal" value="JainaFrostbolt" />
  </node>
  <node name="" type="And" id="97EACE55DE9F5D39">
    <insertChild id="DCA3D1FBE2DC1946" />
    <insertChild id="9583A6A39898B259" />
  </node>
  <node name="Blizzard" type="AbilityUsable" id="C0C41DD2C50129AE">
    <property name="Ability" valueSource="literal" value="JainaBlizzard" />
  </node>
  <node name="Frostbolt" type="AbilityUsable" id="E37F0369F3ACB397" comment="This Node is the start of the branch. It check that the ability is actually usable before doing any logic for it.">
    <property name="Ability" valueSource="literal" value="JainaFrostbolt" />
  </node>
  <node name="Enemy Hero Close" type="UnitCount" id="A389CB0537D1CF79">
    <property name="MaxTargetDistance" valueSource="literal" value="8" />
    <property name="TargetCount" valueSource="literal" value="2" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="PredictionSeconds" valueSource="literal" value="0.5" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.75" />
    <insertChild id="70235C2EDE0C632E" />
  </node>
  <node name="Allied Hero Close" type="UnitCount" id="70235C2EDE0C632E">
    <property name="MaxTargetDistance" valueSource="literal" value="8" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="TargetTypes" valueSource="literal" value="Ally" />
    <property name="PredictionSeconds" valueSource="literal" value="0.5" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.75" />
  </node>
  <node name="Self &lt; 50%" type="LifeFraction" id="AE7DF9CD4285A54B">
    <property name="LifeFraction" valueSource="literal" value="0.5" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="910901063B2F324F" />
  </node>
  <node name="Enemy Hero Close" type="UnitCount" id="910901063B2F324F">
    <property name="MaxTargetDistance" valueSource="literal" value="8" />
    <property name="TargetCount" valueSource="literal" value="2" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="PredictionSeconds" valueSource="literal" value="0.5" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.75" />
    <property name="Comparison" valueSource="literal" value="LE" />
  </node>
  <node name="Ice Blink" type="AbilityUsable" id="C34A21BF2C204C5F">
    <property name="Ability" valueSource="literal" value="JainaFrigidTransmission" />
    <insertChild id="569CF46B16481500" />
  </node>
  <node name="Defensive Use" type="And" id="569CF46B16481500">
    <insertChild id="DB52CE7E985A15D2" />
    <insertChild id="9E0A8BBA715FD130" />
    <insertChild id="C72EF4123A3856B7" />
  </node>
  <node name="Critical Health" type="LifeFraction" id="DB52CE7E985A15D2">
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <property name="LifeFraction" valueSource="variable" value="Health_ReturnToSpawn" />
  </node>
  <node name="Enemies Nearby or In Danger" type="Or" id="9E0A8BBA715FD130">
    <insertChild id="5D2812D2AB1B20BA" />
    <insertChild id="6BC298EC82B8C29A" />
  </node>
  <node name="Is In Danger" type="IsInDanger" id="5D2812D2AB1B20BA" />
  <node name="Enemy Hero Nearby" type="UnitCount" id="6BC298EC82B8C29A">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="literal" value="8" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
  </node>
  <node name="Cast" type="Ability" id="C72EF4123A3856B7">
    <property name="Ability" valueSource="literal" value="JainaFrigidTransmission" />
    <property name="TargetPoint" valueSource="intrinsic" value="SafePos" />
  </node>
  <node name="" type="Not" id="706C83818EFE7838">
    <insertChild id="18AE2454463AC947" />
  </node>
  <node name="" type="Not" id="30DE6F8D169C2DB0">
    <insertChild id="C2186C9045A67A51" />
  </node>
  <node name="" type="Not" id="F697EB2087587D86">
    <insertChild id="C88386C854B5F342" />
  </node>
  <node name="" type="Not" id="2A420289ABF91EA5">
    <insertChild id="FDF30B94005D779D" />
  </node>
  <node name="" type="Not" id="DCA3D1FBE2DC1946">
    <insertChild id="C0C41DD2C50129AE" />
  </node>
  <node name="" type="Not" id="9583A6A39898B259">
    <insertChild id="E37F0369F3ACB397" />
  </node>
  <node name="1 Creep Mapboss or Creature" type="FindBestArc" id="0A4DF277680E455F">
    <property name="OutputTarget" value="AbilityTargetPoint" />
    <property name="ArcAngle" valueSource="variable" value="AbilityArc" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetTypes" valueSource="literal" value="Creep,MapBoss,MapCreature" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
  </node>
  <node name="Find 1 Hero" type="FindBestVector" id="2415FA77E34A1341">
    <property name="TargetTypes" valueSource="literal" value="Creep" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MissilePierceCount" valueSource="variable" value="AbilityMissilePierceCount" />
    <property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
    <property name="OutputEndPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
    <property name="Behavior" valueSource="literal" value="JainaChilledDamageBonus" />
    <property name="LifeFractionFactor" valueSource="literal" value="10" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
    <property name="PredictionMissileSpeed" valueSource="variable" value="AbilityPredictionSpeed" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Enemy" />
  </node>
  <node name="Ice Block Cancel" type="AbilityUsable" id="9E72C36E9B963ECB">
    <property name="Ability" valueSource="literal" value="JainaIceBlockCancel" />
    <insertChild id="8DB16363A0F3EAAC" />
  </node>
  <node name="Cancel Ice Block" type="And" id="8DB16363A0F3EAAC">
    <insertChild id="0FAF30F3927D3966" />
    <insertChild id="55AB60770E892D59" />
    <insertChild id="90C866B2B4CAA675" />
  </node>
  <node name="Has Ice Block or Ice Cold" type="Or" id="0FAF30F3927D3966">
    <insertChild id="5B84CC3B1AE7F371" />
    <insertChild id="7C16B95B3E536CF4" />
  </node>
  <node name="Is Ice Blocked" type="UnitHasBehavior" id="5B84CC3B1AE7F371">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Behavior" valueSource="literal" value="JainaImprovedIceBlock" />
  </node>
  <node name="Is Ice Cold" type="UnitHasBehavior" id="7C16B95B3E536CF4">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Behavior" valueSource="literal" value="JainaIceCold" />
  </node>
  <node name="No Enemy Heroes Around" type="UnitCount" id="55AB60770E892D59">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="TargetCount" valueSource="literal" value="0" />
    <property name="MaxTargetDistance" valueSource="literal" value="8" />
    <property name="Comparison" valueSource="literal" value="Eq" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
  </node>
  <node name="Cancel" type="Ability" id="90C866B2B4CAA675">
    <property name="Ability" valueSource="literal" value="JainaIceBlockCancel" />
    <property name="DoNotThrottle" valueSource="literal" value="true" />
  </node>
</tree>