PTR build 2.57.1.98674_ptr. Go to the live site.

mods/heromods/nexushunter.stormmod/base.stormdata/ai/nexushunter.aitree

nexushunter.aitree
<?xml version="1.0" encoding="us-ascii"?>
<tree>
  <include file="AI/HeroMutator.aitree" />
  <mod id="3FAD3B6CDC9F26F4">
    <insertChild id="99ECEA374C37003D" />
  </mod>
  <mod id="746F6F526F726548">
    <variable name="FinalStrikeRange" type="Number" value="7" />
    <variable name="FinalStrikeMaxRange" type="Number" value="18" />
    <variable name="FinalStrikeTimer1" type="Time" />
    <variable name="FinalStrikeTimer2" type="Time" />
    <variable name="FinalStrikeTimer3" type="Time" />
    <variable name="FinalStrikeTimer4" type="Time" />
  </mod>
  <mod id="87811D772E337EB7">
    <insertChild id="2480EC7ABCD909CD" />
    <insertChild id="D425620C4D5B2B3A" />
    <insertChild id="1A169B8025D0F23F" />
    <insertChild id="20A6D1AB44AA23A5" />
    <insertChild id="E783570ED28B43CA" />
    <insertChild id="08C8C009EB52EC83" />
    <insertChild id="4BCF4CF5C225BC2E" />
  </mod>
  <mod id="93D883AF1FB031B1">
    <insertChild id="707FEB233A9AF23B" />
  </mod>
  <node name="Carnage" type="AbilityUsable" id="2480EC7ABCD909CD" 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="NexusHunterCarnage" />
    <insertChild id="C1D105ED7904398F" />
  </node>
  <node name="Base Node" type="And" id="C1D105ED7904398F" comment="This Node links targeting Logic, ability use and talent modifications">
    <variable name="AbilityRange" type="Number" value="6.5" comment="Range of the Ability" />
    <variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
    <variable name="AbilityMissileRadius" type="Number" valueSource="lookup" value="Effect,NexusHunterCarnageSearch1,AreaArray[0].RectangleWidth" comment="Width of the Ability Searches" />
    <variable name="AbilityMissilePierceCount" type="Number" 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="AbilityDamage" type="Number" valueSource="lookup" value="Effect,NexusHunterCarnageDamage,Amount" />
    <variable name="AbilityPredictionSeconds" type="Number" value="0.1875" />
    <insertChild id="9D23196A45901C73" />
    <insertChild id="B1526E7696EB0963" />
  </node>
  <node name="" type="Or" id="9D23196A45901C73">
    <insertChild id="159172CAD6FB1CA7" />
    <insertChild id="6C9AEF27E0C20443" />
  </node>
  <node name="Elite" type="Difficulty" id="159172CAD6FB1CA7">
    <insertChild id="79EA2549FBC4BD0E" />
  </node>
  <node name="" type="Or" id="79EA2549FBC4BD0E">
    <insertChild id="EF4B4E119230D169" />
    <insertChild id="D9D8F92A17A4F5AB" />
  </node>
  <node name="Debuffed" type="FilterBehaviorCategory" id="EF4B4E119230D169">
    <property name="Categories" valueSource="literal" value="Stun,KnockedOut,DebuffRoot,Taunt" />
    <insertChild id="4A192A0ED7D24EA0" />
  </node>
  <node name="Not Sleeping" type="FilterBehaviorCategory" id="4A192A0ED7D24EA0">
    <property name="ExcludeCategories" valueSource="literal" value="Sleeping" />
    <insertChild id="FFA4A6EE905ABC31" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="FFA4A6EE905ABC31">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="Fatal Damage" type="FilterLife" id="D9D8F92A17A4F5AB">
    <property name="MaxLife" valueSource="variable" value="AbilityDamage" />
    <insertChild id="368863B8FB7F1032" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="368863B8FB7F1032">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="PvP/PvE" type="IfElse" id="6C9AEF27E0C20443">
    <insertChild id="71C2D0BD6FC7D3CB" />
    <insertChild id="A3F7DD7B0664F07D" />
    <insertChild id="DE64FA7ACF16FDB1" />
  </node>
  <node name="Enemy Is Nearby" type="CompareNumber" id="71C2D0BD6FC7D3CB">
    <property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="literal" value="1" />
  </node>
  <node name="PVP Targeting Node" type="Or" id="A3F7DD7B0664F07D">
    <insertChild id="BE1A85A3DD5CAF43" />
    <insertChild id="D2880833CA6D563C" />
    <insertChild id="87C97F3060CA25CF" />
  </node>
  <node name="&gt; High Mana" type="EnergyFraction" id="BE1A85A3DD5CAF43">
    <property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="F183E318F69C7F26" />
  </node>
  <node name="High Mana Targeting" type="Or" id="F183E318F69C7F26">
    <insertChild id="A3C866E00AD87263" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="A3C866E00AD87263">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="&gt; Low Mana" type="EnergyFraction" id="D2880833CA6D563C">
    <property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="D9CDAD3226C7EFC8" />
  </node>
  <node name="Medium Mana Targeting" type="Or" id="D9CDAD3226C7EFC8">
    <insertChild id="947F4176C12B085B" />
    <insertChild id="773BB644BBEF2E38" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="947F4176C12B085B">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.9" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="Find 2 Heroes" type="FindBestSkillshot" id="773BB644BBEF2E38">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="2" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.5" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="&lt; Low Mana" type="EnergyFraction" id="87C97F3060CA25CF">
    <property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
    <property name="Comparison" valueSource="literal" value="LT" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="6C824C716F79194A" />
  </node>
  <node name="Low Mana Targeting" type="Or" id="6C824C716F79194A">
    <insertChild id="2CD47885D3AFE583" />
    <insertChild id="4AA85B532EE12986" />
    <insertChild id="0186DCE73A7A43E0" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="2CD47885D3AFE583">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.4" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="Find 2 Heroes Under 50% Health" type="FindBestSkillshot" id="4AA85B532EE12986">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="2" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.5" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="3 Enemy Heroes" type="FindBestSkillshot" id="0186DCE73A7A43E0">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="3" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.9" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="PVE Targeting Node" type="Or" id="DE64FA7ACF16FDB1">
    <insertChild id="0E8BD9048297631E" />
    <insertChild id="D454D878E1DEDB37" />
  </node>
  <node name="High Mana" type="EnergyFraction" id="0E8BD9048297631E">
    <property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="D8BA7A692D74B3CF" />
  </node>
  <node name="High Mana Targeting" type="Or" id="D8BA7A692D74B3CF">
    <insertChild id="37B2C3BA8CF7742B" />
  </node>
  <node name="Find 4 Anything" type="FindBestSkillshot" id="37B2C3BA8CF7742B">
    <property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,MapBoss,MapCreature,AITargetableStructure" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MissilePierceCount" valueSource="variable" value="AbilityMissilePierceCount" />
    <property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
    <property name="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="4" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="Low Mana" type="EnergyFraction" id="D454D878E1DEDB37">
    <property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="BE3686915276E3C5" />
  </node>
  <node name="Medium Mana Targeting" type="Or" id="BE3686915276E3C5">
    <insertChild id="5923721BF365B19D" />
  </node>
  <node name="Find 6 Anything" type="FindBestSkillshot" id="5923721BF365B19D">
    <property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,MapBoss,MapCreature,AITargetableStructure" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MissilePierceCount" valueSource="variable" value="AbilityMissilePierceCount" />
    <property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
    <property name="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="6" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="Carnage" type="Ability" id="B1526E7696EB0963">
    <property name="Ability" valueSource="literal" value="NexusHunterCarnage" />
    <property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
  </node>
  <node name="Blood Rage" type="AbilityUsable" id="707FEB233A9AF23B">
    <property name="Ability" valueSource="literal" value="NexusHunterBloodRage" />
    <insertChild id="22A6383FEC5027BC" />
  </node>
  <node name="Blood Rage" type="Ability" id="22A6383FEC5027BC">
    <property name="Ability" valueSource="literal" value="NexusHunterBloodRage" />
  </node>
  <node name="Final Strike (Channel)" type="AbilityUsable" id="4BCF4CF5C225BC2E" 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="NexusHunterFinalStrikeActivate" />
    <insertChild id="F181F80AD411E0C5" />
  </node>
  <node name="Base Node" type="And" id="F181F80AD411E0C5" comment="This Node links targeting Logic, ability use and talent modifications">
    <variable name="AbilityRange" type="Number" value="16" comment="Range of the Ability" />
    <variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
    <variable name="AbilityMissileRadius" type="Number" valueSource="lookup" value="Effect,NexusHunterFinalStrikeInitialSearch,AreaArray[0].RectangleWidth" comment="Width of the Ability Searches" />
    <variable name="AbilityMissilePierceCount" type="Number" 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="EnemyTarget" type="Unit" />
    <insertChild id="73145D00B42356F8" />
  </node>
  <node name="Targeting Selecting Node" type="Or" id="E7577B71EA4C6B47">
    <insertChild id="7CF6A0DBFD441BA5" />
    <insertChild id="97FA5B37E7AD2838" />
    <insertChild id="957F9A52D4BF25F6" />
    <insertChild id="A0691B12B4D0092D" />
  </node>
  <node name="Find 3 Heroes" type="FindBestVector" id="A0691B12B4D0092D">
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MissileRadius" valueSource="variable" value="Final Strike Missile Radius" />
    <property name="OutputEndPoint" value="Final Strike Target Point" />
    <property name="MaxVectorLength" valueSource="variable" value="Final Strike Range" />
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="MinTargets" valueSource="literal" value="3" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.5" />
  </node>
  <node name="Find 2 Heroes" type="FindBestVector" id="957F9A52D4BF25F6">
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MissileRadius" valueSource="variable" value="Final Strike Missile Radius" />
    <property name="OutputEndPoint" value="Final Strike Target Point" />
    <property name="MaxVectorLength" valueSource="variable" value="Final Strike Range" />
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="MinTargets" valueSource="literal" value="2" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.4" />
  </node>
  <node name="Fatal" type="FilterLife" id="7CF6A0DBFD441BA5">
    <property name="MaxLife" valueSource="lookup" value="Effect,NexusHunterFinalStrikeDamage,Amount" />
    <insertChild id="C9B3440899B930F6" />
  </node>
  <node name="Find 1 Fatal No enemies Nearby" type="FindBestVector" id="C9B3440899B930F6">
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MissileRadius" valueSource="variable" value="Final Strike Missile Radius" />
    <property name="OutputEndPoint" value="Final Strike Target Point" />
    <property name="MaxVectorLength" valueSource="variable" value="Final Strike Range" />
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="MinTargets" valueSource="literal" value="1" />
  </node>
  <node name="Find 1 near Fatal" type="FindBestVector" id="97FA5B37E7AD2838">
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MissileRadius" valueSource="variable" value="Final Strike Missile Radius" />
    <property name="OutputEndPoint" value="Final Strike Target Point" />
    <property name="MaxVectorLength" valueSource="variable" value="Final Strike Range" />
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.2" />
    <insertChild id="DC1B75DE0EFF7072" />
  </node>
  <node name="" type="FindBestTarget" id="DC1B75DE0EFF7072">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="OutputTarget" value="Final Strike Target Unit" />
    <property name="SearchCenter" valueSource="variable" value="Final Strike Target Point" />
    <property name="ClipCenter" valueSource="intrinsic" value="Self" />
    <property name="ClipRadius" valueSource="variable" value="Final Strike Range" />
    <property name="MaxTargetDistance" valueSource="variable" value="Final Strike Range" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.5" />
  </node>
  <node name="Unrelenting Strikes" type="AbilityUsable" id="E783570ED28B43CA">
    <property name="Ability" valueSource="literal" value="NexusHunterUnrelentingStrikes" />
    <insertChild id="3CFCB99A4EA6AAAA" />
  </node>
  <node name="" type="And" id="3CFCB99A4EA6AAAA">
    <variable name="AbilityRadius" type="Number" valueSource="lookup" value="Effect,NexusHunterUnrelentingStrikesFinalSearch,AreaArray[0].Radius" />
    <insertChild id="8ADCE8DE35DFA13C" />
    <insertChild id="08E99C580FA32A00" />
  </node>
  <node name="" type="Or" id="99ECEA374C37003D">
    <insertChild id="707FEB233A9AF23B" />
  </node>
  <node name="Unrelenting Strikes" type="Ability" id="08E99C580FA32A00">
    <property name="Ability" valueSource="literal" value="NexusHunterUnrelentingStrikes" />
  </node>
  <node name="Mana Filter" type="Or" id="8ADCE8DE35DFA13C">
    <insertChild id="A39A444BCE42594B" />
    <insertChild id="DE5F6E59C03200D0" />
    <insertChild id="52F2052AE1F3C8CE" />
    <insertChild id="59C74AA7DE0043A5" />
  </node>
  <node name="High Mana" type="EnergyFraction" id="A39A444BCE42594B">
    <property name="EnergyFraction" valueSource="literal" value="0.7" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="21EAB6D4128D7463" />
  </node>
  <node name="" type="Or" id="21EAB6D4128D7463">
    <insertChild id="69F17F842CF8DFEF" />
  </node>
  <node name="4+ Hero in Range" type="UnitCount" id="69F17F842CF8DFEF">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRadius" />
    <property name="TargetCount" valueSource="literal" value="4" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
  </node>
  <node name="Med Mana" type="EnergyFraction" id="DE5F6E59C03200D0">
    <property name="EnergyFraction" valueSource="literal" value="0.5" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="C114DE7710BA6FEB" />
  </node>
  <node name="" type="Or" id="C114DE7710BA6FEB">
    <insertChild id="E86E09B95AC1BDFD" />
  </node>
  <node name="2+ Injured Hero in Range" type="UnitCount" id="E86E09B95AC1BDFD">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRadius" />
    <property name="TargetCount" valueSource="literal" value="2" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.6" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
  </node>
  <node name="Low Mana" type="EnergyFraction" id="52F2052AE1F3C8CE">
    <property name="EnergyFraction" valueSource="literal" value="0.3" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="DBC69B35BFA95D17" />
  </node>
  <node name="" type="Or" id="DBC69B35BFA95D17">
    <insertChild id="A8497D23E21FAFCF" />
  </node>
  <node name="1 Badly Injured Hero in Range" type="UnitCount" id="A8497D23E21FAFCF">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRadius" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.4" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
  </node>
  <node name="&gt; 10% Mana" type="EnergyFraction" id="59C74AA7DE0043A5">
    <property name="EnergyFraction" valueSource="literal" value="0.1" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="429B57081CFC0683" />
  </node>
  <node name="1 Critically Injured Hero in Range" type="UnitCount" id="429B57081CFC0683">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRadius" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.25" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
  </node>
  <node name="Final Strike (Channel)" type="AbilityUsable" id="73145D00B42356F8" 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="NexusHunterFinalStrikeActivate" />
  </node>
  <node name="Revolving Sweep" type="AbilityUsable" id="1A169B8025D0F23F" 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="NexusHunterRevolvingSweep" />
    <insertChild id="1E5C0B3B103A643C" />
  </node>
  <node name="Base Node" type="And" id="1E5C0B3B103A643C" comment="This Node links targeting Logic, ability use and talent modifications">
    <variable name="AbilityRange" type="Number" value="8" comment="Range of the Ability" />
    <variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
    <variable name="AbilityMissileRadius" type="Number" valueSource="lookup" value="Effect,NexusHunterRevolvingSweepSearch,AreaArray[0].RectangleWidth" comment="Width of the Ability Searches" />
    <variable name="AbilityMissilePierceCount" type="Number" 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="AbilityDamage" type="Number" valueSource="lookup" value="Effect,NexusHunterRevolvingSweepInitialDamage,Amount" />
    <variable name="AbilityPredictionSeconds" type="Number" value="0.5" />
    <insertChild id="17C6A692ECF984D2" />
    <insertChild id="86A4EA6418A77045" />
  </node>
  <node name="" type="Or" id="17C6A692ECF984D2">
    <insertChild id="E2C5BB36B5BA98E1" />
    <insertChild id="B31C6C184FDF1467" />
  </node>
  <node name="Elite" type="Difficulty" id="E2C5BB36B5BA98E1">
    <insertChild id="28751F22365A89B5" />
  </node>
  <node name="" type="Or" id="28751F22365A89B5">
    <insertChild id="00809F25AB6B1C81" />
    <insertChild id="E15B0DAF766BFD07" />
  </node>
  <node name="Debuffed" type="FilterBehaviorCategory" id="00809F25AB6B1C81">
    <property name="Categories" valueSource="literal" value="Stun,KnockedOut,DebuffRoot,Taunt" />
    <insertChild id="F065CD8CB5A9E772" />
  </node>
  <node name="Not Sleeping" type="FilterBehaviorCategory" id="F065CD8CB5A9E772">
    <property name="ExcludeCategories" valueSource="literal" value="Sleeping" />
    <insertChild id="1DEDE42CEC04A2CD" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="1DEDE42CEC04A2CD">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="Fatal Damage" type="FilterLife" id="E15B0DAF766BFD07">
    <property name="MaxLife" valueSource="variable" value="AbilityDamage" />
    <insertChild id="A8BC21C7B5C7778C" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="A8BC21C7B5C7778C">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="PvP/PvE" type="IfElse" id="B31C6C184FDF1467">
    <insertChild id="A008BFC5CD5A9DC2" />
    <insertChild id="119268E385B6745C" />
  </node>
  <node name="Enemy Is Nearby" type="CompareNumber" id="A008BFC5CD5A9DC2">
    <property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="literal" value="1" />
  </node>
  <node name="PVP Targeting Node" type="Or" id="119268E385B6745C">
    <insertChild id="11CE9FFECFDB9DF5" />
    <insertChild id="A8410011AE852818" />
    <insertChild id="3ED61763174B251E" />
  </node>
  <node name="&gt; High Mana" type="EnergyFraction" id="11CE9FFECFDB9DF5">
    <property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="62F5B0DF6ADC99D6" />
  </node>
  <node name="High Mana Targeting" type="Or" id="62F5B0DF6ADC99D6">
    <insertChild id="FD07354518218EB1" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="FD07354518218EB1">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="&gt; Low Mana" type="EnergyFraction" id="A8410011AE852818">
    <property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="E13C7268D7F94D7A" />
  </node>
  <node name="Medium Mana Targeting" type="Or" id="E13C7268D7F94D7A">
    <insertChild id="79015F5E6AE5825F" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="79015F5E6AE5825F">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.9" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="&lt; Low Mana" type="EnergyFraction" id="3ED61763174B251E">
    <property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
    <property name="Comparison" valueSource="literal" value="LT" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="AC7A0E58C27503DF" />
  </node>
  <node name="Low Mana Targeting" type="Or" id="AC7A0E58C27503DF">
    <insertChild id="6BF451CCBF31239C" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="6BF451CCBF31239C">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.4" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="Revolving Sweep" type="Ability" id="86A4EA6418A77045">
    <property name="Ability" valueSource="literal" value="NexusHunterRevolvingSweep" />
    <property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
  </node>
  <node name="Has 5 Blood Rage Stacks" type="Validator" id="7EFFA689BE016B36">
    <property name="Target" valueSource="variable" value="Closest Enemy To Self" />
    <property name="Validator" valueSource="literal" value="NexusHunterBloodRageTargetHasMaxTokenStacks" />
  </node>
  <node name="Blood Rage" type="AbilityUsable" id="D425620C4D5B2B3A" 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="NexusHunterBloodRage" />
    <insertChild id="762AB9EB2AD2EEF4" />
  </node>
  <node name="Base Node" type="And" id="762AB9EB2AD2EEF4" comment="This Node links targeting Logic, ability use and talent modifications">
    <variable name="AbilityRange" type="Number" value="500" comment="Range of the Ability" />
    <variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
    <variable name="AbilityMissileRadius" type="Number" valueSource="lookup" value="Effect,NexusHunterCarnageSearch1,AreaArray[0].RectangleWidth" comment="Width of the Ability Searches" />
    <variable name="AbilityMissilePierceCount" type="Number" 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="AbilityDamage" type="Number" valueSource="lookup" value="Effect,NexusHunterCarnageDamage,Amount" />
    <variable name="AbilityPredictionSeconds" type="Number" value="0.1875" />
    <insertChild id="2E3DD934B6AB8A17" />
    <insertChild id="27BB2DB3CE70E2F0" />
  </node>
  <node name="" type="Or" id="2E3DD934B6AB8A17">
    <insertChild id="7F0EB8D937AB4279" />
    <insertChild id="7EFFA689BE016B36" />
    <insertChild id="E6D2D80A18223E50" />
  </node>
  <node name="Elite" type="Difficulty" id="7F0EB8D937AB4279">
    <insertChild id="14F92CCCF952E93F" />
  </node>
  <node name="" type="Or" id="14F92CCCF952E93F">
    <insertChild id="013ABADA6FC86238" />
    <insertChild id="7069681F237BB88B" />
  </node>
  <node name="Debuffed" type="FilterBehaviorCategory" id="013ABADA6FC86238">
    <property name="Categories" valueSource="literal" value="Stun,KnockedOut,DebuffRoot,Taunt" />
    <insertChild id="D52F41531D80F06E" />
  </node>
  <node name="Not Sleeping" type="FilterBehaviorCategory" id="D52F41531D80F06E">
    <property name="ExcludeCategories" valueSource="literal" value="Sleeping" />
    <insertChild id="D78526B1A721A255" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="D78526B1A721A255">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="Fatal Damage" type="FilterLife" id="7069681F237BB88B">
    <property name="MaxLife" valueSource="variable" value="AbilityDamage" />
    <insertChild id="2E3285A784138432" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="2E3285A784138432">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="PvP/PvE" type="IfElse" id="E6D2D80A18223E50">
    <insertChild id="C550CE43738699CD" />
    <insertChild id="4737E57049B5A0C8" />
    <insertChild id="421C120B10DC3902" />
  </node>
  <node name="Enemy Is Nearby" type="CompareNumber" id="C550CE43738699CD">
    <property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="literal" value="1" />
  </node>
  <node name="PVP Targeting Node" type="Or" id="4737E57049B5A0C8">
    <insertChild id="221D54DCC51C2268" />
    <insertChild id="8D597200677A6D3E" />
    <insertChild id="4F673A032EAF2B8D" />
  </node>
  <node name="&gt; High Mana" type="EnergyFraction" id="221D54DCC51C2268">
    <property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="9A2F7049013D0B32" />
  </node>
  <node name="High Mana Targeting" type="Or" id="9A2F7049013D0B32">
    <insertChild id="FA2C3421176D2FF2" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="FA2C3421176D2FF2">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="&gt; Low Mana" type="EnergyFraction" id="8D597200677A6D3E">
    <property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="462368A660AE8131" />
  </node>
  <node name="Medium Mana Targeting" type="Or" id="462368A660AE8131">
    <insertChild id="AEC69263D0B1131E" />
    <insertChild id="E7BFEA188F98E1F6" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="AEC69263D0B1131E">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.9" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="Find 2 Heroes" type="FindBestSkillshot" id="E7BFEA188F98E1F6">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="2" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.5" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="&lt; Low Mana" type="EnergyFraction" id="4F673A032EAF2B8D">
    <property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
    <property name="Comparison" valueSource="literal" value="LT" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="AB625BE3AB17A030" />
  </node>
  <node name="Low Mana Targeting" type="Or" id="AB625BE3AB17A030">
    <insertChild id="C7323C2833EDFE88" />
    <insertChild id="B7AD0724851D9170" />
    <insertChild id="4B9515EB2A87C38A" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="C7323C2833EDFE88">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.4" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="Find 2 Heroes Under 50% Health" type="FindBestSkillshot" id="B7AD0724851D9170">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="2" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.5" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="3 Enemy Heroes" type="FindBestSkillshot" id="4B9515EB2A87C38A">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="3" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.9" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="PVE Targeting Node" type="Or" id="421C120B10DC3902">
    <insertChild id="640AA12EFA19A7C2" />
    <insertChild id="3EF961A644A16D2E" />
  </node>
  <node name="High Mana" type="EnergyFraction" id="640AA12EFA19A7C2">
    <property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="3C359163AA23E41A" />
  </node>
  <node name="High Mana Targeting" type="Or" id="3C359163AA23E41A">
    <insertChild id="A9D1A6C1F0329B84" />
  </node>
  <node name="Find 4 Anything" type="FindBestSkillshot" id="A9D1A6C1F0329B84">
    <property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,MapBoss,MapCreature,AITargetableStructure" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MissilePierceCount" valueSource="variable" value="AbilityMissilePierceCount" />
    <property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
    <property name="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="4" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="Low Mana" type="EnergyFraction" id="3EF961A644A16D2E">
    <property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="6417B07A78C291B6" />
  </node>
  <node name="Medium Mana Targeting" type="Or" id="6417B07A78C291B6">
    <insertChild id="2E793A0CDACDCABC" />
  </node>
  <node name="Find 6 Anything" type="FindBestSkillshot" id="2E793A0CDACDCABC">
    <property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,MapBoss,MapCreature,AITargetableStructure" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="MissilePierceCount" valueSource="variable" value="AbilityMissilePierceCount" />
    <property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
    <property name="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="6" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="Blood Rage" type="Ability" id="27BB2DB3CE70E2F0">
    <property name="Ability" valueSource="literal" value="NexusHunterBloodRage" />
    <property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
  </node>
  <node name="Revolving Sweep" type="AbilityUsable" id="20A6D1AB44AA23A5" 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="NexusHunterRevolvingSweepSecondary" />
    <insertChild id="A960C5AE560CF52D" />
  </node>
  <node name="Base Node" type="And" id="A960C5AE560CF52D" comment="This Node links targeting Logic, ability use and talent modifications">
    <variable name="AbilityRange" type="Number" value="8" comment="Range of the Ability" />
    <variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
    <variable name="AbilityMissileRadius" type="Number" valueSource="lookup" value="Effect,NexusHunterRevolvingSweepSearch,AreaArray[0].RectangleWidth" comment="Width of the Ability Searches" />
    <variable name="AbilityMissilePierceCount" type="Number" 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="AbilityDamage" type="Number" valueSource="lookup" value="Effect,NexusHunterRevolvingSweepInitialDamage,Amount" />
    <variable name="AbilityPredictionSeconds" type="Number" value="0.5" />
    <insertChild id="635F9A5E156DD9E0" />
    <insertChild id="5A0D1ABF2226F9D3" />
  </node>
  <node name="" type="Or" id="635F9A5E156DD9E0">
    <insertChild id="FAB53DD525FF17F0" />
    <insertChild id="7CDF34835D171912" />
  </node>
  <node name="Elite" type="Difficulty" id="FAB53DD525FF17F0">
    <insertChild id="47D524A2B744C6FA" />
  </node>
  <node name="" type="Or" id="47D524A2B744C6FA">
    <insertChild id="A0D8782255542CE1" />
    <insertChild id="E95B902E002685CB" />
  </node>
  <node name="Debuffed" type="FilterBehaviorCategory" id="A0D8782255542CE1">
    <property name="Categories" valueSource="literal" value="Stun,KnockedOut,DebuffRoot,Taunt" />
    <insertChild id="9D9BC175EA152220" />
  </node>
  <node name="Not Sleeping" type="FilterBehaviorCategory" id="9D9BC175EA152220">
    <property name="ExcludeCategories" valueSource="literal" value="Sleeping" />
    <insertChild id="C92684920E6F554B" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="C92684920E6F554B">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="Fatal Damage" type="FilterLife" id="E95B902E002685CB">
    <property name="MaxLife" valueSource="variable" value="AbilityDamage" />
    <insertChild id="439C7E170DA72979" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="439C7E170DA72979">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="PvP/PvE" type="IfElse" id="7CDF34835D171912">
    <insertChild id="6BF3F857E58ACF54" />
    <insertChild id="5805C6E01E21C163" />
  </node>
  <node name="Enemy Is Nearby" type="CompareNumber" id="6BF3F857E58ACF54">
    <property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="literal" value="1" />
  </node>
  <node name="PVP Targeting Node" type="Or" id="5805C6E01E21C163">
    <insertChild id="E9DD7B0D214297CD" />
    <insertChild id="260ADF8283726C61" />
    <insertChild id="27CCCE1613E6EFCE" />
  </node>
  <node name="&gt; High Mana" type="EnergyFraction" id="E9DD7B0D214297CD">
    <property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="F567F7DBB0A43652" />
  </node>
  <node name="High Mana Targeting" type="Or" id="F567F7DBB0A43652">
    <insertChild id="41CFCC01EB590C6A" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="41CFCC01EB590C6A">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="&gt; Low Mana" type="EnergyFraction" id="260ADF8283726C61">
    <property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="F4DD7CAB1D0E315B" />
  </node>
  <node name="Medium Mana Targeting" type="Or" id="F4DD7CAB1D0E315B">
    <insertChild id="96939E25BD59E29C" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="96939E25BD59E29C">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.9" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="&lt; Low Mana" type="EnergyFraction" id="27CCCE1613E6EFCE">
    <property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
    <property name="Comparison" valueSource="literal" value="LT" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="FE9AB6B57A849A28" />
  </node>
  <node name="Low Mana Targeting" type="Or" id="FE9AB6B57A849A28">
    <insertChild id="B994AA96B9FCADEB" />
  </node>
  <node name="Find 1 Hero" type="FindBestSkillshot" id="B994AA96B9FCADEB">
    <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="OutputPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.4" />
    <property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
  </node>
  <node name="Revolving Sweep" type="Ability" id="5A0D1ABF2226F9D3">
    <property name="Ability" valueSource="literal" value="NexusHunterRevolvingSweepSecondary" />
    <property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
  </node>
  <node name="Final Strike Useable" type="AbilityUsable" id="08C8C009EB52EC83">
    <property name="Ability" valueSource="literal" value="NexusHunterFinalStrikeActivate" />
    <insertChild id="F754F9903FC529B8" />
  </node>
  <node name="Final Strike" type="And" id="F754F9903FC529B8">
    <variable name="Final Strike Target Point" type="Point" />
    <variable name="Final Strike Target Unit" type="Unit" />
    <variable name="Final Strike Range" type="Number" value="11" />
    <variable name="Final Strike AOE Radius" type="Number" valueSource="lookup" value="Effect,NexusHunterFinalStrikeInitialSearch,AreaArray[0].RectangleWidth" />
    <variable name="Final Strike Missile Radius" type="Number" valueSource="lookup" value="Effect,NexusHunterFinalStrikeInitialSearch,AreaArray[0].RectangleWidth" />
    <variable name="Final Strike Target is Hero" type="Boolean" />
    <insertChild id="E7577B71EA4C6B47" />
    <insertChild id="A85CC0F9AE87AD42" />
  </node>
  <node name="Cast" type="Ability" id="A85CC0F9AE87AD42">
    <property name="Ability" valueSource="literal" value="NexusHunterFinalStrikeActivate" />
    <property name="TargetPoint" valueSource="variable" value="Final Strike Target Point" />
  </node>
</tree>