<?xml version="1.0" encoding="us-ascii"?>
<tree>
<include file="AI/HeroMutator.aitree" />
<mod id="87811D772E337EB7">
<insertChild id="11F7E1568D3CA423" />
<insertChild id="81419FA88E4A9444" />
<insertChild id="87224DF119B72CA8" />
<insertChild id="7689604E82B999D2" />
<insertChild id="833795EA8687AE42" />
<insertChild id="7CB0CC1A860C554E" />
<insertChild id="01FADDEA30FF65CF" />
<insertChild id="A7E02EBB58B6B4D9" />
</mod>
<mod id="A4058AA255280C17">
<insertChild id="20AC0B8DD7D44869" />
<insertChild id="0BADC68D64864052" />
<insertChild id="C17F61A3A2BE05E0" />
<insertChild id="94C93D46C12FBE28" />
</mod>
<mod id="C288EAD933C9CA25">
<insertChild id="B40184E672AC1512" />
</mod>
<mod id="F21BCB9B06948439">
<insertChild id="A08496506F2747F4" />
<insertChild id="8724886945F70330" />
</mod>
<node name="Frag Grenade" type="AbilityUsable" id="81419FA88E4A9444" 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="TychusGrenade" />
<insertChild id="1A0642742262F599" />
</node>
<node name="Base Node" type="And" id="1A0642742262F599" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" valueSource="lookup" value="Abil,TychusGrenade,Range" comment="Range of the Ability" />
<variable name="AbilityMissileRadius" type="Number" comment="Width of the Searches" />
<variable name="AbilityMissilePierceCount" type="Number" comment="Number of Blockers this can go through" />
<variable name="AbilityAOERadius" type="Number" valueSource="lookup" value="Effect,GrenadeTargetSearch,AreaArray[0].Radius" comment="Radius of the Search" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.4" comment="Low Threshhold for Casting" />
<variable name="AbilityHighManaThreshHold" type="Number" value="0.75" comment="High threshhold for Casting" />
<variable name="AbilityTargetPoint" type="Point" comment="Point to use ability on" />
<variable name="AbilityPredictionSeconds" type="Number" value="0.5" />
<insertChild id="2879E003FCE762E7" />
<insertChild id="584C00D740C9BF1C" />
</node>
<node name="Targeting Selecting Node" type="Or" id="2879E003FCE762E7">
<insertChild id="2E12DE856DE24C88" />
<insertChild id="43DAE52BC2DF678D" />
<insertChild id="D4FEA89800EE0339" />
<insertChild id="D2B8A82C70FE473C" />
</node>
<node name="Self > 75%" type="EnergyFraction" id="43DAE52BC2DF678D">
<property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="D147D04EB0316EB2" />
</node>
<node name="High Mana Targeting" type="Or" id="D147D04EB0316EB2">
<insertChild id="DB6DED252C3B45D2" />
<insertChild id="B9C150C175B96452" />
</node>
<node name="1 Enemy Hero" type="FindBestAOEPoint" id="DB6DED252C3B45D2">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
<property name="MaxLifeFraction" valueSource="literal" value="0.9" />
</node>
<node name="4 Enemy Minions/Mercs" type="FindBestAOEPoint" id="B9C150C175B96452">
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,MapCreature" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="4" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
</node>
<node name="Self > 40%" type="EnergyFraction" id="D4FEA89800EE0339">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="478E714FC019BAF9" />
</node>
<node name="Medium Mana Targeting" type="Or" id="478E714FC019BAF9">
<insertChild id="F2F84D0711C39F07" />
<insertChild id="B2D9A3F66E424867" />
<insertChild id="B694D94FDADD6DB5" />
<insertChild id="1E426E4A16AEBBE7" />
</node>
<node name="2 Enemy Hero" type="FindBestAOEPoint" id="B2D9A3F66E424867">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
<property name="LifeFractionFactor" valueSource="literal" value="0.9" />
</node>
<node name="5 Enemy Minions/Mercs" type="FindBestAOEPoint" id="B694D94FDADD6DB5">
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,MapCreature" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="5" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
</node>
<node name="Self < 40%" type="EnergyFraction" id="D2B8A82C70FE473C">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="858E5578F1FBF0F5" />
</node>
<node name="Low Mana Targeting" type="Or" id="858E5578F1FBF0F5">
<insertChild id="28C833A079B4370F" />
<insertChild id="9FA8A79E1AFBAD10" />
<insertChild id="CFE4212894F93042" />
</node>
<node name="3 Enemy Hero" type="FindBestAOEPoint" id="CFE4212894F93042">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="3" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
<property name="MaxLifeFraction" valueSource="literal" value="0.75" />
</node>
<node name="Use Ability" type="Ability" id="584C00D740C9BF1C">
<property name="Ability" valueSource="literal" value="TychusGrenade" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="Titan Grenade" type="UnitHasTalent" id="2E12DE856DE24C88">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Talent" valueSource="literal" value="TychusMasteryFragGrenadeTitanGrenade" />
<insertChild id="6B5A9B39F2AF18AA" />
</node>
<node name="1 Enemy Hero" type="FindBestAOEPoint" id="6B5A9B39F2AF18AA">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
<property name="MaxLifeFraction" valueSource="literal" value="0.12" />
</node>
<node name="1 Enemy Hero" type="FindBestAOEPoint" id="F2F84D0711C39F07">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
<property name="MaxLifeFraction" valueSource="literal" value="0.75" />
</node>
<node name="1 Enemy Hero" type="FindBestAOEPoint" id="28C833A079B4370F">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
<property name="MaxLifeFraction" valueSource="literal" value="0.25" />
</node>
<node name="2 Enemy Hero" type="FindBestAOEPoint" id="9FA8A79E1AFBAD10">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
<property name="MaxLifeFraction" valueSource="literal" value="0.5" />
</node>
<node name="Overkill" type="AbilityUsable" id="87224DF119B72CA8" 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="TychusOverkillTargeted" />
<insertChild id="5F384516C31CEF97" />
</node>
<node name="Base Node" type="And" id="5F384516C31CEF97" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" valueSource="lookup" value="Abil,TychusOverkillTargeted,Range" comment="Range of the Ability" />
<variable name="AbilityTargetUnit" type="Unit" comment="Target to Use Ability on" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.4" comment="Low Mana Threshhold" />
<variable name="AbilityHighManaThreshHold" type="Number" value="0.75" comment="High Mana Threshhold" />
<variable name="AbilityArc" type="Number" valueSource="lookup" value="Effect,TychusOverkillTargetedSearch,AreaArray[0].Arc" />
<variable name="AbilityTargetPoint" type="Point" />
<insertChild id="4EF52000441E7218" />
<insertChild id="2B4197E966411E77" />
<insertChild id="C66C08FBC81F17BB" />
</node>
<node name="Retarget Overkill" type="AbilityUsable" id="0BADC68D64864052" 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="OverkillTargetedRetarget" />
<insertChild id="F2159C7A94CE6EC6" />
</node>
<node name="Base Node" type="And" id="F2159C7A94CE6EC6" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" valueSource="lookup" value="Abil,TychusOverkillTargeted,Range" comment="Range of the Ability" />
<variable name="AbilityTargetUnit" type="Unit" comment="Target to Use Ability on" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.4" comment="Low Mana Threshhold" />
<variable name="AbilityHighManaThreshHold" type="Number" value="0.75" comment="High Mana Threshhold" />
<variable name="AbilityTargetPoint" type="Point" />
<variable name="AbilityArc" type="Number" />
<insertChild id="BCC576A1FD7F3630" />
<insertChild id="9EA8C3276E3B9549" />
</node>
<node name="Targeting Selecting Node" type="Or" id="BCC576A1FD7F3630">
<insertChild id="533E9D3A579EFE84" />
<insertChild id="3EFCE63C53BDE2A8" />
<insertChild id="88BB7CBCFEBD5C18" />
</node>
<node name="Run and Gun" type="AbilityUsable" id="A08496506F2747F4">
<property name="Ability" valueSource="literal" value="TychusRunAndGun" />
<insertChild id="30DAB126EB92B719" />
</node>
<node name="Root" type="And" id="30DAB126EB92B719">
<variable name="RunAndGunTarget" type="Point" valueSource="intrinsic" value="SafePos" />
<variable name="RunAndGunRange" type="Number" valueSource="lookup" value="Effect,RunAndGunPersistent,PeriodicOffsetArray[0].Y" />
<variable name="RunAndGunCloseUnit" type="Unit" />
<insertChild id="10C71E5DDAAABFD9" />
<insertChild id="30D84BC3965AD3DD" />
</node>
<node name="Use Condition" type="Or" id="10C71E5DDAAABFD9">
<insertChild id="40EE33787FD43E36" />
<insertChild id="33143A28734CE840" />
</node>
<node name="High Health" type="LifeFraction" id="40EE33787FD43E36">
<property name="Comparison" valueSource="literal" value="GT" />
<property name="LifeFraction" valueSource="variable" value="Combat Engage Threshhold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="424FDD465CB09427" />
</node>
<node name="Vault Target" type="FindBestTarget" id="424FDD465CB09427">
<property name="OnlyFocusTarget" valueSource="literal" value="false" />
<property name="OutputTarget" value="RunAndGunCloseUnit" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxLifeFraction" valueSource="literal" value="0.25" />
<property name="MaxTargetDistance" valueSource="literal" value="12" />
<property name="MinTargetDistance" valueSource="intrinsic" value="AttackRange" />
<property name="LifeFractionFactor" valueSource="literal" value="5" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
<insertChild id="425D26D75A03920A" />
</node>
<node name="" type="UnitPosition" id="425D26D75A03920A">
<property name="OutputPosition" value="RunAndGunTarget" />
<property name="InputUnit" valueSource="variable" value="RunAndGunCloseUnit" />
<property name="PredictionSeconds" valueSource="literal" value="0.5" />
</node>
<node name="Low Health" type="LifeFraction" id="33143A28734CE840">
<property name="Comparison" valueSource="literal" value="LE" />
<property name="LifeFraction" valueSource="variable" value="Health_EndOffensive" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="F304FF3C3F5F37FA" />
</node>
<node name="Enemy Near" type="UnitCount" id="F304FF3C3F5F37FA">
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="ExcludeTypes" valueSource="literal" value="Missile,Dead" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
<insertChild id="EC98CC75C2233A26" />
</node>
<node name="Run And Gun" type="Ability" id="30D84BC3965AD3DD">
<property name="Ability" valueSource="literal" value="TychusRunAndGun" />
<property name="TargetPoint" valueSource="variable" value="RunAndGunTarget" />
</node>
<node name="Find Close Safe Point" type="FindSafePoint" id="EC98CC75C2233A26">
<property name="FleeDistance" valueSource="variable" value="RunAndGunRange" />
<property name="OutputTarget" value="RunAndGunTarget" />
</node>
<node name="Target Under 75%" type="LifeFraction" id="94303831A00AAF42">
<property name="LifeFraction" valueSource="literal" value="0.75" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="OwnerAttackUnit" />
</node>
<node name="Use Minigun" type="AbilityEnqueue" id="39E5F04E6849260C">
<property name="Ability" valueSource="literal" value="TychusMinigunActive" />
</node>
<node name="Minigun" type="AbilityUsable" id="20AC0B8DD7D44869">
<property name="Ability" valueSource="literal" value="TychusMinigunActive" />
<insertChild id="9035AB1100296ECD" />
</node>
<node name="" type="And" id="9035AB1100296ECD">
<insertChild id="8C77F1098D88A9CE" />
<insertChild id="2E9E51E6AB7EFFCF" />
<insertChild id="39E5F04E6849260C" />
</node>
<node name="" type="Or" id="2E9E51E6AB7EFFCF">
<insertChild id="94303831A00AAF42" />
<insertChild id="F1B8579D0F9E22B1" />
<insertChild id="E534F6C8675908E9" />
</node>
<node name="Minigun" type="UnitHasBehavior" id="D1B6AF513D967BE9">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="TychusMinigunActiveBuff" />
</node>
<node name="Lowest Enemy Nearby" type="FindBestTarget" id="A433CD97A538652A">
<property name="OutputTarget" value="Low Enemy" />
<property name="DistanceFactor" valueSource="literal" value="0" />
<property name="LifeFractionFactor" valueSource="literal" value="10" />
<property name="MaxTargetDistance" valueSource="intrinsic" value="AttackRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
</node>
<node name="" type="And" id="8FBA98025D367A9D">
<variable name="Low Enemy" type="Unit" />
<insertChild id="07856030A93DFB63" />
<insertChild id="322726823E03BE64" />
</node>
<node name="" type="Or" id="07856030A93DFB63">
<insertChild id="A433CD97A538652A" />
</node>
<node name="" type="HeroFight" id="322726823E03BE64">
<property name="Target" valueSource="variable" value="Low Enemy" />
<property name="FightRange" valueSource="variable" value="FightRange" />
</node>
<node name="" type="And" id="7689604E82B999D2">
<insertChild id="078A879A407451E5" />
<insertChild id="A252425F7AD44DFC" />
<insertChild id="F3B6856E8C6B57C0" />
<insertChild id="8FBA98025D367A9D" />
</node>
<node name="" type="Or" id="F3B6856E8C6B57C0">
<insertChild id="D1B6AF513D967BE9" />
<insertChild id="6D58CD519F2C16AA" />
</node>
<node name="Minigun" type="UnitHasBehavior" id="6D58CD519F2C16AA">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="TychusMinigunPrimed" />
</node>
<node name="" type="Not" id="4EF52000441E7218">
<insertChild id="9F9587988150730B" />
</node>
<node name="" type="Or" id="9F9587988150730B">
<insertChild id="DEBDC76413A24B4D" />
<insertChild id="0CE8CBF2F4294060" />
</node>
<node name="Minigun" type="UnitHasBehavior" id="DEBDC76413A24B4D">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="TychusMinigunActiveBuff" />
</node>
<node name="Minigun" type="UnitHasBehavior" id="0CE8CBF2F4294060">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="TychusMinigunPrimed" />
</node>
<node name="Targeting Selecting Node" type="Or" id="2B4197E966411E77">
<insertChild id="0F911E5BE73F1E71" />
<insertChild id="0E681BD4AEED04A6" />
<insertChild id="13B93E26EC795090" />
</node>
<node name="Self > 75%" type="EnergyFraction" id="0F911E5BE73F1E71">
<property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="5B4102F56210727B" />
</node>
<node name="High Mana Targeting" type="Or" id="5B4102F56210727B">
<insertChild id="C1992F95D72C71FB" />
<insertChild id="D1BEE7D71A27B593" />
</node>
<node name="2 Hero" type="FindBestArc" id="C1992F95D72C71FB">
<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" />
</node>
<node name="3 Anything" type="FindBestArc" id="D1BEE7D71A27B593">
<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,Minion,Merc,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="5" />
</node>
<node name="Self > 40%" type="EnergyFraction" id="0E681BD4AEED04A6">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="6DB09DA91D91EB3E" />
</node>
<node name="Medium Mana Targeting" type="Or" id="6DB09DA91D91EB3E">
<insertChild id="86C834D3856C3642" />
<insertChild id="3E5BDF00AB2E5980" />
</node>
<node name="2 Hero" type="FindBestArc" id="86C834D3856C3642">
<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.7" />
</node>
<node name="5 Anything" type="FindBestArc" id="3E5BDF00AB2E5980">
<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,Minion,Merc,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="3" />
</node>
<node name="Self < 40%" type="EnergyFraction" id="13B93E26EC795090">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="58FE433DD9833F09" />
</node>
<node name="Low Mana Targeting" type="Or" id="58FE433DD9833F09">
<insertChild id="7969DED836960D6A" />
<insertChild id="4D836E28EA4E73D2" />
</node>
<node name="3 Hero" type="FindBestArc" id="7969DED836960D6A">
<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" />
</node>
<node name="2 Low Hero" type="FindBestArc" id="4D836E28EA4E73D2">
<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.5" />
</node>
<node name="Use Ability" type="Ability" id="FC213F50C8C859AA">
<property name="Ability" valueSource="literal" value="TychusOverkillTargeted" />
<property name="TargetUnit" valueSource="variable" value="AbilityTargetUnit" />
</node>
<node name="Closest Target" type="FindBestTarget" id="C66C08FBC81F17BB">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="MaxTargetDistance" valueSource="literal" value="10" />
<insertChild id="FC213F50C8C859AA" />
</node>
<node name="<20% Hero" type="FindBestTarget" id="533E9D3A579EFE84">
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="DistanceFactor" valueSource="literal" value="0" />
<property name="LifeFractionFactor" valueSource="literal" value="10" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxLifeFraction" valueSource="literal" value="0.2" />
</node>
<node name="1 Hero" type="FindBestArc" id="3EFCE63C53BDE2A8">
<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="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<insertChild id="4383B82E16E4BA0F" />
</node>
<node name="1 Anything" type="FindBestArc" id="88BB7CBCFEBD5C18">
<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,Minion,Merc,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="1" />
<insertChild id="11361A58E2200629" />
</node>
<node name="Closest Target" type="FindBestTarget" id="11361A58E2200629">
<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="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="MaxTargetDistance" valueSource="literal" value="3" />
<property name="PreferredPointFactor" valueSource="literal" value="0" />
<property name="LifeFractionFactor" valueSource="literal" value="0" />
<property name="DistanceFactor" valueSource="literal" value="5" />
</node>
<node name="Enqueue" type="AbilityEnqueue" id="9EA8C3276E3B9549">
<property name="Ability" valueSource="literal" value="OverkillTargetedRetarget" />
<property name="TargetUnit" valueSource="variable" value="AbilityTargetUnit" />
<property name="DoNotThrottle" valueSource="literal" value="true" />
</node>
<node name="Drakken Laser Drill" type="AbilityUsable" id="11F7E1568D3CA423">
<property name="Ability" valueSource="literal" value="TychusDrakkenLaserDrill" />
<insertChild id="8477496EC73D7733" />
</node>
<node name="" type="And" id="8477496EC73D7733">
<variable name="LaserDrillTargetPoint" type="Point" />
<variable name="LaseDrillRange" type="Number" valueSource="lookup" value="Abil,TychusDrakkenLaserDrill,Range" />
<insertChild id="A5F59B6ABB15FEC7" />
<insertChild id="D8BCDDDEB8054595" />
</node>
<node name="" type="Or" id="A5F59B6ABB15FEC7">
<insertChild id="BB0F19095F9A172B" />
<insertChild id="15757D933529E963" />
<insertChild id="58B0645313D71440" />
</node>
<node name="3 Enemies" type="FindBestAOEPoint" id="BB0F19095F9A172B">
<property name="TargetTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="OutputTarget" value="LaserDrillTargetPoint" />
<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="LaseDrillRange" />
<property name="MaxLifeFraction" valueSource="literal" value="0.9" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
<insertChild id="93AFBCC05AA9097D" />
</node>
<node name="Health < 50%" type="LifeFraction" id="15757D933529E963">
<property name="LifeFraction" valueSource="literal" value="0.5" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="B20FF9EC39C8AAF2" />
</node>
<node name="Enemy Nearby" type="FindBestAOEPoint" id="B20FF9EC39C8AAF2">
<property name="TargetTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="OutputTarget" value="LaserDrillTargetPoint" />
<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="LaseDrillRange" />
<property name="MaxLifeFraction" valueSource="literal" value="0.9" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
<insertChild id="0454AF4B27B05797" />
</node>
<node name="Laser Drill" type="Ability" id="D8BCDDDEB8054595">
<property name="Ability" valueSource="literal" value="TychusDrakkenLaserDrill" />
<property name="TargetPoint" valueSource="variable" value="LaserDrillTargetPoint" />
</node>
<node name="2 Hurt Enemies" type="UnitCount" id="58B0645313D71440">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="2" />
<property name="MaxLifeFraction" valueSource="literal" value="0.75" />
<insertChild id="DE4A6AD606955845" />
</node>
<node name="< 2 Enemy" type="UnitCount" id="0454AF4B27B05797">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="2" />
<property name="Comparison" valueSource="literal" value="LE" />
<insertChild id="4E3E2748F0AF65EC" />
</node>
<node name="<=1 Ally" type="UnitCount" id="4E3E2748F0AF65EC">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Ally" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="Comparison" valueSource="literal" value="LE" />
</node>
<node name="2 Allies" type="UnitCount" id="DE4A6AD606955845">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Ally" />
<property name="TargetCount" valueSource="literal" value="2" />
<property name="MinLifeFraction" valueSource="literal" value="0.25" />
<insertChild id="F5D46E3744C5314B" />
</node>
<node name="Enemy Nearby" type="FindBestAOEPoint" id="F5D46E3744C5314B">
<property name="TargetTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="OutputTarget" value="LaserDrillTargetPoint" />
<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="LaseDrillRange" />
<property name="MaxLifeFraction" valueSource="literal" value="0.9" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
</node>
<node name="Retarget Drill" type="AbilityUsable" id="C17F61A3A2BE05E0" 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="TychusDrakkenLaserDrillIssueOrder" />
<insertChild id="4B74A3F71E6B2B0E" />
</node>
<node name="Base Node" type="And" id="4B74A3F71E6B2B0E" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" valueSource="lookup" value="Weapon,TychusLaserDrillWeapon,Range" comment="Range of the Ability" />
<variable name="AbilityTargetUnit" type="Unit" comment="Target to Use Ability on" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.4" comment="Low Mana Threshhold" />
<variable name="AbilityHighManaThreshHold" type="Number" value="0.75" comment="High Mana Threshhold" />
<variable name="AbilityTargetPoint" type="Point" />
<variable name="AbilityArc" type="Number" />
<variable name="LaserDrillUnit" type="Unit" />
<insertChild id="79EEF9CD278BA297" />
<insertChild id="4416263DA06CA39F" />
<insertChild id="4F641C3F34DA71DF" />
</node>
<node name="Targeting Selecting Node" type="Or" id="4416263DA06CA39F">
<insertChild id="ECC58AA7AAB550D3" />
</node>
<node name="Lowest Enemy Nearby" type="FindBestTarget" id="ECC58AA7AAB550D3">
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="DistanceFactor" valueSource="literal" value="0" />
<property name="LifeFractionFactor" valueSource="literal" value="10" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxLifeFraction" valueSource="literal" value="0.2" />
<property name="SearchCenter" valueSource="variable" value="LaserDrillUnit" />
</node>
<node name="Enqueue" type="AbilityEnqueue" id="4F641C3F34DA71DF">
<property name="Ability" valueSource="literal" value="OverkillTargetedRetarget" />
<property name="TargetUnit" valueSource="variable" value="AbilityTargetUnit" />
<property name="DoNotThrottle" valueSource="literal" value="true" />
</node>
<node name="" type="Sequence" id="79EEF9CD278BA297">
<property name="IgnoreChildFailures" valueSource="literal" value="true" />
<insertChild id="54BFC6FF3D87CC2E" />
</node>
<node name="Find Drill" type="FindBestTarget" id="54BFC6FF3D87CC2E">
<property name="UnitType" valueSource="literal" value="TychusLaserDrill" />
<property name="TargetTypes" valueSource="literal" value="Self,Player,Ally" />
<property name="RequiredTypes" valueSource="literal" value="" />
<property name="OutputTarget" value="LaserDrillUnit" />
<property name="MaxTargetDistance" valueSource="literal" value="50" />
<property name="ExcludeTypes" valueSource="literal" value="" />
</node>
<node name="2 Allies" type="UnitCount" id="93AFBCC05AA9097D">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Ally" />
<property name="TargetCount" valueSource="literal" value="2" />
<property name="MinLifeFraction" valueSource="literal" value="0.25" />
</node>
<node name="Run and Gun" type="AbilityUsable" id="A7E02EBB58B6B4D9">
<property name="Ability" valueSource="literal" value="TychusRunAndGun" />
<insertChild id="917E77A8437D532E" />
</node>
<node name="Root" type="And" id="917E77A8437D532E">
<variable name="RunAndGunTarget" type="Point" valueSource="intrinsic" value="SafePos" />
<variable name="RunAndGunRange" type="Number" valueSource="lookup" value="Effect,RunAndGunPersistent,PeriodicOffsetArray[0].Y" />
<variable name="RunAndGunCloseUnit" type="Unit" />
<insertChild id="46E97DC1C61D0637" />
<insertChild id="B63323B2642ECB41" />
</node>
<node name="Use Condition" type="Or" id="46E97DC1C61D0637">
<insertChild id="F2E6C9D3D84D1C42" />
</node>
<node name="Enemy Near" type="UnitCount" id="F2E6C9D3D84D1C42">
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="ExcludeTypes" valueSource="literal" value="Missile,Dead" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
<insertChild id="0084B995F0E5F4BF" />
</node>
<node name="Find Close Safe Point" type="FindSafePoint" id="0084B995F0E5F4BF">
<property name="FleeDistance" valueSource="variable" value="RunAndGunRange" />
<property name="OutputTarget" value="RunAndGunTarget" />
<property name="FleeCenter" valueSource="intrinsic" value="Self" />
</node>
<node name="Run And Gun" type="Ability" id="B63323B2642ECB41">
<property name="Ability" valueSource="literal" value="TychusRunAndGun" />
<property name="TargetPoint" valueSource="variable" value="RunAndGunTarget" />
</node>
<node name="Neosteel Coating" type="AbilityUsable" id="94C93D46C12FBE28">
<property name="Ability" valueSource="literal" value="TychusNeosteelCoating" />
<insertChild id="01131811DDA75090" />
</node>
<node name="Anti-Magic Shell" type="And" id="01131811DDA75090">
<insertChild id="ABE8938272D83D1F" />
<insertChild id="0DCAAF54C5BB1E51" />
<insertChild id="EEFE277A97AD68AD" />
</node>
<node name="In Combat" type="Validator" id="ABE8938272D83D1F">
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Validator" valueSource="literal" value="CasterInCombat" />
</node>
<node name="Use Cases" type="Or" id="0DCAAF54C5BB1E51">
<insertChild id="8E05C78773D9824B" />
<insertChild id="237FE45C9229AB31" />
</node>
<node name="" type="And" id="8E05C78773D9824B">
<insertChild id="FCE970A43F3E36DF" />
<insertChild id="6FAFB89DE288BABC" />
</node>
<node name="2+ Enemy Heroes Nearby" type="UnitCount" id="FCE970A43F3E36DF">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="TargetCount" valueSource="literal" value="2" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
</node>
<node name="< 50% Health" type="LifeFraction" id="6FAFB89DE288BABC">
<property name="Comparison" valueSource="literal" value="LE" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="LifeFraction" valueSource="literal" value="0.5" />
</node>
<node name="" type="And" id="237FE45C9229AB31">
<insertChild id="65F56CC1876DA2C5" />
<insertChild id="E7EDD3A065615D80" />
</node>
<node name="Enemy Hero Nearby" type="UnitCount" id="65F56CC1876DA2C5">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
</node>
<node name="Critical Health" type="LifeFraction" id="E7EDD3A065615D80">
<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="Cast" type="AbilityEnqueue" id="EEFE277A97AD68AD">
<property name="Ability" valueSource="literal" value="TychusNeosteelCoating" />
</node>
<node name="Thats the Stuff" type="UnitHasTalent" id="F1B8579D0F9E22B1">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Talent" valueSource="literal" value="TychusThatsTheStuff" />
<insertChild id="02CF231BAA520F32" />
</node>
<node name="Self < 75%" type="LifeFraction" id="02CF231BAA520F32">
<property name="LifeFraction" valueSource="literal" value="0.75" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
</node>
<node name="Odin" type="AbilityUsable" id="833795EA8687AE42">
<property name="Ability" valueSource="literal" value="TychusOdinNoHealth" />
<insertChild id="93B370C3E2AA5116" />
</node>
<node name="" type="Or" id="38554BC298494AC3">
<insertChild id="330BA97E9D12B780" />
<insertChild id="CD157E01DA0B9259" />
<insertChild id="1DA355353F6993FC" />
</node>
<node name="2 Enemies" type="FindBestAOEPoint" id="330BA97E9D12B780">
<property name="TargetTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="OutputTarget" value="OdinEnemyPoint" />
<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="8" />
<property name="MaxTargetDistance" valueSource="literal" value="15" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
</node>
<node name="2 Allies" type="UnitCount" id="D5CB22B63FA2897E">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Ally" />
<property name="TargetCount" valueSource="literal" value="2" />
<property name="MinLifeFraction" valueSource="literal" value="0.1" />
<property name="SearchCenter" valueSource="variable" value="OdinEnemyPoint" />
<property name="MaxTargetDistance" valueSource="literal" value="12" />
</node>
<node name="Health < 50%" type="LifeFraction" id="CD157E01DA0B9259">
<property name="LifeFraction" valueSource="literal" value="0.5" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="AC2F8E4239752FB9" />
</node>
<node name="Enemy Nearby" type="FindBestAOEPoint" id="AC2F8E4239752FB9">
<property name="TargetTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="OutputTarget" value="OdinEnemyPoint" />
<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="literal" value="15" />
<property name="MaxLifeFraction" valueSource="literal" value="0.9" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
<insertChild id="E18973B3A5F9B600" />
</node>
<node name="< 2 Enemy" type="UnitCount" id="E18973B3A5F9B600">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="2" />
<property name="Comparison" valueSource="literal" value="LE" />
<property name="SearchCenter" valueSource="variable" value="OdinEnemyPoint" />
<insertChild id="E630B78F474E62F7" />
</node>
<node name="<=1 Ally" type="UnitCount" id="E630B78F474E62F7">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Ally" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="Comparison" valueSource="literal" value="LE" />
<property name="SearchCenter" valueSource="variable" value="OdinEnemyPoint" />
</node>
<node name="2 Hurt Enemies" type="UnitCount" id="1DA355353F6993FC">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="2" />
<property name="MaxLifeFraction" valueSource="literal" value="0.75" />
<insertChild id="8C4C986FCD10DF63" />
</node>
<node name="2 Allies" type="UnitCount" id="8C4C986FCD10DF63">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Ally" />
<property name="TargetCount" valueSource="literal" value="2" />
<property name="MinLifeFraction" valueSource="literal" value="0.25" />
<insertChild id="3EBD2FECE3E0FD0D" />
</node>
<node name="Enemy Nearby" type="FindBestAOEPoint" id="3EBD2FECE3E0FD0D">
<property name="TargetTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="OutputTarget" value="OdinEnemyPoint" />
<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="literal" value="15" />
<property name="MaxLifeFraction" valueSource="literal" value="0.9" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
</node>
<node name="Odin" type="Ability" id="92F85363CB397F6F">
<property name="Ability" valueSource="literal" value="TychusOdinNoHealth" />
</node>
<node name="" type="And" id="93B370C3E2AA5116">
<variable name="OdinEnemyPoint" type="Point" />
<insertChild id="C54275D91BDDB565" />
<insertChild id="38554BC298494AC3" />
<insertChild id="410B5A85C611AEDB" />
<insertChild id="92F85363CB397F6F" />
</node>
<node name="" type="Or" id="410B5A85C611AEDB">
<insertChild id="372A98F091E3CEB9" />
<insertChild id="D9A0D1504B35FDBA" />
<insertChild id="F33A79017D4CC706" />
</node>
<node name="<1 Enemy within 5" type="UnitCount" id="C54275D91BDDB565">
<property name="TargetTypes" valueSource="literal" value="Enemy" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="MaxTargetDistance" valueSource="literal" value="5" />
<property name="Comparison" valueSource="literal" value="LE" />
<property name="TargetCount" valueSource="literal" value="1" />
</node>
<node name="Enemy Near" type="UnitCount" id="D9A0D1504B35FDBA">
<property name="TargetTypes" valueSource="literal" value="Enemy" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="MaxTargetDistance" valueSource="literal" value="5" />
<property name="Comparison" valueSource="literal" value="Eq" />
<property name="TargetCount" valueSource="literal" value="1" />
<insertChild id="C9CA6D4EB8ABC5AC" />
</node>
<node name="Enemy Near" type="UnitCount" id="C9CA6D4EB8ABC5AC">
<property name="TargetTypes" valueSource="literal" value="Enemy" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="MaxTargetDistance" valueSource="literal" value="15" />
<property name="Comparison" valueSource="literal" value="GT" />
<property name="MinTargetDistance" valueSource="literal" value="5" />
<property name="TargetCount" valueSource="literal" value="1" />
<insertChild id="63D480444175B3FC" />
</node>
<node name="Self > 90%" type="LifeFraction" id="372A98F091E3CEB9">
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="LifeFraction" valueSource="literal" value="0.9" />
</node>
<node name="Annihilate" type="AbilityUsable" id="7CB0CC1A860C554E" 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="TychusOdinAnnihilate" />
<insertChild id="BE3E7F7B2DD0C4E4" />
</node>
<node name="Base Node" type="And" id="BE3E7F7B2DD0C4E4" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" value="19" comment="Range of the Ability" />
<variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
<variable name="AbilityMissileRadius" type="Number" value="1.5" comment="Width of the Ability Searches" />
<variable name="MissileSpeed" type="Number" value="1.5" />
<insertChild id="069C8B63E409EDF1" />
<insertChild id="AAB434F75D748E48" />
</node>
<node name="Targeting Selecting Node" type="Or" id="201045B237E6A715">
<insertChild id="AD9619502ECD7546" />
</node>
<node name="Find 1 Hero" type="FindBestVector" id="AD9619502ECD7546">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
<property name="LifeFractionFactor" valueSource="literal" value="10" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="PredictionMissileSpeed" valueSource="variable" value="MissileSpeed" />
<property name="PredictionSeconds" valueSource="literal" value="0.25" />
</node>
<node name="Merc Mapboss or Creature" type="FindBestVector" id="4A6BBC5C7E3967C9">
<property name="TargetTypes" valueSource="literal" value="Merc,MapBoss,MapCreature" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="PredictionMissileSpeed" valueSource="variable" value="MissileSpeed" />
<property name="PredictionSeconds" valueSource="literal" value="0.25" />
</node>
<node name="Low Mana Targeting" type="Or" id="3AB879E64B4F816F">
<insertChild id="4A6BBC5C7E3967C9" />
<insertChild id="8402E5F0565ABF6D" />
</node>
<node name="Use Ability" type="Ability" id="AAB434F75D748E48">
<property name="Ability" valueSource="literal" value="TychusOdinAnnihilate" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="" type="IfElse" id="069C8B63E409EDF1">
<insertChild id="21D6D97594B332AE" />
<insertChild id="201045B237E6A715" />
<insertChild id="3AB879E64B4F816F" />
</node>
<node name="Enemy Nearby" type="UnitCount" id="21D6D97594B332AE">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="22" />
</node>
<node name="Anything" type="FindBestVector" id="8402E5F0565ABF6D">
<property name="TargetTypes" valueSource="literal" value="Merc,MapBoss,MapCreature" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Creep,Tower,Minion,Merc,Structure,Summoned,MapBoss,MapCreature" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="PredictionMissileSpeed" valueSource="variable" value="MissileSpeed" />
<property name="PredictionSeconds" valueSource="literal" value="0.25" />
</node>
<node name="Ragnarok" type="AbilityUsable" id="01FADDEA30FF65CF" 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="TychusOdinRagnarokMissilesTargeted" />
<insertChild id="2398E9435B75947B" />
</node>
<node name="Base Node" type="And" id="2398E9435B75947B" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" valueSource="lookup" value="Abil,TychusOdinRagnarokMissilesTargeted,Range" comment="Range of the Ability" />
<variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
<variable name="AbilityMissileRadius" type="Number" value="1" comment="Width of the Ability Searches" />
<variable name="AbilityAOERadius" type="Number" valueSource="lookup" value="Effect,TychusOdinRagnarokMissilesTargetedSearch,AreaArray[0].Radius" />
<insertChild id="474DC02F9C2496D0" />
<insertChild id="3E1340F164B36AB3" />
</node>
<node name="" type="IfElse" id="474DC02F9C2496D0">
<insertChild id="388F67CCAD74EC8E" />
<insertChild id="B6CB3106582723F4" />
<insertChild id="2C294640CC55BD1F" />
</node>
<node name="Enemy Nearby" type="UnitCount" id="388F67CCAD74EC8E">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="22" />
</node>
<node name="Targeting Selecting Node" type="Or" id="B6CB3106582723F4">
<insertChild id="6570E412D79D2933" />
</node>
<node name="Low Mana Targeting" type="Or" id="2C294640CC55BD1F">
<insertChild id="281292D521F43BA9" />
</node>
<node name="Use Ability" type="Ability" id="3E1340F164B36AB3">
<property name="Ability" valueSource="literal" value="TychusOdinRagnarokMissilesTargeted" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="1 Enemy Hero" type="FindBestAOEPoint" id="6570E412D79D2933">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="literal" value="2" />
</node>
<node name="1 Enemy Minions/Mercs" type="FindBestAOEPoint" id="281292D521F43BA9">
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,MapCreature" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="literal" value="2" />
</node>
<node name="Thrusters" type="AbilityUsable" id="8724886945F70330">
<property name="Ability" valueSource="literal" value="TychusOdinThrusters" />
<insertChild id="458D2289C27678DC" />
</node>
<node name="Root" type="And" id="458D2289C27678DC">
<variable name="RunAndGunTarget" type="Point" valueSource="intrinsic" value="SafePos" />
<variable name="RunAndGunRange" type="Number" value="4" />
<variable name="RunAndGunCloseUnit" type="Unit" />
<insertChild id="9E22481C4E0E3AD6" />
<insertChild id="059E962B134C4FB7" />
</node>
<node name="Use Condition" type="Or" id="9E22481C4E0E3AD6">
<insertChild id="CF786F7B2D6D45F9" />
<insertChild id="BAE193CB5940F029" />
</node>
<node name="High Health" type="LifeFraction" id="CF786F7B2D6D45F9">
<property name="Comparison" valueSource="literal" value="GT" />
<property name="LifeFraction" valueSource="variable" value="Combat Engage Threshhold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="F8F8B7695EE2DC07" />
</node>
<node name="Vault Target" type="FindBestTarget" id="F8F8B7695EE2DC07">
<property name="OnlyFocusTarget" valueSource="literal" value="false" />
<property name="OutputTarget" value="RunAndGunCloseUnit" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxLifeFraction" valueSource="literal" value="0.25" />
<property name="MaxTargetDistance" valueSource="literal" value="12" />
<property name="MinTargetDistance" valueSource="intrinsic" value="AttackRange" />
<property name="LifeFractionFactor" valueSource="literal" value="5" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
<insertChild id="8251E00B46FED7CD" />
</node>
<node name="" type="UnitPosition" id="8251E00B46FED7CD">
<property name="OutputPosition" value="RunAndGunTarget" />
<property name="InputUnit" valueSource="variable" value="RunAndGunCloseUnit" />
<property name="PredictionSeconds" valueSource="literal" value="0.5" />
</node>
<node name="Low Health" type="LifeFraction" id="BAE193CB5940F029">
<property name="Comparison" valueSource="literal" value="LE" />
<property name="LifeFraction" valueSource="variable" value="Health_EndOffensive" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="288708C9EEEA78C0" />
</node>
<node name="Enemy Near" type="UnitCount" id="288708C9EEEA78C0">
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="ExcludeTypes" valueSource="literal" value="Missile,Dead" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
<insertChild id="E12724DB60A54ADB" />
</node>
<node name="Find Close Safe Point" type="FindSafePoint" id="E12724DB60A54ADB">
<property name="FleeDistance" valueSource="variable" value="RunAndGunRange" />
<property name="OutputTarget" value="RunAndGunTarget" />
</node>
<node name="Run And Gun" type="Ability" id="059E962B134C4FB7">
<property name="Ability" valueSource="literal" value="TychusOdinThrusters" />
<property name="TargetPoint" valueSource="variable" value="RunAndGunTarget" />
</node>
<node name="Self > 75%" type="LifeFraction" id="A252425F7AD44DFC">
<property name="LifeFraction" valueSource="literal" value="0.75" />
<property name="Target" valueSource="intrinsic" value="Self" />
</node>
<node name="Self > 75%" type="LifeFraction" id="63D480444175B3FC">
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="LifeFraction" valueSource="literal" value="0.75" />
</node>
<node name="" type="Or" id="F33A79017D4CC706">
<insertChild id="D5CB22B63FA2897E" />
<insertChild id="7889487A3B0AF0E9" />
</node>
<node name="2 Allies" type="UnitCount" id="7889487A3B0AF0E9">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Ally" />
<property name="TargetCount" valueSource="literal" value="2" />
<property name="MinLifeFraction" valueSource="literal" value="0.1" />
<property name="MaxTargetDistance" valueSource="literal" value="12" />
</node>
<node name="Closest Target" type="FindBestTarget" id="4383B82E16E4BA0F">
<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="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="MaxTargetDistance" valueSource="literal" value="3" />
<property name="LifeFractionFactor" valueSource="literal" value="0" />
<property name="PreferredPointFactor" valueSource="literal" value="0" />
<property name="DistanceFactor" valueSource="literal" value="5" />
</node>
<node name="Not Active Buff" type="UnitHasBehavior" id="8C77F1098D88A9CE">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="TychusMinigunActiveBuff" />
<property name="StackComparison" valueSource="literal" value="Eq" />
<insertChild id="E14FB5C2C03E1D8C" />
</node>
<node name="Enemy Hero Nearby" type="UnitCount" id="E14FB5C2C03E1D8C">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxTargetDistance" valueSource="intrinsic" value="AttackRange" />
<property name="TargetCount" valueSource="literal" value="1" />
</node>
<node name="Enemy Hero Nearby" type="UnitCount" id="41441D2496E9D08E">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxTargetDistance" valueSource="intrinsic" value="AttackRange" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="MaxLifeFraction" valueSource="literal" value="0.5" />
</node>
<node name="2 Creep" type="FindBestAOEPoint" id="0A44758A15D86899">
<property name="TargetTypes" valueSource="literal" value="Creep" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityPredictionSeconds" />
</node>
<node name="No Hero Nearby" type="UnitCount" id="1E426E4A16AEBBE7">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxTargetDistance" valueSource="literal" value="10" />
<property name="Comparison" valueSource="literal" value="Eq" />
<insertChild id="0A44758A15D86899" />
</node>
<node name="Adept or Higher" type="Difficulty" id="E534F6C8675908E9">
<property name="Difficulty" valueSource="literal" value="Adept" />
<insertChild id="41441D2496E9D08E" />
</node>
<node name="Veteran or higher" type="Difficulty" id="078A879A407451E5">
<property name="Difficulty" valueSource="literal" value="Veteran" />
</node>
<node name="Movement Overrides" type="Or" id="B40184E672AC1512">
<insertChild id="727F8C5806A354AB" />
</node>
<node name="Overkill Active" type="UnitHasBehavior" id="727F8C5806A354AB">
<property name="Behavior" valueSource="literal" value="TychusOverkillActive" />
<property name="Unit" valueSource="intrinsic" value="Self" />
<insertChild id="3C1BCBD776AFC678" />
</node>
<node name="" type="Or" id="3C1BCBD776AFC678">
<variable name="OverkillTarget" type="Unit" />
<variable name="DistancetoTarget" type="Number" />
<variable name="SafestPosition" type="Point" />
<insertChild id="FD7FF7F6C8E68D62" />
</node>
<node name="Find Target" type="FindBestTarget" id="FD7FF7F6C8E68D62">
<property name="OutputTarget" value="OverkillTarget" />
<property name="MaxTargetDistance" valueSource="literal" value="15" />
<property name="TargetTypes" valueSource="literal" value="Heroic,MapBoss" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="Behavior" valueSource="literal" value="TychusOverkillDeathMonitor" />
<property name="BehaviorRequiredCaster" valueSource="intrinsic" value="Self" />
<insertChild id="893AEC4786204455" />
</node>
<node name="Calculate Distance" type="UnitDistance" id="893AEC4786204455">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Point" valueSource="variable" value="OverkillTarget" />
<property name="OutputDistance" value="DistancetoTarget" />
<property name="MinRange" valueSource="literal" value="15" />
<insertChild id="727BFDC4E63213C5" />
</node>
<node name="" type="IfElse" id="727BFDC4E63213C5">
<insertChild id="F240CAD60178B8BE" />
<insertChild id="BE85EFCC251340D7" />
<insertChild id="EB5CF737CAFA6A70" />
</node>
<node name="Target Close" type="CompareNumber" id="F240CAD60178B8BE">
<property name="Comparison" valueSource="literal" value="LT" />
<property name="LeftHandSide" valueSource="variable" value="DistancetoTarget" />
<property name="RightHandSide" valueSource="literal" value="3" />
</node>
<node name="Close Safe Point" type="FindSafePoint" id="BE85EFCC251340D7">
<property name="FleeDistance" valueSource="literal" value="3" />
<property name="OutputTarget" value="SafestPosition" />
<insertChild id="7B1299C6B0400F59" />
</node>
<node name="Goto Safe Position" type="HeroMoveToPoint" id="7B1299C6B0400F59">
<property name="TargetPosition" valueSource="variable" value="SafestPosition" />
</node>
<node name="Target Close" type="CompareNumber" id="EB5CF737CAFA6A70">
<property name="Comparison" valueSource="literal" value="GT" />
<property name="LeftHandSide" valueSource="variable" value="DistancetoTarget" />
<property name="RightHandSide" valueSource="literal" value="4" />
<insertChild id="9E878BB2492ED9A7" />
</node>
<node name="Self > 50%" type="LifeFraction" id="9E878BB2492ED9A7">
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="LifeFraction" valueSource="literal" value="0.5" />
<insertChild id="19FA4E4D161B9C50" />
</node>
<node name="< 3 Enemy Heroes Near" type="UnitCount" id="19FA4E4D161B9C50">
<property name="Comparison" valueSource="literal" value="LT" />
<property name="TargetCount" valueSource="literal" value="3" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="ExcludeTypes" valueSource="literal" value="Enemy,Missile,Stasis,Dead,Invulnerable,Benign" />
<property name="MaxTargetDistance" valueSource="literal" value="15" />
<property name="MinLifeFraction" valueSource="literal" value="0.2" />
<insertChild id="F0F7CFDACB15E547" />
</node>
<node name="Go to Target" type="HeroMoveToPoint" id="F0F7CFDACB15E547">
<property name="TargetPosition" valueSource="variable" value="OverkillTarget" />
</node>
</tree>