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

herobaseoriginal.aitree
<?xml version="1.0" encoding="us-ascii"?>
<tree root="746F6F526F726548">
  <node name="HeroRoot" type="Select" id="746F6F526F726548" comment="Root For Hero AI Think Tree">
    <variable name="Health_ReturnToSpawn" type="Number" value="0.35" />
    <variable name="Health_EndOffensive" type="Number" value="0.45" />
    <variable name="Health_StartOffensive" type="Number" value="0.6" />
    <variable name="Health_High" type="Number" value="0.9" />
    <variable name="FleeTimer" type="Time" />
    <variable name="FightRange" type="Number" valueSource="intrinsic" value="AttackRange" />
    <variable name="ChaseAllowedTime" type="Time" />
    <variable name="ChasePreventTime" type="Time" />
    <variable name="Ally Hero Count" type="Integer" />
    <variable name="Enemy Hero Count" type="Integer" />
    <variable name="Gank Start Location" type="Point" />
    <variable name="EnemyNearPreventionTimer" type="Time" />
    <variable name="Combat Engage Threshhold" type="Number" value="0.75" />
    <variable name="GoalTarget" type="Unit" />
    <variable name="GoalTargetPosition" type="Point" />
    <variable name="Fake Number" type="Number" />
    <variable name="Flee Point" type="Point" />
    <insertChild id="186D20E6933A7981" />
    <insertChild id="CCE623786E8A1791" />
    <insertChild id="FB150D97F7DB000B" />
    <insertChild id="7080E6A60BC52C00" />
    <insertChild id="550BE740F166EA62" />
    <insertChild id="6C616369000C0E06" />
    <insertChild id="E39F4C66494E5644" />
    <insertChild id="656C65531E0E1B24" />
    <insertChild id="43958E349EFFC058" />
  </node>
  <node name="TacticalRoot" type="Select" id="6C616369000C0E06" comment="Root For Hero Tactical AI">
    <insertChild id="A4058AA255280C17" />
    <insertChild id="3FAD3B6CDC9F26F4" />
    <insertChild id="F21BCB9B06948439" />
    <insertChild id="06E7B8EB9CB98DF9" />
    <insertChild id="69E526F057126AB5" />
    <insertChild id="650E7909987E3B53" />
    <insertChild id="20E1BC26406E11DD" />
    <insertChild id="ECBDA476155B5E6B" />
    <insertChild id="F0ACAF8EBEB2AC31" />
    <insertChild id="87811D772E337EB7" />
    <insertChild id="73F2304E6C710112" />
    <insertChild id="8A67CD74EA280DA2" />
    <insertChild id="916CBDD167D00890" />
    <insertChild id="93801AED1753AA9B" />
  </node>
  <node name="GoalSelector" type="GoalSelector" id="656C65531E0E1B24" comment="Determines hero actions based on the Goal assigned to AI from the Goal System">
    <insertChild id="616F4734252F062B" />
    <insertChild id="353037210A2F325E" />
    <insertChild id="74506F090402201E" />
    <insertChild id="C95880C93965515E" />
    <insertChild id="283C2F2A012D2443" />
    <insertChild id="7D8F7D7DC87C2647" />
    <insertChild id="202D084A475A7B73" />
    <insertChild id="4C414F477F000020" />
    <insertChild id="B7BDBA3A11DAFF22" />
    <insertChild id="13341DAE1AEBB4CC" />
    <insertChild id="55DD553B1818FBD9" />
  </node>
  <node name="GoalGank" type="GoalGank" id="616F4734252F062B">
    <property name="Target" value="GoalTarget" />
    <property name="TargetPosition" value="GoalTargetPosition" />
    <property name="TargetRadius" value="Fake Number" />
    <property name="SafePoint" value="Flee Point" />
    <property name="LocalThreat" value="Fake Number" />
    <property name="FleePoint" value="FleePoint" />
    <variable name="Target" type="Unit" comment="The target to gank." />
    <variable name="FleePoint" type="Point" comment="A point in the direction the target will likely flee." />
    <insertChild id="6E61475F4B4E412C" />
  </node>
  <node name="Gank" type="Select" id="6E61475F4B4E412C" comment="Root Select for the Gank behavior. This branch activates when the Gank Goal is set. It should have logic to approach and kill a target. Shouldn't care about mana or protecting yourself. If you get in danger Flee will take over and get you out.">
    <insertChild id="13083F3E1F211556" />
    <insertChild id="42152C3680C247EC" />
    <insertChild id="0715291C3F3E2C47" />
    <insertChild id="1A01350C3F3E2C22" />
    <insertChild id="130C212D2A1A352F" />
  </node>
  <node name="MoveToTarget" type="HeroMoveToUnit" id="13083F3E1F211556" comment="Move towards the gank target, and try to go around them">
    <property name="StartRange" valueSource="literal" value="16" />
    <property name="StopRange" valueSource="literal" value="12" />
    <property name="Target" valueSource="variable" value="Target" />
    <property name="FleePoint" valueSource="variable" value="FleePoint" />
  </node>
  <node name="AttemptChase" type="And" id="0715291C3F3E2C47" comment="Attempt to chase the target unit.">
    <insertChild id="15645C704F784357" />
    <insertChild id="1B0431330D3A434E" />
    <insertChild id="150D242D2A1A2434" />
  </node>
  <node name="OutsideAttackRange" type="Distance" id="15645C704F784357" comment="Checks if the target is outside chase range">
    <property name="SourceUnit" valueSource="intrinsic" value="Self" />
    <property name="TargetUnit" valueSource="variable" value="Target" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="Distance" valueSource="intrinsic" value="AttackRange" />
  </node>
  <node name="TargetFleeing" type="UnitFleeing" id="1B0431330D3A434E" comment="Checks if the target is fleeing">
    <property name="UnitTarget" valueSource="variable" value="Target" />
    <property name="Angle" valueSource="literal" value="90" />
  </node>
  <node name="ChaseTarget" type="AbilityCategory" id="150D242D2A1A2434" comment="Tries to use a chase ability if there is one">
    <property name="AbilityCategories" valueSource="literal" value="Chase" />
    <property name="TargetUnit" valueSource="variable" value="Target" />
  </node>
  <node name="AttemptStun" type="And" id="1A01350C3F3E2C22" comment="Attempt to stun the target unit.">
    <insertChild id="27164E5B40525872" />
    <insertChild id="75003638392F1529" />
  </node>
  <node name="NotAlreadyStunned" type="Not" id="27164E5B40525872" comment="Checks if the target is not already stunned">
    <insertChild id="1C19350C324E454C" />
  </node>
  <node name="AlreadyStunned" type="UnitTargetFilter" id="1C19350C324E454C" comment="Checks if the target is already stunned">
    <property name="Filters" valueSource="literal" value="OrdersPaused" />
    <property name="Target" valueSource="variable" value="Target" />
  </node>
  <node name="StunTarget" type="AbilityCategory" id="75003638392F1529" comment="Tries to cast a stun ability on the target if there is one">
    <property name="AbilityCategories" valueSource="literal" value="Control" />
    <property name="TargetUnit" valueSource="variable" value="Target" />
  </node>
  <node name="FightTarget" type="HeroFight" id="130C212D2A1A352F" comment="Fight the target unit, and prefer to get behind them">
    <property name="Target" valueSource="variable" value="Target" />
    <property name="FightRange" valueSource="variable" value="FightRange" />
    <property name="PreferredPoint" valueSource="variable" value="FleePoint" />
  </node>
  <node name="GoalEscort" type="GoalEscort" id="353037210A2F325E">
    <property name="Target" value="GoalTarget" />
    <property name="TargetPosition" value="GoalTargetPosition" />
    <property name="TargetRadius" value="Fake Number" />
    <property name="SafePoint" value="Flee Point" />
    <property name="LocalThreat" value="Fake Number" />
    <property name="RequiredThreat" value="RequiredThreat" />
    <property name="MinStagingRange" value="MinStagingRange" />
    <property name="MaxStagingRange" value="MaxStagingRange" />
    <variable name="Target" type="Unit" comment="The target unit to escort." />
    <variable name="RequiredThreat" type="Number" comment="The threat score needed to escort the target." />
    <variable name="MinStagingRange" type="Number" comment="The closest to get to the escort target." />
    <variable name="MaxStagingRange" type="Number" comment="The furthest to be from the escort target." />
    <insertChild id="293A07263D585353" />
  </node>
  <node name="Escort" type="Select" id="293A07263D585353" comment="Root Select for the Escort behavior">
    <variable name="TargetPosition" type="Point" />
    <insertChild id="5A5E546126002001" />
    <insertChild id="2819202222524F56" />
    <insertChild id="2E3E04200026254F" />
  </node>
  <node name="Escort Unit Position" type="UnitPosition" id="5A5E546126002001" comment="Return the position of the escort target. Modified in Hanamura mod.">
    <property name="InputUnit" valueSource="variable" value="Target" />
    <property name="OutputPosition" value="TargetPosition" />
  </node>
  <node name="Attempt to Fight" type="And" id="2819202222524F56" comment="Disengage fights if we are far away, and fight around position if we are nearby">
    <variable name="FightTarget" type="Unit" />
    <insertChild id="233826331B273D58" />
    <insertChild id="465F54523B2B342C" />
  </node>
  <node name="Find Fight Target" type="FindBestTarget" id="233826331B273D58" comment="Find the target with the highest value to fight">
    <property name="TargetTypes" valueSource="literal" value="Minion,Merc,Heroic,Summoned,MapCreature,AITargetableStructure" />
    <property name="SearchCenter" valueSource="variable" value="Target" />
    <property name="MaxTargetDistance" valueSource="variable" value="MaxStagingRange" />
    <property name="DistanceFactor" valueSource="literal" value="0.5" />
    <property name="OutputTarget" value="FightTarget" />
  </node>
  <node name="Fight Target" type="HeroFight" id="465F54523B2B342C" comment="Disengage fights if we are far away, and fight around position if we are nearby">
    <property name="Target" valueSource="variable" value="FightTarget" />
    <property name="FightRange" valueSource="variable" value="FightRange" />
  </node>
  <node name="PaceOrSomething" type="Select" id="3D30604E694E4441" comment="Pace or do something else. This is needed because potentially overlapping tree specializations will try to inject behavior here.">
    <insertChild id="505F54524F263024" />
  </node>
  <node name="Pace" type="HeroPace" id="505F54524F263024" comment="Pace near escort target position">
    <property name="TargetPosition" valueSource="variable" value="Target" />
    <property name="MaxRange" valueSource="variable" value="MaxStagingRange" />
  </node>
  <node name="Move Closer Or Pace Nearby" type="IfElse" id="2E3E04200026254F" comment="Pick we should pace near the escort target, or move closer">
    <insertChild id="575065485542632C" />
    <insertChild id="3D30604E694E4441" />
    <insertChild id="3F3E003D1B52404D" />
  </node>
  <node name="Within Max Distance" type="Distance" id="575065485542632C" comment="Checks if the target is outside chase range">
    <property name="SourceUnit" valueSource="intrinsic" value="Self" />
    <property name="TargetUnit" valueSource="variable" value="Target" />
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="Distance" valueSource="variable" value="MaxStagingRange" />
  </node>
  <node name="MoveToTarget" type="HeroMoveToPoint" id="3F3E003D1B52404D" comment="Move towards the escort target point">
    <property name="TargetPosition" valueSource="variable" value="Target" />
  </node>
  <node name="GoalAttackTarget" type="GoalAttackTarget" id="74506F090402201E">
    <property name="Target" value="GoalTarget" />
    <property name="TargetPosition" value="GoalTargetPosition" />
    <property name="TargetRadius" value="Fake Number" />
    <property name="SafePoint" value="Flee Point" />
    <property name="LocalThreat" value="Fake Number" />
    <property name="RequiredThreat" value="RequiredThreat" />
    <property name="MinStagingRange" value="MinStagingRange" />
    <property name="MaxStagingRange" value="MaxStagingRange" />
    <variable name="Target" type="Unit" comment="The target to attack." />
    <variable name="RequiredThreat" type="Number" comment="The threat score needed to assault the target." />
    <variable name="MinStagingRange" type="Number" comment="The closest to get to the target while waiting for allies." />
    <variable name="MaxStagingRange" type="Number" comment="The furthest to be from the target while waiting for allies." />
    <insertChild id="50331B182D1F2306" />
  </node>
  <node name="AttackTarget" type="Select" id="50331B182D1F2306" comment="Root Select for the AttackTarget behavior">
    <insertChild id="2031192F00351515" />
    <insertChild id="434B6251675E677B" />
  </node>
  <node name="Attempt AttackTarget" type="And" id="2031192F00351515" comment="Decide if we should attempt the recue">
    <insertChild id="4949604870630602" />
    <insertChild id="29123E0F3F171345" />
  </node>
  <node name="Compare Threat" type="AllyThreat" id="4949604870630602" comment="Compare ally threat with required AttackTarget threat">
    <property name="Position" valueSource="variable" value="Target" />
    <property name="Radius" valueSource="variable" value="MaxStagingRange" />
    <property name="IncludeSelf" valueSource="literal" value="true" />
    <property name="Comparison" valueSource="literal" value="LT" />
    <property name="RightHandSide" valueSource="variable" value="RequiredThreat" />
  </node>
  <node name="Fight or move closer (LowThreat)" type="IfElse" id="29123E0F3F171345" comment="Move towards the AttackTarget target position">
    <insertChild id="54657B4F6D635722" />
    <insertChild id="25133509000E6A5B" />
    <insertChild id="2337142B19657A6F" />
  </node>
  <node name="Within Max Distance" type="Distance" id="54657B4F6D635722" comment="Checks if the target is in range">
    <property name="SourceUnit" valueSource="intrinsic" value="Self" />
    <property name="TargetUnit" valueSource="variable" value="Target" />
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="Distance" valueSource="variable" value="MaxStagingRange" />
  </node>
  <node name="Attempt Fight (LowThreat)" type="Select" id="25133509000E6A5B" comment="Decide if we fight or hide or pace near AttackTarget target">
    <insertChild id="5F73737D70631E23" />
    <insertChild id="3C68626E4376474B" />
    <insertChild id="2819202222524F56" />
    <insertChild id="576B737D70631E24" />
  </node>
  <node name="Hide (LowThreat)" type="HeroHide" id="5F73737D70631E23" comment="Hide in bush near AttackTarget target area if not visible to enemies">
    <property name="TargetPosition" valueSource="variable" value="Target" />
    <property name="MaxRange" valueSource="variable" value="MaxStagingRange" />
  </node>
  <node name="Fight Attack Target (LowThreat)" type="HeroFight" id="3C68626E4376474B" comment="Fight AttackTarget passed to us by the goal">
    <property name="Target" valueSource="variable" value="Target" />
    <property name="FightRange" valueSource="variable" value="FightRange" />
  </node>
  <node name="Pace (LowThreat)" type="HeroPace" id="576B737D70631E24" comment="Pace around AttackTarget target position">
    <property name="TargetPosition" valueSource="variable" value="Target" />
    <property name="MaxRange" valueSource="variable" value="MaxStagingRange" />
  </node>
  <node name="MoveToTarget (LowThreat)" type="HeroMoveToPoint" id="2337142B19657A6F" comment="Move towards the AttackTarget target point">
    <property name="TargetPosition" valueSource="variable" value="Target" />
  </node>
  <node name="Fight or move closer" type="IfElse" id="434B6251675E677B" comment="Move towards the AttackTarget target position">
    <insertChild id="24361514270C133F" />
    <insertChild id="5D47635A61617E02" />
    <insertChild id="6941477B43781512" />
  </node>
  <node name="Within Max Distance" type="Distance" id="24361514270C133F" comment="Checks if the target is in range">
    <property name="SourceUnit" valueSource="intrinsic" value="Self" />
    <property name="TargetUnit" valueSource="variable" value="Target" />
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="Distance" valueSource="variable" value="MaxStagingRange" />
  </node>
  <node name="Attempt Fight" type="Select" id="5D47635A61617E02" comment="Decide if we fight or hide or pace near AttackTarget target">
    <insertChild id="4D5E180D0622062F" />
    <insertChild id="2819202222524F56" />
    <insertChild id="253D031C15111376" />
    <insertChild id="22351B1C15111376" />
  </node>
  <node name="Fight Attack Target" type="HeroFight" id="4D5E180D0622062F" comment="Fight AttackTarget passed to us by the goal">
    <property name="Target" valueSource="variable" value="Target" />
    <property name="FightRange" valueSource="variable" value="FightRange" />
  </node>
  <node name="Hide" type="HeroHide" id="253D031C15111376" comment="Hide in bush near AttackTarget target area if not visible to enemies">
    <property name="TargetPosition" valueSource="variable" value="Target" />
    <property name="MaxRange" valueSource="variable" value="MaxStagingRange" />
  </node>
  <node name="Pace" type="HeroPace" id="22351B1C15111376" comment="Pace around AttackTarget target position">
    <property name="TargetPosition" valueSource="variable" value="Target" />
    <property name="MaxRange" valueSource="variable" value="MaxStagingRange" />
  </node>
  <node name="MoveToTarget" type="HeroMoveToPoint" id="6941477B43781512" comment="Move towards the AttackTarget target point">
    <property name="TargetPosition" valueSource="variable" value="Target" />
  </node>
  <node name="GoalBeacon" type="GoalBeacon" id="283C2F2A012D2443">
    <property name="Target" value="GoalTarget" />
    <property name="TargetPosition" value="GoalTargetPosition" />
    <property name="TargetRadius" value="Fake Number" />
    <property name="SafePoint" value="Flee Point" />
    <property name="LocalThreat" value="Fake Number" />
    <property name="RequiredThreat" value="RequiredThreat" />
    <property name="BeaconRadius" value="BeaconRadius" />
    <property name="MinStagingRange" value="MinStagingRange" />
    <property name="MaxStagingRange" value="MaxStagingRange" />
    <variable name="TargetPosition" type="Point" comment="The target beacon position." />
    <variable name="RequiredThreat" type="Number" comment="The threat score needed prioritize the beacon." />
    <variable name="BeaconRadius" type="Number" comment="The capture radius of this beacon." />
    <variable name="MinStagingRange" type="Number" comment="The closest to get to the beacon unit." />
    <variable name="MaxStagingRange" type="Number" comment="The furthest to be from the beacon unit." />
    <insertChild id="505301123122302F" />
  </node>
  <node name="Beacon" type="Select" id="505301123122302F" comment="Default Beacon behavior">
    <insertChild id="CC273D0EFA88AB07" />
    <insertChild id="C22B543012BE7CBB" />
    <insertChild id="3F3E1A201750564A" />
    <insertChild id="0035505D62654059" />
    <insertChild id="D9F0DD966F51346E" />
    <insertChild id="B86F4BE922AFE6AB" />
    <insertChild id="505F4E4F43242623" />
  </node>
  <node name="Fight Target" type="HeroFight" id="465F4E4F3729222B" comment="Fight target on beacon">
    <property name="Target" valueSource="variable" value="FightTarget" />
    <property name="FightRange" valueSource="variable" value="FightRange" />
  </node>
  <node name="Find Hero Target around MaxStagingRange" type="FindBestTarget" id="0035505D62654059" comment="Find targets around MaxStagingRange">
    <property name="TargetTypes" valueSource="literal" value="Heroic,Summoned" />
    <property name="SearchCenter" valueSource="variable" value="TargetPosition" />
    <property name="MaxTargetDistance" valueSource="variable" value="MaxStagingRange" />
    <property name="DistanceFactor" valueSource="literal" value="2" />
    <property name="OutputTarget" value="FightTarget" />
    <variable name="FightTarget" type="Unit" />
    <insertChild id="465F4E4F3729222B" />
  </node>
  <node name="Pace" type="HeroPace" id="505F4E4F43242623" comment="Pace near Beacon target position">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="MaxRange" valueSource="variable" value="BeaconRadius" />
  </node>
  <node name="Move To Beacon if Far" type="HeroMoveToPoint" id="3F3E1A201750564A" comment="Move towards the Beacon target point">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="StopRange" valueSource="variable" value="BeaconRadius" />
    <property name="StartRange" valueSource="variable" value="MaxStagingRange" />
  </node>
  <node name="GoalInteract" type="GoalInteract" id="202D084A475A7B73">
    <property name="Target" value="GoalTarget" />
    <property name="TargetPosition" value="GoalTargetPosition" />
    <property name="TargetRadius" value="Fake Number" />
    <property name="SafePoint" value="Flee Point" />
    <property name="LocalThreat" value="Fake Number" />
    <property name="RequiredThreat" value="RequiredThreat" />
    <property name="MinStagingRange" value="MinStagingRange" />
    <property name="MaxStagingRange" value="MaxStagingRange" />
    <variable name="Target" type="Unit" comment="The target unit to interact with." />
    <variable name="RequiredThreat" type="Number" comment="The threat score needed prioritize the interactable." />
    <variable name="MinStagingRange" type="Number" comment="The closest to get to the interactable when outnumbered" />
    <variable name="MaxStagingRange" type="Number" comment="The furthest to be from the interactable when outnumbered" />
    <variable name="TargetPosition" type="Point" comment="The position of the target unit." />
    <insertChild id="544C3920273B0007" />
  </node>
  <node name="Move or Attempt Interact" type="IfElse" id="544C3920273B0007">
    <insertChild id="49435D5447507207" />
    <insertChild id="52455D5663544E62" />
    <insertChild id="002C1543565C7177" />
  </node>
  <node name="Within Max Distance" type="Distance" id="49435D5447507207">
    <property name="SourceUnit" valueSource="intrinsic" value="Self" />
    <property name="TargetPoint" valueSource="variable" value="TargetPosition" />
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="Distance" valueSource="variable" value="MaxStagingRange" />
  </node>
  <node name="InteractInRange" type="Select" id="52455D5663544E62">
    <insertChild id="C22B543012BE7CBB" />
    <insertChild id="AEEAD22808EAD423" />
    <insertChild id="5443353A223D0816" />
    <insertChild id="54504D455454615F" />
  </node>
  <node name="Fight" type="Select" id="5443353A223D0816" comment="Before we attempt to interact see if there are hostiles near the interact unit">
    <insertChild id="3C330E222B567B50" />
    <insertChild id="635D653738250B3F" />
  </node>
  <node name="AttemptFightAtInteractUnit" type="And" id="3C330E222B567B50" comment="We care about enemies very close to the interact unit">
    <variable name="FightTarget" type="Unit" />
    <insertChild id="3B22093609281F60" />
    <insertChild id="546154483320080A" />
  </node>
  <node name="Find Fight Target" type="FindBestTarget" id="3B22093609281F60">
    <property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,Heroic,Summoned,MapCreature,AITargetableStructure" />
    <property name="SearchCenter" valueSource="variable" value="TargetPosition" />
    <property name="MaxTargetDistance" valueSource="literal" value="5" />
    <property name="DistanceFactor" valueSource="literal" value="1" />
    <property name="OutputTarget" value="FightTarget" />
  </node>
  <node name="Fight Target" type="HeroFight" id="546154483320080A">
    <property name="Target" valueSource="variable" value="FightTarget" />
    <property name="FightRange" valueSource="variable" value="FightRange" />
  </node>
  <node name="AttemptFightInCombat" type="Validator" id="635D653738250B3F" comment="We expand our area to defend if we've been attacked recently">
    <property name="Target" valueSource="intrinsic" value="Self" />
    <property name="Validator" valueSource="literal" value="InCombat5" />
    <insertChild id="0A350F2A5B417C62" />
  </node>
  <node name="Attempt to Fight MaxStagingRange" type="And" id="0A350F2A5B417C62" comment="Attempt fight MaxStagingRange">
    <variable name="FightTarget" type="Unit" />
    <insertChild id="4A516076404F4E7C" />
    <insertChild id="142833192F517B63" />
  </node>
  <node name="Find Fight Target MaxStagingRange" type="FindBestTarget" id="4A516076404F4E7C" comment="Find targets MaxStagingRange">
    <property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,Heroic,Summoned,MapCreature,AITargetableStructure" />
    <property name="SearchCenter" valueSource="variable" value="TargetPosition" />
    <property name="MaxTargetDistance" valueSource="variable" value="MaxStagingRange" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
    <property name="DistanceFactor" valueSource="literal" value="0.5" />
    <property name="OutputTarget" value="FightTarget" />
  </node>
  <node name="Fight Target MaxStagingRange" type="HeroFight" id="142833192F517B63" comment="Fight target MaxStagingRange">
    <property name="Target" valueSource="variable" value="FightTarget" />
    <property name="FightRange" valueSource="variable" value="FightRange" />
  </node>
  <node name="AttemptInteract" type="Select" id="54504D455454615F">
    <insertChild id="5E534E46333A0C10" />
    <insertChild id="48534C5651201716" />
  </node>
  <node name="ShouldInteractCheck" type="And" id="5E534E46333A0C10">
    <insertChild id="45260B2139203705" />
    <insertChild id="1BF85A74F37EF45E" />
    <insertChild id="1D534E4658596978" />
    <insertChild id="7A57737149291E17" />
  </node>
  <node name="InteractUnitIsTargetable" type="Not" id="45260B2139203705">
    <insertChild id="0F2E07373D332066" />
  </node>
  <node name="InteractUnitUnTargetable" type="UnitHasBehavior" id="0F2E07373D332066">
    <property name="Unit" valueSource="variable" value="Target" />
    <property name="Behavior" valueSource="literal" value="MapMechanicCoolUp" />
  </node>
  <node name="ShouldInteract" type="ShouldInteract" id="1D534E4658596978">
    <property name="Target" valueSource="variable" value="Target" />
    <property name="Ability" valueSource="literal" value="CaptureMacGuffin" />
  </node>
  <node name="UseMacGuffin" type="Select" id="7A57737149291E17">
    <insertChild id="55744370032B0F05" />
    <insertChild id="551B3424032B0F05" />
    <insertChild id="45CA9F92C1586F4B" />
  </node>
  <node name="UseCaptureMacGuffin" type="Ability" id="55744370032B0F05">
    <property name="Ability" valueSource="literal" value="CaptureMacGuffin" />
    <property name="TargetUnit" valueSource="variable" value="Target" />
    <property name="DoNotThrottle" valueSource="literal" value="true" />
  </node>
  <node name="UseCaptureMacGuffinTwo" type="Ability" id="551B3424032B0F05">
    <property name="Ability" valueSource="literal" value="CaptureMacGuffinTwo" />
    <property name="TargetUnit" valueSource="variable" value="Target" />
    <property name="DoNotThrottle" valueSource="literal" value="true" />
  </node>
  <node name="DefendInteractUnit" type="Select" id="48534C5651201716">
    <insertChild id="774E4833300C1325" />
    <insertChild id="54434137213D0616" />
    <insertChild id="04272F3723546977" />
  </node>
  <node name="DefendMaxStaginRange" type="And" id="774E4833300C1325" comment="Attempt fight MaxStagingRange">
    <variable name="FightTarget" type="Unit" />
    <insertChild id="544D312502150F0D" />
    <insertChild id="61526F5C517A6013" />
  </node>
  <node name="Find Fight Target MaxStagingRange" type="FindBestTarget" id="544D312502150F0D" comment="Find targets MaxStagingRange">
    <property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,Heroic,Summoned,MapCreature,AITargetableStructure" />
    <property name="SearchCenter" valueSource="variable" value="TargetPosition" />
    <property name="MaxTargetDistance" valueSource="variable" value="MaxStagingRange" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
    <property name="DistanceFactor" valueSource="literal" value="0.5" />
    <property name="OutputTarget" value="FightTarget" />
  </node>
  <node name="Fight Target MaxStagingRange" type="HeroFight" id="61526F5C517A6013" comment="Fight target MaxStagingRange">
    <property name="Target" valueSource="variable" value="FightTarget" />
    <property name="FightRange" valueSource="variable" value="FightRange" />
  </node>
  <node name="Hide" type="HeroHide" id="54434137213D0616" comment="Hide in bush near interact target area if not visible to enemies">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="MaxRange" valueSource="variable" value="MaxStagingRange" />
  </node>
  <node name="DefendPace" type="HeroPace" id="04272F3723546977">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="MaxRange" valueSource="variable" value="MaxStagingRange" />
  </node>
  <node name="MoveToTarget" type="HeroMoveToPoint" id="002C1543565C7177" comment="Move towards the Interact target point">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
  </node>
  <node name="GoalLaneStaging" type="GoalLaneStaging" id="4C414F477F000020">
    <property name="Target" value="GoalTarget" />
    <property name="TargetPosition" value="GoalTargetPosition" />
    <property name="TargetRadius" value="Fake Number" />
    <property name="SafePoint" value="Flee Point" />
    <property name="LocalThreat" value="Fake Number" />
    <property name="MinStagingRange" value="MinStagingRange" />
    <property name="MaxStagingRange" value="MaxStagingRange" />
    <variable name="TargetPosition" type="Point" comment="The front minion position of the target wave." />
    <variable name="MinStagingRange" type="Number" comment="The closest to get to the staging area." />
    <variable name="MaxStagingRange" type="Number" comment="The furthest to be from the staging area." />
    <insertChild id="202020001A6E616C" />
  </node>
  <node name="Staging" type="Select" id="202020001A6E616C" comment="Root for the LaneStaging goal">
    <insertChild id="56525C6C7B5D6051" />
    <insertChild id="222235031A090F05" />
  </node>
  <node name="MoveToTarget" type="HeroMoveToPoint" id="56525C6C7B5D6051" comment="Move towards the staging position">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="StartRange" valueSource="variable" value="MaxStagingRange" />
    <property name="StopRange" valueSource="variable" value="MinStagingRange" />
  </node>
  <node name="Pace" type="HeroPace" id="222235031A090F05" comment="Pace around the staging position">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="MaxRange" valueSource="variable" value="MaxStagingRange" />
  </node>
  <node name="GoalHealingAltar" type="GoalHealingAltar" id="13341DAE1AEBB4CC">
    <property name="Target" value="GoalTarget" />
    <property name="TargetPosition" value="GoalTargetPosition" />
    <property name="TargetRadius" value="Fake Number" />
    <property name="SafePoint" value="Flee Point" />
    <property name="LocalThreat" value="Fake Number" />
    <property name="WaitRadius" value="WaitRadius" />
    <variable name="TargetPosition" type="Point" comment="The position of the altar." />
    <variable name="WaitRadius" type="Number" comment="The distance to wait from the altar until finished healing." />
    <insertChild id="AFE7FBFC4CA44AB1" />
  </node>
  <node name="GoalHealingWell" type="GoalHealingWell" id="B7BDBA3A11DAFF22">
    <property name="Target" value="GoalTarget" />
    <property name="TargetPosition" value="GoalTargetPosition" />
    <property name="TargetRadius" value="Fake Number" />
    <property name="SafePoint" value="Flee Point" />
    <property name="LocalThreat" value="Fake Number" />
    <property name="MoonwellUnit" value="MoonwellUnit" />
    <property name="WaitRadius" value="WaitRadius" />
    <variable name="MoonwellUnit" type="Unit" comment="The target moonwell." />
    <variable name="WaitRadius" type="Number" comment="The distance to wait from the moonwell for it to get off cooldown." />
    <insertChild id="9891FC2890062E92" />
  </node>
  <node name="HealingAltar" type="Select" id="AFE7FBFC4CA44AB1">
    <insertChild id="FB35A4E492F99CFC" />
    <insertChild id="1F3193C03B4F6375" />
    <insertChild id="BBC6BCEB07F10984" />
  </node>
  <node name="HealingWell" type="Select" id="9891FC2890062E92">
    <insertChild id="7E355AD78E28C8BE" />
    <insertChild id="4FFA9CA62A5A25B5" />
    <insertChild id="8A98A478AAAB0538" />
  </node>
  <node name="MoveToWell" type="HeroMoveToUnit" id="7E355AD78E28C8BE">
    <property name="StartRange" valueSource="variable" value="WaitRadius" />
    <property name="StopRange" valueSource="variable" value="WaitRadius" />
    <property name="Target" valueSource="variable" value="MoonwellUnit" />
  </node>
  <node name="Heal" type="Ability" id="4FFA9CA62A5A25B5">
    <property name="Ability" valueSource="literal" value="FountainDrink" />
    <property name="TargetUnit" valueSource="variable" value="MoonwellUnit" />
    <property name="DoNotThrottle" valueSource="literal" value="true" />
  </node>
  <node name="Pace" type="HeroPace" id="8A98A478AAAB0538">
    <property name="TargetPosition" valueSource="variable" value="MoonwellUnit" />
    <property name="MaxRange" valueSource="literal" value="1" />
  </node>
  <node name="MoveToAltar" type="HeroMoveToPoint" id="FB35A4E492F99CFC">
    <property name="StartRange" valueSource="variable" value="WaitRadius" />
    <property name="StopRange" valueSource="variable" value="WaitRadius" />
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
  </node>
  <node name="Pace" type="HeroPace" id="BBC6BCEB07F10984">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="MaxRange" valueSource="literal" value="1" />
  </node>
  <node name="OnAltar" type="Distance" id="1F3193C03B4F6375">
    <property name="Distance" valueSource="variable" value="WaitRadius" />
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="SourceUnit" valueSource="intrinsic" value="Self" />
    <property name="TargetPoint" valueSource="variable" value="TargetPosition" />
    <insertChild id="0794AEDD3AAE97C5" />
  </node>
  <node name="MountUp" type="AbilityCategory" id="0794AEDD3AAE97C5">
    <property name="AbilityCategories" valueSource="literal" value="Mount" />
    <property name="TargetUnit" valueSource="intrinsic" value="Self" />
  </node>
  <node name="Find Regen Globes if Not Full" type="And" id="C22B543012BE7CBB">
    <insertChild id="5756E8B8C4709E26" />
    <insertChild id="5C7C095F08CADB7F" />
  </node>
  <node name="Health LE 80" type="LifeFraction" id="F67E03A4B009AB2E">
    <property name="LifeFraction" valueSource="literal" value="0.8" />
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="Target" valueSource="intrinsic" value="Self" />
  </node>
  <node name="" type="Not" id="A3058F18DBC25C6E">
    <insertChild id="F54C51F77C6D34A6" />
  </node>
  <node name="" type="Or" id="5756E8B8C4709E26">
    <insertChild id="F67E03A4B009AB2E" />
    <insertChild id="AC8A39BFE3A2F5E6" />
  </node>
  <node name="Mana Check" type="Validator" id="AC8A39BFE3A2F5E6">
    <property name="Validator" valueSource="literal" value="CasterEnergyNotFullAndIsManaUser" />
    <property name="Target" valueSource="intrinsic" value="Self" />
  </node>
  <node name="GoalCollect" type="GoalCollect" id="7D8F7D7DC87C2647">
    <property name="Target" value="GoalTarget" />
    <property name="TargetPosition" value="GoalTargetPosition" />
    <property name="TargetRadius" value="Fake Number" />
    <property name="SafePoint" value="Flee Point" />
    <property name="LocalThreat" value="Fake Number" />
    <variable name="TargetPosition" type="Point" comment="The location of collectables." />
    <insertChild id="5C981A2D9518278A" />
  </node>
  <node name="" type="Or" id="F54C51F77C6D34A6">
    <insertChild id="510D303F32FA043D" />
    <insertChild id="BFA2DA26376E6B06" />
    <insertChild id="8275A94472CB871B" />
  </node>
  <node name="Enemy Hero Near Globe" type="UnitCount" id="510D303F32FA043D">
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="literal" value="3" />
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="SearchCenter" valueSource="variable" value="RegenGlobeUnit" />
  </node>
  <node name="FleeCheck" type="And" id="650E7909987E3B53" comment="This branch should contain logic for when you are specifically running away. This branch turns on often when AI gets out of position. Don't just use cooldowns/mana in Flee make sure there are enemies close as sometimes the AI is just pulling back because it thinks its out of position and not in real danger.">
    <insertChild id="B0A73AB488920490" />
    <insertChild id="C4A01AC0D817629A" />
  </node>
  <node name="ShouldFlee" type="Or" id="B0A73AB488920490">
    <insertChild id="EA2CA59DB847AF7E" />
    <insertChild id="2031267CCE930DAC" />
  </node>
  <node name="" type="Not" id="EA2CA59DB847AF7E">
    <insertChild id="4F9C36EBCD9D3EB5" />
  </node>
  <node name="FinishedDangerTimer" type="TimerFinished" id="4F9C36EBCD9D3EB5">
    <property name="FinishTime" valueSource="variable" value="FleeTimer" />
  </node>
  <node name="StartDangerTimer" type="TimerStart" id="C4A01AC0D817629A">
    <property name="OutputFinishTime" value="FleeTimer" />
    <property name="DurationSeconds" valueSource="literal" value="1" />
    <property name="StartOnFirstRunning" valueSource="literal" value="true" />
    <insertChild id="C5019C56A7310419" />
  </node>
  <node name="MoveToSafety" type="HeroMoveToPoint" id="98E10FE4905E96C9">
    <property name="TargetPosition" valueSource="intrinsic" value="SafePos" />
    <property name="StopRange" valueSource="literal" value="2" />
    <property name="StartRange" valueSource="literal" value="2" />
  </node>
  <node name="Is in Danger" type="IsInDanger" id="F1022B9539C40BB4" />
  <node name="Hide" type="HeroHide" id="67426E6129C67B72">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="MaxRange" valueSource="variable" value="MaxStagingRange" />
  </node>
  <node name="IsInStagingRange" type="Distance" id="96475FFB0101A5D9">
    <property name="SourceUnit" valueSource="intrinsic" value="Self" />
    <property name="TargetPoint" valueSource="variable" value="TargetPosition" />
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="Distance" valueSource="variable" value="MaxStagingRange" />
    <insertChild id="0562405F2AC7108E" />
  </node>
  <node name="FindSafeStagingPoint" type="FindPointOnLine" id="0562405F2AC7108E">
    <property name="OutputTarget" value="StagePosition" />
    <property name="SourceUnit" valueSource="literal" value="" />
    <property name="SourcePoint" valueSource="variable" value="TargetPosition" />
    <property name="DestinationPoint" valueSource="intrinsic" value="SafePos" />
    <property name="DistanceOffset" valueSource="variable" value="MinStagingRange" />
    <variable name="StagePosition" type="Point" />
    <insertChild id="2291CC284F917E84" />
  </node>
  <node name="StagingPace" type="HeroPace" id="2291CC284F917E84">
    <property name="TargetPosition" valueSource="variable" value="StagePosition" />
    <property name="MaxRange" valueSource="literal" value="2" />
  </node>
  <node name="Escape" type="Select" id="C5019C56A7310419">
    <insertChild id="93D883AF1FB031B1" />
    <insertChild id="98E10FE4905E96C9" />
  </node>
  <node name="In Danger" type="IsInDanger" id="2031267CCE930DAC" />
  <node name="Actions" type="Select" id="964C8128A190762A">
    <insertChild id="67426E6129C67B72" />
    <insertChild id="96475FFB0101A5D9" />
  </node>
  <node name="Hearth" type="Ability" id="B01AACF876A49EA0">
    <property name="Ability" valueSource="literal" value="Hearthstone" />
  </node>
  <node name="HearthState" type="IfElse" id="186D20E6933A7981">
    <insertChild id="37190D24BE5D357A" />
    <insertChild id="B01AACF876A49EA0" />
    <insertChild id="3EE210017B047877" />
  </node>
  <node name="IsHearthing" type="OrderActive" id="3EE210017B047877">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Ability" valueSource="literal" value="Hearthstone" />
    <insertChild id="4381645963C36D13" />
  </node>
  <node name="StopHearth" type="MoveToPoint" id="4381645963C36D13">
    <property name="Target" valueSource="intrinsic" value="SelfPos" />
    <property name="HoldIfInRange" valueSource="literal" value="true" />
  </node>
  <node name="CheckDanger" type="IfElse" id="76304323B2DC8B1E">
    <insertChild id="A1264B8703F93DE1" />
    <insertChild id="7D9FCE82E93671E1" />
    <insertChild id="0937F6B0BA71B4CB" />
  </node>
  <node name="IsHearthing" type="OrderActive" id="A1264B8703F93DE1">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Ability" valueSource="literal" value="Hearthstone" />
  </node>
  <node name="NoHeroNear" type="EnemyThreat" id="F1C54559C7B90783" comment="This EnemyThreat node is needed to make sure structures and heroes were not seen nearby recently.">
    <property name="Position" valueSource="intrinsic" value="SelfPos" />
    <property name="Radius" valueSource="literal" value="12" />
    <property name="MaxLastSeenAge" valueSource="literal" value="5" />
    <property name="Comparison" valueSource="literal" value="Eq" />
    <insertChild id="A62FE3B74E605585" />
  </node>
  <node name="NoHeroFar" type="EnemyThreat" id="0937F6B0BA71B4CB" comment="This EnemyThreat node is needed to make sure structures and heroes were not seen nearby recently.">
    <property name="Position" valueSource="intrinsic" value="SelfPos" />
    <property name="Radius" valueSource="literal" value="20" />
    <property name="MaxLastSeenAge" valueSource="literal" value="5" />
    <property name="Comparison" valueSource="literal" value="Eq" />
    <insertChild id="76BF7AD85094E03A" />
  </node>
  <node name="AlmostDone" type="OrderProgress" id="53B0B02CE58A5913">
    <property name="ProgressFraction" valueSource="literal" value="0.8" />
    <property name="Unit" valueSource="intrinsic" value="Self" />
  </node>
  <node name="ContinueHearth" type="Or" id="7D9FCE82E93671E1">
    <insertChild id="53B0B02CE58A5913" />
    <insertChild id="F1C54559C7B90783" />
    <insertChild id="E1AF03C9D383C568" />
  </node>
  <node name="StartHearth" type="ShouldHearth" id="37190D24BE5D357A">
    <property name="TargetPosition" valueSource="intrinsic" value="HeroMoveOrGoalDestination" />
    <property name="HearthAbility" valueSource="literal" value="Hearthstone" />
    <insertChild id="76304323B2DC8B1E" />
  </node>
  <node name="NoEnemyNear" type="UnitCount" id="A62FE3B74E605585" comment="This UnitCount node is needed to ensure minions and summons are not nearby.">
    <property name="MaxTargetDistance" valueSource="literal" value="12" />
    <property name="Comparison" valueSource="literal" value="Eq" />
    <property name="TargetTypes" valueSource="literal" value="Minion,Merc,Hallucination,Summoned,MapCreature,MapBoss" />
    <property name="ExcludeTypes" valueSource="literal" value="Missile,Dead,Benign" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
  </node>
  <node name="NoEnemyFar" type="UnitCount" id="76BF7AD85094E03A" comment="This UnitCount node is needed to ensure minions and summons are not nearby.">
    <property name="Comparison" valueSource="literal" value="Eq" />
    <property name="MaxTargetDistance" valueSource="literal" value="20" />
    <property name="TargetTypes" valueSource="literal" value="Minion,Merc,Hallucination,Summoned,MapBoss,MapCreature" />
    <property name="ExcludeTypes" valueSource="literal" value="Missile,Dead,Benign" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
  </node>
  <node name="Fallback" type="Running" id="43958E349EFFC058" />
  <node name="Always" type="Select" id="A4058AA255280C17" comment="Highest priority branch, important general ability usage logic goes here. Examples: Critically saving yourself, critically saving an ally, cancel conditions of a channel, transient abilities." />
  <node name="FleeTactical" type="Select" id="93D883AF1FB031B1" comment="Special ability usage logic for fleeing. Examples: using CC on chasers, using movement abilities for escape." />
  <node name="Defensive" type="Select" id="F21BCB9B06948439" comment="Defensive context for ability usage. Examples: using CC to peel for yourself and allies, using defensive abilities like shields." />
  <node name="Go Out In A Blaze Of Glory" type="IsDoomed" id="3FAD3B6CDC9F26F4" comment="Branch for a hopeless situation. Logic here should be kept simple with no/minimal resource consideration. Pick the abilities to use to go out in a blaze of glory." />
  <node name="Offensive" type="Select" id="87811D772E337EB7" comment="Offensive context for ability usage. For each ability, it is suggested to prioritize killing critically low enemies first then move onto general ability usage. General usage is suggested to be gated by 3 tiers of available mana: high, medium, and low. High mana (~&gt;80%) usually equates to looser restrictions and filters: requiring less targets in an area to use an AoE ability, or allowing higher health targets, for example. Low mana (~&lt;30%) usually equates to tighter restrictions and filters: you want to be a lot more picky about your targeting context." />
  <node name="Cloak Harass" type="IsAwareOfCloakedEnemy" id="916CBDD167D00890">
    <property name="CloakedTargetPosition" value="CloakedTargetPosition" />
    <variable name="CloakedTargetPosition" type="Point" />
    <insertChild id="CA5945DAE06FC014" />
  </node>
  <node name="Attemp Reveal" type="AbilityCategory" id="CA5945DAE06FC014">
    <property name="TargetPosition" valueSource="variable" value="CloakedTargetPosition" />
    <property name="AbilityCategories" valueSource="literal" value="Reveals" />
  </node>
  <node name="GankTactical" type="Select" id="42152C3680C247EC" comment="Special ability usage logic for ganking. Examples: using CC on the gank target, using movement abilities for catch up to gank target." />
  <node name="GoalMercenaryCamp" type="GoalMercenaryCamp" id="C95880C93965515E">
    <property name="Target" value="GoalTarget" />
    <property name="TargetPosition" value="GoalTargetPosition" />
    <property name="TargetRadius" value="Fake Number" />
    <property name="SafePoint" value="Flee Point" />
    <property name="LocalThreat" value="Fake Number" />
    <property name="CampThreat" value="CampThreat" />
    <variable name="TargetPosition" type="Point" comment="The target beacon unit to interact with." />
    <variable name="CampThreat" type="Number" />
    <variable name="MaxStagingRange" type="Number" value="20" />
    <variable name="MinStagingRange" type="Number" value="16" />
    <variable name="EngageRange" type="Number" value="12" />
    <variable name="BeaconRadius" type="Number" value="2.75" />
    <insertChild id="A4F7C85D6DE4D3F3" />
  </node>
  <node name="Enemies Near" type="FindBestTarget" id="908B3CE06784F400">
    <property name="TargetTypes" valueSource="literal" value="Heroic,Summoned" />
    <property name="SearchCenter" valueSource="variable" value="TargetPosition" />
    <property name="MaxTargetDistance" valueSource="variable" value="EngageRange" />
    <property name="DistanceFactor" valueSource="literal" value="2" />
    <property name="OutputTarget" value="FightTarget" />
    <property name="BumpMaxDistanceToWeaponRange" valueSource="literal" value="true" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
    <variable name="FightTarget" type="Unit" />
    <insertChild id="1CBB404004E410F3" />
  </node>
  <node name="Fight Target" type="HeroFight" id="1CBB404004E410F3" comment="Fight target on beacon">
    <property name="Target" valueSource="variable" value="FightTarget" />
    <property name="FightRange" valueSource="variable" value="FightRange" />
  </node>
  <node name="Pace" type="HeroPace" id="47CE8AF032E171F2">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="MaxRange" valueSource="variable" value="BeaconRadius" />
  </node>
  <node name="UseVehicle" type="Ability" id="45CA9F92C1586F4B">
    <property name="Ability" valueSource="literal" value="UseVehicle" />
    <property name="TargetUnit" valueSource="variable" value="Target" />
    <property name="DoNotThrottle" valueSource="literal" value="true" />
  </node>
  <node name="Standing In AoE" type="IsInAOE" id="4715CC2C5FA72267">
    <property name="TargetPoint" valueSource="intrinsic" value="SelfPos" />
    <insertChild id="9067D54BD2A60374" />
  </node>
  <node name="" type="FindSafePoint" id="662DFBA3CAD04043">
    <property name="OutputTarget" value="AoE Escape Point" />
    <property name="FleeCenter" valueSource="variable" value="TargetPoint" />
    <property name="FleeDistance" valueSource="literal" value="6" />
  </node>
  <node name="MoveToSafety" type="HeroMoveToPoint" id="C0F967F6D6DFFCB9">
    <property name="TargetPosition" valueSource="variable" value="AoE Escape Point" />
    <property name="StopRange" valueSource="literal" value="0" />
    <property name="StartRange" valueSource="literal" value="0" />
  </node>
  <node name="Find Allies" type="FindBestAOEPoint" id="6BEC3E3AF9216ACB">
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="TargetTypes" valueSource="literal" value="Ally" />
    <property name="OutputTarget" value="AllyGroupPosition" />
    <property name="AOERadius" valueSource="literal" value="6" />
    <property name="MaxTargetDistance" valueSource="literal" value="12" />
    <property name="ExcludeTypes" valueSource="literal" value="Self,Missile,Stasis,Dead,Invulnerable,Benign" />
    <variable name="AllyGroupPosition" type="Point" />
    <insertChild id="44FD567D28D21DCF" />
  </node>
  <node name="Direction Away from Allies" type="FindPointOnLine" id="44FD567D28D21DCF">
    <property name="SourcePoint" valueSource="variable" value="AllyGroupPosition" />
    <property name="DestinationPoint" valueSource="intrinsic" value="SelfPos" />
    <property name="OutputTarget" value="TargetPoint" />
    <property name="DistanceOffset" valueSource="literal" value="13" />
    <variable name="TargetPoint" type="Point" />
    <insertChild id="B97DFF994CD54AA1" />
  </node>
  <node name="Collect" type="Select" id="5C981A2D9518278A">
    <insertChild id="4216013D1704D218" />
    <insertChild id="FB0C495C2E0CAE7B" />
  </node>
  <node name="MoveToTarget" type="HeroMoveToPoint" id="4216013D1704D218" comment="Move towards the target point">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="StartRange" valueSource="literal" value="8" />
    <property name="StopRange" valueSource="literal" value="2" />
  </node>
  <node name="Pace" type="HeroPace" id="FB0C495C2E0CAE7B" comment="Pace near target position">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="MaxRange" valueSource="literal" value="8" />
  </node>
  <node name="MercenaryCamp" type="Select" id="A4F7C85D6DE4D3F3">
    <insertChild id="9C89097324D01142" />
    <insertChild id="B442356CB269FC5E" />
    <insertChild id="E96A74259E4DD6CD" />
    <insertChild id="908B3CE06784F400" />
    <insertChild id="540E14A8F929AFF0" />
    <insertChild id="2B7ADE1192DFB272" />
    <insertChild id="BC4243883323328A" />
  </node>
  <node name="Staging" type="Select" id="5FECF8D10C91EC75">
    <insertChild id="1F0CDBE219BF90A7" />
    <insertChild id="914BC6311043EC50" />
    <insertChild id="9EF8E740E31A4133" />
  </node>
  <node name="Hide" type="HeroHide" id="1F0CDBE219BF90A7">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="MaxRange" valueSource="variable" value="MaxStagingRange" />
  </node>
  <node name="Check Staging" type="And" id="9C89097324D01142">
    <insertChild id="CA312478F4D12B7A" />
    <insertChild id="37253E32A311F89F" />
    <insertChild id="5FECF8D10C91EC75" />
  </node>
  <node name="Dangerous" type="Or" id="37253E32A311F89F">
    <insertChild id="EB97C088438BE9BD" />
    <insertChild id="790AC3A2FCF45E43" />
  </node>
  <node name="Camp Dangerous" type="AllyThreat" id="EB97C088438BE9BD">
    <property name="RightHandSide" valueSource="variable" value="CampThreat" />
    <property name="Comparison" valueSource="literal" value="LT" />
    <property name="Position" valueSource="variable" value="TargetPosition" />
    <property name="Radius" valueSource="variable" value="MaxStagingRange" />
    <property name="IncludeSelf" valueSource="literal" value="true" />
  </node>
  <node name="Move Near" type="HeroMoveToPoint" id="B442356CB269FC5E" comment="Move towards the Beacon target point">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="StopRange" valueSource="variable" value="EngageRange" />
    <property name="StartRange" valueSource="variable" value="MinStagingRange" />
  </node>
  <node name="Creeps" type="FindBestTarget" id="2B7ADE1192DFB272">
    <property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,MapCreature" />
    <property name="SearchCenter" valueSource="variable" value="TargetPosition" />
    <property name="MaxTargetDistance" valueSource="variable" value="EngageRange" />
    <property name="DistanceFactor" valueSource="literal" value="2" />
    <property name="OutputTarget" value="FightTarget" />
    <property name="ExcludeTypes" valueSource="literal" value="Missile,Stasis,Dead,Invulnerable" />
    <variable name="FightTarget" type="Unit" />
    <insertChild id="2071C75F0A0B0F12" />
  </node>
  <node name="Fight Target" type="HeroFight" id="2071C75F0A0B0F12" comment="Fight target on beacon">
    <property name="Target" valueSource="variable" value="FightTarget" />
    <property name="FightRange" valueSource="variable" value="FightRange" />
  </node>
  <node name="Mercs Dead" type="CompareNumber" id="E96A74259E4DD6CD">
    <property name="LeftHandSide" valueSource="variable" value="CampThreat" />
    <insertChild id="B944C18F8B98C69E" />
  </node>
  <node name="Enemies on Beacon" type="FindBestTarget" id="C8C6B721A2C93DDF">
    <property name="TargetTypes" valueSource="literal" value="Heroic,Summoned" />
    <property name="MaxTargetDistance" valueSource="intrinsic" value="AttackRange" />
    <property name="DistanceFactor" valueSource="literal" value="2" />
    <property name="OutputTarget" value="FightTarget" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
    <property name="PreferredPoint" valueSource="variable" value="TargetPosition" />
  </node>
  <node name="Fight Target" type="HeroFight" id="407F12FE7A57CB48">
    <property name="Target" valueSource="variable" value="FightTarget" />
    <property name="FightRange" valueSource="variable" value="FightRange" />
  </node>
  <node name="" type="Select" id="B944C18F8B98C69E">
    <insertChild id="7F3A10DF466D686B" />
    <insertChild id="30C65418C609C9D0" />
    <insertChild id="47CE8AF032E171F2" />
  </node>
  <node name="Move On Beacon" type="HeroMoveToPoint" id="7F3A10DF466D686B">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="StartRange" valueSource="variable" value="BeaconRadius" />
    <property name="StopRange" valueSource="literal" value="1" />
  </node>
  <node name="Move Far" type="HeroMoveToPoint" id="914BC6311043EC50">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="StartRange" valueSource="variable" value="MaxStagingRange" />
    <property name="StopRange" valueSource="variable" value="MinStagingRange" />
  </node>
  <node name="Defend Self" type="FindBestTarget" id="9EF8E740E31A4133">
    <property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,Heroic,Summoned,MapCreature,AITargetableStructure" />
    <property name="MaxTargetDistance" valueSource="variable" value="EngageRange" />
    <property name="DistanceFactor" valueSource="literal" value="2" />
    <property name="OutputTarget" value="FightTarget" />
    <property name="BumpMaxDistanceToWeaponRange" valueSource="literal" value="true" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
    <variable name="FightTarget" type="Unit" />
    <insertChild id="F79509CC06172A09" />
  </node>
  <node name="Fight Target" type="HeroFight" id="F79509CC06172A09" comment="Fight target on beacon">
    <property name="Target" valueSource="variable" value="FightTarget" />
    <property name="FightRange" valueSource="variable" value="FightRange" />
  </node>
  <node name="" type="Or" id="03F59E071B2CF689">
    <insertChild id="C8C6B721A2C93DDF" />
    <insertChild id="1F3A6F65DCF26E63" />
  </node>
  <node name="" type="And" id="30C65418C609C9D0">
    <variable name="FightTarget" type="Unit" />
    <insertChild id="03F59E071B2CF689" />
    <insertChild id="407F12FE7A57CB48" />
  </node>
  <node name="Enemies on Beacon" type="FindBestTarget" id="1F3A6F65DCF26E63">
    <property name="TargetTypes" valueSource="literal" value="Heroic,Summoned" />
    <property name="MaxTargetDistance" valueSource="variable" value="BeaconRadius" />
    <property name="DistanceFactor" valueSource="literal" value="2" />
    <property name="OutputTarget" value="FightTarget" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
    <property name="SearchCenter" valueSource="variable" value="TargetPosition" />
  </node>
  <node name="Pace" type="HeroPace" id="BC4243883323328A">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="MaxRange" valueSource="variable" value="BeaconRadius" />
  </node>
  <node name="Set Fight Range" type="Select" id="7080E6A60BC52C00">
    <insertChild id="BAFC100CE7308A1A" />
  </node>
  <node name="Reset Fight Range" type="SetNumber" id="BAFC100CE7308A1A" comment="Resets the fight range to equal this unit's attack range. This node should execute every loop and happen before the attack range is customized.">
    <property name="Variable" value="FightRange" />
    <property name="Value" valueSource="intrinsic" value="AttackRange" />
  </node>
  <node name="&gt;= Adept" type="Difficulty" id="69E526F057126AB5">
    <property name="Difficulty" valueSource="literal" value="Adept" />
    <insertChild id="4715CC2C5FA72267" />
  </node>
  <node name="Move Close" type="HeroMoveToPoint" id="540E14A8F929AFF0" comment="Move towards the Beacon target point">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="StopRange" valueSource="literal" value="4" />
    <property name="StartRange" valueSource="variable" value="EngageRange" />
  </node>
  <node name="" type="And" id="9067D54BD2A60374">
    <variable name="AoE Escape Point" type="Point" />
    <variable name="BunkerUnit" type="Unit" />
    <insertChild id="E5F062D1E8E63822" />
    <insertChild id="12759689597529F0" />
    <insertChild id="C0F967F6D6DFFCB9" />
  </node>
  <node name="Not IsRooted" type="FilterBehaviorCategory" id="E5F062D1E8E63822">
    <property name="ExcludeCategories" valueSource="literal" value="DebuffRoot" />
    <insertChild id="44596F1BD424AAE0" />
  </node>
  <node name="Self" type="UnitCount" id="44596F1BD424AAE0">
    <property name="TargetTypes" valueSource="literal" value="" />
    <property name="RequiredTypes" valueSource="literal" value="Self" />
    <property name="Comparison" valueSource="literal" value="Eq" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="literal" value="1" />
  </node>
  <node name="Continue Macguffin" type="OrderActive" id="20E1BC26406E11DD">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Ability" valueSource="literal" value="CaptureMacGuffin" />
    <insertChild id="C3C602F045C7D08F" />
  </node>
  <node name="" type="OrderProgress" id="C3C602F045C7D08F">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="ProgressFraction" valueSource="literal" value="0.5" />
    <variable name="Target" type="Unit" valueSource="intrinsic" value="OrderTargetUnit" />
    <insertChild id="8B88FD7CC0909E6F" />
  </node>
  <node name="Energy Healers" type="FilterPlaystyle" id="238A48A8179610E0">
    <property name="Playstyles" valueSource="literal" value="" />
    <property name="RequiredPlaystyles" valueSource="literal" value="AllyHealer,EnergyImportant" />
    <insertChild id="D8295BA4EC563963" />
  </node>
  <node name="Find Healer" type="FindBestTarget" id="337BA3D0E9A82E2C">
    <property name="OutputTarget" value="Healer" />
    <property name="TargetTypes" valueSource="literal" value="Ally,Heroic" />
    <property name="MaxTargetDistance" valueSource="literal" value="16" />
    <property name="DistanceFactor" valueSource="literal" value="2" />
    <property name="FilterTargetsInDangerousArea" valueSource="literal" value="true" />
  </node>
  <node name="With Energy" type="FilterEnergyFraction" id="D8295BA4EC563963">
    <property name="ScoreFactor" valueSource="literal" value="-2" />
    <property name="MinEnergyFraction" valueSource="literal" value="0.4" />
    <insertChild id="337BA3D0E9A82E2C" />
  </node>
  <node name="Go To Healer" type="And" id="E39F4C66494E5644">
    <variable name="Healer" type="Unit" />
    <insertChild id="2C9F514051E6A68D" />
    <insertChild id="CF3947AEA3E8A1A5" />
    <insertChild id="FDEA3738757F21BB" />
    <insertChild id="2BD87485BA1CA7DB" />
  </node>
  <node name="Cant Self Heal" type="Or" id="CF3947AEA3E8A1A5">
    <insertChild id="3072C035B492D87C" />
    <insertChild id="9EB3C97241310DB4" />
  </node>
  <node name="Not Self Healer" type="UnitHasPlaystyle" id="3072C035B492D87C">
    <property name="ExcludePlaystyles" valueSource="literal" value="SelfHealer" />
  </node>
  <node name="Uses Energy" type="UnitHasPlaystyle" id="9EB3C97241310DB4">
    <property name="RequiredPlaystyles" valueSource="literal" value="EnergyImportant" />
    <insertChild id="DC4F5889B798464A" />
  </node>
  <node name="Low Energy" type="EnergyFraction" id="DC4F5889B798464A">
    <property name="Target" valueSource="intrinsic" value="Self" />
    <property name="EnergyFraction" valueSource="literal" value="0.2" />
    <property name="Comparison" valueSource="literal" value="LE" />
  </node>
  <node name="Find Healer" type="Or" id="FDEA3738757F21BB">
    <insertChild id="238A48A8179610E0" />
    <insertChild id="D500D1006875FCA6" />
  </node>
  <node name="Other Healers" type="FilterPlaystyle" id="D500D1006875FCA6">
    <property name="ExcludePlaystyles" valueSource="literal" value="EnergyImportant" />
    <property name="RequiredPlaystyles" valueSource="literal" value="AllyHealer" />
    <insertChild id="4E65B2633B79FE29" />
  </node>
  <node name="Find Healer" type="FindBestTarget" id="4E65B2633B79FE29">
    <property name="OutputTarget" value="Healer" />
    <property name="TargetTypes" valueSource="literal" value="Ally,Heroic" />
    <property name="MaxTargetDistance" valueSource="literal" value="16" />
    <property name="DistanceFactor" valueSource="literal" value="2" />
    <property name="FilterTargetsInDangerousArea" valueSource="literal" value="true" />
  </node>
  <node name="Needs Healing" type="LifeFraction" id="2C9F514051E6A68D">
    <property name="LifeFraction" valueSource="literal" value="0.4" />
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="67DFA29243148657" />
  </node>
  <node name="Fight Around Healer" type="And" id="CB58CD44B3B4B4B6" comment="Disengage fights if we are far away, and fight around position if we are nearby">
    <variable name="FightTarget" type="Unit" />
    <insertChild id="15A0E2977C012FC2" />
    <insertChild id="9666CE07722CE08E" />
  </node>
  <node name="Search Around Self" type="FindBestTarget" id="FB27625CF6817E70" comment="Find the target with the highest value to fight">
    <property name="OutputTarget" value="FightTarget" />
    <property name="BumpMaxDistanceToWeaponRange" valueSource="literal" value="true" />
    <property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,Heroic,Hallucination,Summoned,MapBoss,MapCreature,AITargetableStructure" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
  </node>
  <node name="Fight Target" type="HeroFight" id="9666CE07722CE08E" comment="Disengage fights if we are far away, and fight around position if we are nearby">
    <property name="Target" valueSource="variable" value="FightTarget" />
    <property name="FightRange" valueSource="variable" value="FightRange" />
  </node>
  <node name="Protect Healer" type="Select" id="2BD87485BA1CA7DB">
    <insertChild id="CB58CD44B3B4B4B6" />
  </node>
  <node name="Find Target" type="Or" id="15A0E2977C012FC2">
    <insertChild id="07BA2E496C72F65E" />
    <insertChild id="DBAB1AC9287A99E2" />
  </node>
  <node name="Search Around Healer" type="FindBestTarget" id="07BA2E496C72F65E">
    <property name="OutputTarget" value="FightTarget" />
    <property name="SearchCenter" valueSource="variable" value="Healer" />
    <property name="MaxTargetDistance" valueSource="literal" value="10" />
    <property name="BumpMaxDistanceToWeaponRange" valueSource="literal" value="true" />
    <property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,Heroic,Hallucination,Summoned,MapBoss,MapCreature,AITargetableStructure" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
  </node>
  <node name="" type="And" id="DBAB1AC9287A99E2">
    <insertChild id="23714C2D9F1D7710" />
    <insertChild id="FB27625CF6817E70" />
  </node>
  <node name="Move To Healer" type="HeroMoveToUnit" id="23714C2D9F1D7710">
    <property name="Target" valueSource="variable" value="Healer" />
    <property name="StartRange" valueSource="literal" value="10" />
    <property name="StopRange" valueSource="literal" value="6" />
  </node>
  <node name="Not Ally Healer" type="UnitHasPlaystyle" id="C0C0C8181A8D9605">
    <property name="ExcludePlaystyles" valueSource="literal" value="AllyHealer" />
  </node>
  <node name="Prefer Non-Healers" type="Or" id="1BF85A74F37EF45E">
    <insertChild id="C0C0C8181A8D9605" />
    <insertChild id="7BBBFB9BC7207B0F" />
  </node>
  <node name="Non-Healers" type="FilterPlaystyle" id="7BBBFB9BC7207B0F">
    <property name="ExcludePlaystyles" valueSource="literal" value="AllyHealer" />
    <insertChild id="29C04A14A1307B81" />
  </node>
  <node name="0 Non-Healers Nearby" type="UnitCount" id="29C04A14A1307B81">
    <property name="TargetTypes" valueSource="literal" value="Ally,Heroic" />
    <property name="MaxTargetDistance" valueSource="variable" value="MaxStagingRange" />
    <property name="Comparison" valueSource="literal" value="Eq" />
    <property name="SearchCenter" valueSource="variable" value="Target" />
  </node>
  <node name="GoalFollow" type="GoalFollow" id="55DD553B1818FBD9">
    <property name="Target" value="GoalTarget" />
    <property name="TargetPosition" value="GoalTargetPosition" />
    <property name="TargetRadius" value="Fake Number" />
    <property name="SafePoint" value="Flee Point" />
    <property name="LocalThreat" value="Fake Number" />
    <property name="MinFollowRange" value="MinFollowRange" />
    <property name="MaxFollowRange" value="MaxFollowRange" />
    <property name="MaxFightTargetRange" value="MaxFightTargetRange" />
    <variable name="Target" type="Unit" />
    <variable name="MinFollowRange" type="Number" />
    <variable name="MaxFollowRange" type="Number" />
    <variable name="MaxFightTargetRange" type="Number" />
    <insertChild id="AB345CA70B9C1C67" />
  </node>
  <node name="Follow" type="Select" id="AB345CA70B9C1C67">
    <insertChild id="CE31312067EB577F" />
    <insertChild id="387D549B10F8D035" />
    <insertChild id="032BFD5EFF24BF17" />
    <insertChild id="81247E4C79A466F5" />
  </node>
  <node name="MoveToTarget" type="HeroMoveToUnit" id="CE31312067EB577F">
    <property name="StopRange" valueSource="variable" value="MinFollowRange" />
    <property name="StartRange" valueSource="variable" value="MaxFollowRange" />
    <property name="Target" valueSource="variable" value="Target" />
  </node>
  <node name="Find Fight Target" type="FindBestTarget" id="387D549B10F8D035">
    <property name="OutputTarget" value="FightTarget" />
    <property name="MaxTargetDistance" valueSource="variable" value="MaxFightTargetRange" />
    <property name="SearchCenter" valueSource="variable" value="Target" />
    <property name="PreferredPoint" valueSource="intrinsic" value="SafePos" />
    <property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
    <variable name="FightTarget" type="Unit" />
    <insertChild id="FD7EABB3A7298362" />
  </node>
  <node name="FightTarget" type="HeroFight" id="FD7EABB3A7298362">
    <property name="Target" valueSource="variable" value="FightTarget" />
    <property name="FightRange" valueSource="variable" value="FightRange" />
    <property name="PreferredPoint" valueSource="intrinsic" value="SafePos" />
  </node>
  <node name="Pace" type="HeroPace" id="81247E4C79A466F5">
    <property name="TargetPosition" valueSource="variable" value="Target" />
    <property name="MaxRange" valueSource="variable" value="MinFollowRange" />
  </node>
  <node name="Hide" type="HeroHide" id="75E8E72C81C27BF1">
    <property name="MaxRange" valueSource="variable" value="MinFollowRange" />
    <property name="TargetPosition" valueSource="variable" value="Target" />
  </node>
  <node name="Too Dangerous" type="LifeFraction" id="67DFA29243148657">
    <property name="LifeFraction" valueSource="literal" value="0.15" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="Target" valueSource="intrinsic" value="Self" />
  </node>
  <node name="No Enemy Heroes" type="UnitCount" id="032BFD5EFF24BF17">
    <property name="MaxTargetDistance" valueSource="variable" value="MinFollowRange" />
    <property name="SearchCenter" valueSource="variable" value="Target" />
    <property name="Comparison" valueSource="literal" value="Eq" />
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <insertChild id="75E8E72C81C27BF1" />
  </node>
  <node name="Chase and Kill" type="IfElse" id="C72AB87F117BB254" comment="AllowedTimer and PreventionTimer Timer Variables must be set on Root Node where this is Copied.">
    <insertChild id="4E63E9B5DE64EF05" />
    <insertChild id="CE66B95EDB57E19A" />
    <insertChild id="A955BBC51F64D972" />
  </node>
  <node name="Check Timers" type="And" id="4E63E9B5DE64EF05">
    <insertChild id="74D86DB0B550E646" />
    <insertChild id="2BB0D029EF1D6A77" />
    <insertChild id="F444E1DF08B21FD8" />
  </node>
  <node name="Elite and Higher" type="Difficulty" id="2BB0D029EF1D6A77">
    <insertChild id="EFAC17B4840F3C6C" />
  </node>
  <node name="Chase Harder" type="SetNumber" id="EFAC17B4840F3C6C">
    <property name="Variable" value="Allowed Time" />
    <property name="Value" valueSource="literal" value="15" />
  </node>
  <node name="Self &gt; End Offensive%" type="LifeFraction" id="048308FC361860F5">
    <property name="LifeFraction" valueSource="variable" value="Health_EndOffensive" />
    <property name="Comparison" valueSource="literal" value="GT" />
    <property name="Target" valueSource="intrinsic" value="Self" />
  </node>
  <node name="Allowed Timer" type="TimerFinished" id="74D86DB0B550E646">
    <property name="FinishTime" valueSource="variable" value="ChaseAllowedTime" />
    <insertChild id="A25345055B995970" />
  </node>
  <node name="Prevention Timer" type="TimerFinished" id="A25345055B995970">
    <property name="FinishTime" valueSource="variable" value="ChasePreventTime" />
  </node>
  <node name="Target to Chase" type="FindBestTarget" id="D62BB385FC7E66A5">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="OutputTarget" value="Target to Chase" />
    <property name="MaxLifeFraction" valueSource="variable" value="Chase Threshhold" />
    <property name="PreferredPointFactor" valueSource="literal" value="0" />
    <property name="MaxTargetDistance" valueSource="variable" value="Chase Range" />
    <property name="FilterTargetsInDangerousArea" valueSource="literal" value="true" />
    <property name="FilterTargetsBehindGate" valueSource="literal" value="true" />
  </node>
  <node name="Find Target Future Position" type="UnitPosition" id="F1234F2E24E31D72">
    <property name="InputUnit" valueSource="variable" value="Target to Chase" />
    <property name="PredictionSeconds" valueSource="literal" value="0.5" />
    <property name="OutputPosition" value="Target Future Position" />
  </node>
  <node name="Check if Target to Chase is MIA" type="Sequence" id="F444E1DF08B21FD8">
    <property name="IgnoreChildFailures" valueSource="literal" value="true" />
    <insertChild id="E66A81CA4DF5DF4A" />
  </node>
  <node name="Target Not In Chase Range" type="Distance" id="E66A81CA4DF5DF4A" comment="Checks if the target is outside chase range">
    <property name="SourceUnit" valueSource="intrinsic" value="Self" />
    <property name="TargetUnit" valueSource="variable" value="Target to Chase" />
    <property name="Distance" valueSource="variable" value="Chase Range" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <insertChild id="ACF727255EFA3394" />
  </node>
  <node name="Stop Chase" type="TimerStart" id="ACF727255EFA3394">
    <property name="OutputFinishTime" value="ChaseAllowedTime" />
    <property name="DurationSeconds" valueSource="literal" value="0.1" />
  </node>
  <node name="Allies Greater then Enemies" type="CompareNumber" id="8DB84C8BE37B625A">
    <property name="LeftHandSide" valueSource="variable" value="Ally Hero Count" />
    <property name="RightHandSide" valueSource="variable" value="Enemy Hero Count" />
    <property name="Comparison" valueSource="literal" value="GE" />
  </node>
  <node name="Start Timers" type="And" id="CE66B95EDB57E19A">
    <insertChild id="B6A399F882FAF816" />
    <insertChild id="64B5D97A005D28FB" />
    <insertChild id="D345507B519D9E4D" />
  </node>
  <node name="Timer Allowed" type="TimerStart" id="B6A399F882FAF816">
    <property name="OutputFinishTime" value="ChaseAllowedTime" />
    <property name="DurationSeconds" valueSource="variable" value="Allowed Time" />
  </node>
  <node name="Timer Prevent" type="TimerStart" id="64B5D97A005D28FB">
    <property name="OutputFinishTime" value="ChasePreventTime" />
    <property name="DurationSeconds" valueSource="variable" value="Prevention Time" />
  </node>
  <node name="Chase and Kill" type="And" id="A955BBC51F64D972">
    <insertChild id="0CC742752A297DCB" />
    <insertChild id="C440C4E57249065B" />
    <insertChild id="80C44E03E0D45846" />
    <insertChild id="1C0B99C50D93E5C9" />
  </node>
  <node name="" type="Not" id="0CC742752A297DCB">
    <insertChild id="20C7B0615A947D46" />
  </node>
  <node name="Timer Allowed" type="TimerFinished" id="20C7B0615A947D46">
    <property name="FinishTime" valueSource="variable" value="ChaseAllowedTime" />
  </node>
  <node name="Try Abilities" type="Sequence" id="80C44E03E0D45846">
    <property name="IgnoreChildFailures" valueSource="literal" value="true" />
    <insertChild id="4A0315F95A29640B" />
  </node>
  <node name="Pursue Ability Useage" type="Or" id="4A0315F95A29640B">
    <insertChild id="A4058AA255280C17" />
    <insertChild id="F21BCB9B06948439" />
    <insertChild id="69E526F057126AB5" />
    <insertChild id="87811D772E337EB7" />
  </node>
  <node name="" type="IfElse" id="1C0B99C50D93E5C9">
    <insertChild id="1AF6C9158303C399" />
    <insertChild id="D06CA5E02F1F2BF0" />
    <insertChild id="1F6C75677941F836" />
  </node>
  <node name="Has BodyBlock" type="UnitHasPlaystyle" id="1AF6C9158303C399">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Playstyles" valueSource="literal" value="BodyBlocker" />
  </node>
  <node name="" type="IfElse" id="D06CA5E02F1F2BF0">
    <insertChild id="43651D37C6DB8542" />
    <insertChild id="D86EE4D98C30A675" />
    <insertChild id="065F454751E525E9" />
  </node>
  <node name="Target Future Position" type="UnitPosition" id="43651D37C6DB8542">
    <property name="InputUnit" valueSource="variable" value="Target to Chase" />
    <property name="OutputPosition" value="Target Future Position" />
    <property name="PredictionSeconds" valueSource="literal" value="0.5" />
    <insertChild id="DEE0A37BB018A594" />
  </node>
  <node name="Already BodyBlocking" type="UnitCount" id="DEE0A37BB018A594">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Self" />
    <property name="Comparison" valueSource="literal" value="Eq" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="SearchCenter" valueSource="variable" value="Target Future Position" />
    <property name="MaxTargetDistance" valueSource="literal" value="0.1" />
  </node>
  <node name="BodyBlock and Fight" type="HeroFight" id="D86EE4D98C30A675">
    <property name="Target" valueSource="variable" value="Target to Chase" />
    <property name="FightRange" valueSource="intrinsic" value="AttackRange" />
    <property name="PreferredPoint" valueSource="variable" value="Target Future Position" />
    <property name="DisableTacticalPositioning" valueSource="literal" value="true" />
  </node>
  <node name="Use Abilities or Chase/BodyBlock" type="And" id="065F454751E525E9">
    <insertChild id="0A862FABA12B84CC" />
  </node>
  <node name="" type="IfElse" id="0A862FABA12B84CC">
    <insertChild id="B25E8968C0EFC837" />
    <insertChild id="5502849B2D2FA09B" />
    <insertChild id="A13417EF8DDF2477" />
  </node>
  <node name="My future Position" type="UnitPosition" id="B25E8968C0EFC837">
    <property name="InputUnit" valueSource="intrinsic" value="Self" />
    <property name="PredictionSeconds" valueSource="literal" value="0.5" />
    <property name="OutputPosition" value="My Future Position" />
    <insertChild id="9701413899EC193C" />
  </node>
  <node name="Find Search Point for BodyBlocking" type="FindPointOnLine" id="9701413899EC193C">
    <property name="SourceUnit" valueSource="intrinsic" value="Self" />
    <property name="DestinationPoint" valueSource="variable" value="Target Future Position" />
    <property name="DistanceOffset" valueSource="literal" value="2" />
    <property name="OutputTarget" value="My Future Position" />
    <insertChild id="441EB83A2AB93BBE" />
  </node>
  <node name="1 Enemy to Chase Down" type="UnitCount" id="441EB83A2AB93BBE">
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="literal" value="1" />
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="SearchCenter" valueSource="variable" value="My Future Position" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
  </node>
  <node name="Find Far Point for Pathing" type="FindPointOnLine" id="5502849B2D2FA09B">
    <property name="DestinationPoint" valueSource="variable" value="Target Future Position" />
    <property name="DistanceOffset" valueSource="literal" value="10" />
    <property name="OutputTarget" value="Go Around Position" />
    <property name="SourceUnit" valueSource="variable" value="Target to Chase" />
    <insertChild id="1A16158C45051444" />
  </node>
  <node name="Just Fight" type="HeroFight" id="1F6C75677941F836">
    <property name="Target" valueSource="variable" value="Target to Chase" />
    <property name="FightRange" valueSource="intrinsic" value="AttackRange" />
  </node>
  <node name="" type="Or" id="F7FFD2194F89B234">
    <insertChild id="BFB14145577BEC23" />
    <insertChild id="C5D353A9AA4D0995" />
    <insertChild id="88E17D6F1B1B3FA7" />
  </node>
  <node name="Ally To Save" type="FindBestTarget" id="C5D353A9AA4D0995">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Ally" />
    <property name="OutputTarget" value="Ally to Save" />
    <property name="MaxLifeFraction" valueSource="variable" value="Health_ReturnToSpawn" />
    <property name="PreferredPointFactor" valueSource="literal" value="0" />
    <property name="MaxTargetDistance" valueSource="variable" value="Chase Range" />
    <insertChild id="982827203201630B" />
  </node>
  <node name="Target to Chase" type="FindBestTarget" id="982827203201630B">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="OutputTarget" value="Target to Chase" />
    <property name="PreferredPointFactor" valueSource="literal" value="0" />
    <property name="MaxTargetDistance" valueSource="variable" value="Chase Range" />
    <property name="SearchCenter" valueSource="variable" value="Ally to Save" />
    <property name="ClipCenter" valueSource="intrinsic" value="Self" />
    <property name="ClipRadius" valueSource="variable" value="Chase Range" />
  </node>
  <node name="Chase/Kill/BodyBlock" type="Difficulty" id="550BE740F166EA62">
    <property name="Difficulty" valueSource="literal" value="Veteran" />
    <variable name="Allowed Time" type="Number" value="10" />
    <variable name="Prevention Time" type="Number" value="30" />
    <variable name="Chase Range" type="Number" value="12" />
    <variable name="Chase Threshhold" type="Number" valueSource="variable" value="Health_EndOffensive" />
    <variable name="Target Future Position" type="Point" />
    <variable name="My Future Position" type="Point" />
    <variable name="Go Around Position" type="Point" />
    <variable name="Target to Chase" type="Unit" />
    <variable name="Ally to Save" type="Unit" />
    <insertChild id="7410D9A2AA6167F4" />
  </node>
  <node name="Chase Requirements" type="And" id="7410D9A2AA6167F4">
    <insertChild id="048308FC361860F5" />
    <insertChild id="FCC4032B02E8DA1B" />
    <insertChild id="F7FFD2194F89B234" />
    <insertChild id="F1234F2E24E31D72" />
    <insertChild id="64158BFB79ACC515" />
    <insertChild id="C72AB87F117BB254" />
  </node>
  <node name="Get Gank Location" type="UnitPosition" id="D345507B519D9E4D">
    <property name="InputUnit" valueSource="intrinsic" value="Self" />
    <property name="OutputPosition" value="Gank Start Location" />
  </node>
  <node name="Haven't Chased Too Far" type="Distance" id="C440C4E57249065B">
    <property name="SourceUnit" valueSource="intrinsic" value="Self" />
    <property name="TargetPoint" valueSource="variable" value="Gank Start Location" />
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="Distance" valueSource="literal" value="15" />
  </node>
  <node name="Self &gt; End Offensive%" type="LifeFraction" id="64158BFB79ACC515">
    <property name="LifeFraction" valueSource="variable" value="Health_EndOffensive" />
    <property name="Comparison" valueSource="literal" value="GT" />
    <property name="Target" valueSource="intrinsic" value="Self" />
    <insertChild id="8DB84C8BE37B625A" />
  </node>
  <node name="" type="Select" id="93801AED1753AA9B" />
  <node name="BodyBlock and Fight" type="HeroFight" id="A13417EF8DDF2477">
    <property name="Target" valueSource="variable" value="Target to Chase" />
    <property name="FightRange" valueSource="intrinsic" value="AttackRange" />
    <property name="PreferredPoint" valueSource="variable" value="Target Future Position" />
    <property name="DisableTacticalPositioning" valueSource="literal" value="true" />
  </node>
  <node name="BodyBlock and Fight" type="HeroFight" id="1A16158C45051444">
    <property name="Target" valueSource="variable" value="Target to Chase" />
    <property name="FightRange" valueSource="intrinsic" value="AttackRange" />
    <property name="PreferredPoint" valueSource="variable" value="Go Around Position" />
    <property name="DisableTacticalPositioning" valueSource="literal" value="true" />
  </node>
  <node name="Not Quarter Value" type="FilterBehavior" id="BFB14145577BEC23">
    <property name="Behavior" valueSource="literal" value="OneQuarterValueHero" />
    <property name="StackComparison" valueSource="literal" value="Eq" />
    <insertChild id="D62BB385FC7E66A5" />
  </node>
  <node name="Target to Chase" type="FindBestTarget" id="88E17D6F1B1B3FA7">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="OutputTarget" value="Target to Chase" />
    <property name="MaxLifeFraction" valueSource="variable" value="Chase Threshhold" />
    <property name="PreferredPointFactor" valueSource="literal" value="0" />
    <property name="MaxTargetDistance" valueSource="variable" value="Chase Range" />
    <property name="FilterTargetsInDangerousArea" valueSource="literal" value="true" />
    <property name="FilterTargetsBehindGate" valueSource="literal" value="true" />
  </node>
  <node name="Healers don't chase if they should be healing" type="Not" id="FCC4032B02E8DA1B">
    <insertChild id="316C2A967243E48E" />
  </node>
  <node name="Ally Healer" type="UnitHasPlaystyle" id="D926ADCC96C7295F">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Playstyles" valueSource="literal" value="AllyHealer" />
  </node>
  <node name="1+ Injured Allies Near Me" type="UnitCount" id="C2E1A9916D73C24B">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Ally" />
    <property name="ExcludeTypes" valueSource="literal" value="ImmuneToFriendlyAbilities,Missile,Stasis,Dead,Hallucination,Invulnerable,Benign" />
    <property name="MaxTargetDistance" valueSource="literal" value="6" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.5" />
    <property name="TargetCount" valueSource="literal" value="1" />
  </node>
  <node name="Damaged within 3 seconds" type="FilterRecentlyDamaged" id="3B2CE9E2E6D91A9B">
    <insertChild id="C2E1A9916D73C24B" />
  </node>
  <node name="" type="And" id="316C2A967243E48E">
    <insertChild id="D926ADCC96C7295F" />
    <insertChild id="3B2CE9E2E6D91A9B" />
  </node>
  <node name="" type="Or" id="9A55D39A49F167D8">
    <insertChild id="6CF42228B607FF77" />
    <insertChild id="D23E48308AFA0D61" />
  </node>
  <node name="Find Regen Globe to Grab" type="FindBestTarget" id="6CF42228B607FF77">
    <property name="SearchCenter" valueSource="intrinsic" value="Self" />
    <property name="TargetTypes" valueSource="literal" value="Ally" />
    <property name="UnitType" valueSource="literal" value="RegenGlobe" />
    <property name="FilterTargetsBehindGate" valueSource="literal" value="true" />
    <property name="MaxTargetDistance" valueSource="literal" value="3" />
    <property name="OutputTarget" value="RegenGlobeUnit" />
    <property name="RequiredTypes" valueSource="literal" value="" />
    <property name="ExcludeTypes" valueSource="literal" value="Missile,Stasis,Dead,Benign" />
    <property name="PreferredPoint" valueSource="intrinsic" value="SafePos" />
  </node>
  <node name="Find Neutral Regen Globe to Grab" type="FindBestTarget" id="D23E48308AFA0D61">
    <property name="SearchCenter" valueSource="intrinsic" value="Self" />
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="UnitType" valueSource="literal" value="RegenGlobeNeutral" />
    <property name="FilterTargetsBehindGate" valueSource="literal" value="true" />
    <property name="MaxTargetDistance" valueSource="literal" value="3" />
    <property name="OutputTarget" value="RegenGlobeUnit" />
    <property name="RequiredTypes" valueSource="literal" value="" />
    <property name="ExcludeTypes" valueSource="literal" value="Missile,Stasis,Dead,Benign" />
    <property name="PreferredPoint" valueSource="intrinsic" value="SafePos" />
  </node>
  <node name="Find Nearby Regen Globe" type="And" id="8A67CD74EA280DA2">
    <variable name="RegenGlobeUnit" type="Unit" />
    <insertChild id="9A55D39A49F167D8" />
    <insertChild id="33767BBC7D753AA0" />
    <insertChild id="BE3096DC7F50BC95" />
  </node>
  <node name="Move to Nearby Regen Globe" type="HeroMoveToUnit" id="BE3096DC7F50BC95">
    <property name="Target" valueSource="variable" value="RegenGlobeUnit" />
  </node>
  <node name="Find Nearby Regen Globe" type="And" id="5C7C095F08CADB7F">
    <variable name="RegenGlobeUnit" type="Unit" />
    <insertChild id="3AE29556FD3CD627" />
    <insertChild id="A3058F18DBC25C6E" />
    <insertChild id="7AC2B8A8954E323A" />
  </node>
  <node name="" type="Or" id="3AE29556FD3CD627">
    <insertChild id="068C65E76C98CD33" />
    <insertChild id="A4E2373184AC62FF" />
  </node>
  <node name="Find Regen Globe to Grab" type="FindBestTarget" id="068C65E76C98CD33">
    <property name="SearchCenter" valueSource="intrinsic" value="Self" />
    <property name="TargetTypes" valueSource="literal" value="Ally" />
    <property name="UnitType" valueSource="literal" value="RegenGlobe" />
    <property name="FilterTargetsBehindGate" valueSource="literal" value="true" />
    <property name="MaxTargetDistance" valueSource="literal" value="6" />
    <property name="OutputTarget" value="RegenGlobeUnit" />
    <property name="RequiredTypes" valueSource="literal" value="" />
    <property name="ExcludeTypes" valueSource="literal" value="Missile,Stasis,Dead,Benign" />
    <property name="PreferredPoint" valueSource="intrinsic" value="SafePos" />
    <property name="ClipCenter" valueSource="variable" value="TargetPosition" />
    <property name="ClipRadius" valueSource="variable" value="MaxStagingRange" />
  </node>
  <node name="Find Neutral Regen Globe to Grab" type="FindBestTarget" id="A4E2373184AC62FF">
    <property name="SearchCenter" valueSource="intrinsic" value="Self" />
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="UnitType" valueSource="literal" value="RegenGlobeNeutral" />
    <property name="FilterTargetsBehindGate" valueSource="literal" value="true" />
    <property name="MaxTargetDistance" valueSource="literal" value="6" />
    <property name="OutputTarget" value="RegenGlobeUnit" />
    <property name="RequiredTypes" valueSource="literal" value="" />
    <property name="ExcludeTypes" valueSource="literal" value="Missile,Stasis,Dead,Benign" />
    <property name="PreferredPoint" valueSource="intrinsic" value="SafePos" />
    <property name="ClipCenter" valueSource="variable" value="TargetPosition" />
    <property name="ClipRadius" valueSource="variable" value="MaxStagingRange" />
  </node>
  <node name="Move to Nearby Regen Globe" type="HeroMoveToUnit" id="7AC2B8A8954E323A">
    <property name="Target" valueSource="variable" value="RegenGlobeUnit" />
  </node>
  <node name="Globe In Dangerous Area" type="IsInDanger" id="8275A94472CB871B">
    <property name="TargetPoint" valueSource="variable" value="RegenGlobeUnit" />
    <property name="ForceIncludeUnit" valueSource="intrinsic" value="Self" />
  </node>
  <node name="Hero Danger" type="IsInDanger" id="790AC3A2FCF45E43" />
  <node name="Continue Macguffin Two" type="OrderActive" id="ECBDA476155B5E6B">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Ability" valueSource="literal" value="CaptureMacGuffinTwo" />
    <insertChild id="8B47E7EF625E3B8C" />
  </node>
  <node name="" type="OrderProgress" id="8B47E7EF625E3B8C">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="ProgressFraction" valueSource="literal" value="0.5" />
    <variable name="Target" type="Unit" valueSource="intrinsic" value="OrderTargetUnit" />
    <insertChild id="85EBEC4420ACA689" />
  </node>
  <node name="UseCaptureMacGuffinTwo" type="Ability" id="85EBEC4420ACA689">
    <property name="Ability" valueSource="literal" value="CaptureMacGuffinTwo" />
    <property name="TargetUnit" valueSource="variable" value="Target" />
    <property name="DoNotThrottle" valueSource="literal" value="true" />
  </node>
  <node name="UseVehicle" type="Ability" id="CFA8852C7065639D">
    <property name="Ability" valueSource="literal" value="UseVehicle" />
    <property name="TargetUnit" valueSource="variable" value="Target" />
    <property name="DoNotThrottle" valueSource="literal" value="true" />
  </node>
  <node name="UseCaptureMacGuffin" type="Ability" id="8B88FD7CC0909E6F">
    <property name="Ability" valueSource="literal" value="CaptureMacGuffin" />
    <property name="TargetUnit" valueSource="variable" value="Target" />
    <property name="DoNotThrottle" valueSource="literal" value="true" />
  </node>
  <node name="Continue Vehicle" type="OrderActive" id="F0ACAF8EBEB2AC31">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Ability" valueSource="literal" value="UseVehicle" />
    <insertChild id="E724334712F911F3" />
  </node>
  <node name="" type="OrderProgress" id="E724334712F911F3">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="ProgressFraction" valueSource="literal" value="0.1" />
    <variable name="Target" type="Unit" valueSource="intrinsic" value="OrderTargetUnit" />
    <insertChild id="CFA8852C7065639D" />
  </node>
  <node name="Find Target Around Self" type="FindBestTarget" id="B86F4BE922AFE6AB" comment="Find targets around MaxStagingRange">
    <property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,Heroic,Summoned,AITargetableStructure" />
    <property name="DistanceFactor" valueSource="literal" value="2" />
    <property name="OutputTarget" value="FightTarget" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
    <property name="MaxTargetDistance" valueSource="intrinsic" value="AttackRange" />
    <variable name="FightTarget" type="Unit" />
    <insertChild id="9DF67589E379D34E" />
  </node>
  <node name="Fight Target" type="HeroFight" id="9DF67589E379D34E" comment="Fight target on beacon">
    <property name="Target" valueSource="variable" value="FightTarget" />
    <property name="FightRange" valueSource="variable" value="FightRange" />
  </node>
  <node name="Move Into Beacon" type="HeroMoveToPoint" id="D9F0DD966F51346E" comment="Move towards the Beacon target point">
    <property name="TargetPosition" valueSource="variable" value="TargetPosition" />
    <property name="StopRange" valueSource="variable" value="BeaconRadius" />
    <property name="StartRange" valueSource="variable" value="BeaconRadius" />
  </node>
  <node name="2+ Enemy Heroes Near Self" type="UnitCount" id="BFA2DA26376E6B06">
    <property name="TargetCount" valueSource="literal" value="2" />
    <property name="MaxTargetDistance" valueSource="literal" value="8" />
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
  </node>
  <node name="" type="Not" id="33767BBC7D753AA0">
    <insertChild id="43C5D71734C83237" />
  </node>
  <node name="" type="Or" id="43C5D71734C83237">
    <insertChild id="3FE395EBD516B279" />
    <insertChild id="6EC1D872ADB3609D" />
    <insertChild id="FD3E205D0C872362" />
  </node>
  <node name="Enemy Hero Near Globe" type="UnitCount" id="3FE395EBD516B279">
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="MaxTargetDistance" valueSource="literal" value="3" />
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="SearchCenter" valueSource="variable" value="RegenGlobeUnit" />
  </node>
  <node name="2+ Enemy Heroes Near Self" type="UnitCount" id="6EC1D872ADB3609D">
    <property name="TargetCount" valueSource="literal" value="2" />
    <property name="MaxTargetDistance" valueSource="literal" value="8" />
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
  </node>
  <node name="Globe In Dangerous Area" type="IsInDanger" id="FD3E205D0C872362">
    <property name="TargetPoint" valueSource="variable" value="RegenGlobeUnit" />
    <property name="ForceIncludeUnit" valueSource="intrinsic" value="Self" />
  </node>
  <node name="Conditions" type="Or" id="B24B629B9DA9C2AA">
    <insertChild id="F1022B9539C40BB4" />
    <insertChild id="1F7BCD95BF0E6328" />
  </node>
  <node name="Should Stage" type="And" id="CC273D0EFA88AB07">
    <insertChild id="B24B629B9DA9C2AA" />
    <insertChild id="964C8128A190762A" />
  </node>
  <node name="Helper Alone at Objective" type="And" id="1F7BCD95BF0E6328">
    <variable name="Helper Distance" type="Number" />
    <insertChild id="63BFFC5259EB7519" />
    <insertChild id="9655898950C88C45" />
    <insertChild id="C17219DE54BA7D5C" />
    <insertChild id="D7161FE1FDDCAB9D" />
  </node>
  <node name="Is Helper" type="UnitHasPlaystyle" id="63BFFC5259EB7519">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Playstyles" valueSource="literal" value="Helper" />
  </node>
  <node name="Distance to Objective" type="UnitDistance" id="9655898950C88C45">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Point" valueSource="variable" value="TargetPosition" />
    <property name="OutputDistance" value="Helper Distance" />
    <property name="Invert" valueSource="literal" value="true" />
  </node>
  <node name="0 Allies Closer to Objective" type="UnitCount" id="C17219DE54BA7D5C">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Ally" />
    <property name="ExcludeTypes" valueSource="literal" value="Missile,Stasis,Dead,Hallucination,Invulnerable,Benign" />
    <property name="SearchCenter" valueSource="variable" value="TargetPosition" />
    <property name="MaxTargetDistance" valueSource="variable" value="Helper Distance" />
    <property name="Comparison" valueSource="literal" value="Eq" />
  </node>
  <node name="1+ Enemy Heroes in Staging Range of Objective" type="UnitCount" id="D7161FE1FDDCAB9D">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy" />
    <property name="SearchCenter" valueSource="variable" value="TargetPosition" />
    <property name="MaxTargetDistance" valueSource="variable" value="MaxStagingRange" />
    <property name="TargetCount" valueSource="literal" value="1" />
  </node>
  <node name="" type="Or" id="12759689597529F0">
    <insertChild id="19F73A0B525E25E4" />
    <insertChild id="86C5BCB28023DF22" />
    <insertChild id="DBD83EE4E811D4CB" />
    <insertChild id="6BEC3E3AF9216ACB" />
    <insertChild id="7C05D3FDFCC9F74A" />
  </node>
  <node name="" type="FindSafePoint" id="7C05D3FDFCC9F74A">
    <property name="OutputTarget" value="AoE Escape Point" />
    <property name="PreferredPoint" valueSource="intrinsic" value="SafePos" />
  </node>
  <node name="Destination Away From Allies" type="FindPointOnLine" id="B97DFF994CD54AA1">
    <property name="SourcePoint" valueSource="intrinsic" value="SelfPos" />
    <property name="DestinationPoint" valueSource="variable" value="TargetPoint" />
    <property name="OutputTarget" value="TargetPoint" />
    <property name="DistanceOffset" valueSource="literal" value="6" />
    <insertChild id="662DFBA3CAD04043" />
  </node>
  <node name="Ally And Enemy Counts" type="Select" id="3C4111DA987447D5">
    <variable name="Allowed Time" type="Number" value="1" />
    <variable name="Prevention Time" type="Number" value="5" />
    <variable name="CurrentEnemyCount" type="Integer" />
    <insertChild id="33AD0C1AA832C876" />
    <insertChild id="195DDAFE7D2CB648" />
    <insertChild id="19DED2A0961F5E34" />
  </node>
  <node name="Check Timers" type="And" id="195DDAFE7D2CB648">
    <insertChild id="F34FEE45940B20FD" />
    <insertChild id="E74800D10EEA05AB" />
    <insertChild id="AF3BAF78E52D44A5" />
  </node>
  <node name="Prevention Timer" type="TimerFinished" id="BFB27A9DB1DFF6E9">
    <property name="FinishTime" valueSource="variable" value="EnemyNearPreventionTimer" />
  </node>
  <node name="Requirements to Start" type="Select" id="E74800D10EEA05AB" comment="If this node is true then the allowed branch will run for allowed time then not run until the Prevention timer finishes.">
    <insertChild id="BFB27A9DB1DFF6E9" />
    <insertChild id="B81927D28FB4C6F1" />
  </node>
  <node name="Timer Prevent" type="TimerStart" id="AF3BAF78E52D44A5">
    <property name="OutputFinishTime" value="EnemyNearPreventionTimer" />
    <property name="DurationSeconds" valueSource="variable" value="Prevention Time" />
  </node>
  <node name="Allow or Disallow" type="IfElse" id="19DED2A0961F5E34">
    <insertChild id="365DD4BFA3477AEF" />
    <insertChild id="AC1EDD8645F4D610" />
    <insertChild id="CF8EEE0046D07E09" />
  </node>
  <node name="Timer PrevtionDelay" type="TimerFinished" id="83EC07B8F00E9B7F">
    <property name="FinishTime" valueSource="variable" value="EnemyNearPreventionTimer" />
  </node>
  <node name="Allowed" type="And" id="AC1EDD8645F4D610" comment="This branch will run for the allowed time and then will stop doing the allowed node until the Prevention Time has elapsed">
    <insertChild id="E2FE875B646F3A38" />
    <insertChild id="86B904798D1CC702" />
  </node>
  <node name="Disallowed" type="And" id="CF8EEE0046D07E09">
    <insertChild id="83EC07B8F00E9B7F" />
    <insertChild id="3CF785AA18A4854E" />
    <insertChild id="E2222BE72D684C23" />
  </node>
  <node name="" type="Or" id="365DD4BFA3477AEF">
    <insertChild id="C82AF5349AA15EFD" />
  </node>
  <node name="NearEnemy" type="UnitCount" id="F34FEE45940B20FD">
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="MaxTargetDistance" valueSource="literal" value="15" />
    <property name="OutputCount" value="CurrentEnemyCount" />
    <property name="MinLifeFraction" valueSource="literal" value="0.1" />
  </node>
  <node name="More Enemies" type="CompareNumber" id="B81927D28FB4C6F1">
    <property name="LeftHandSide" valueSource="variable" value="CurrentEnemyCount" />
    <property name="RightHandSide" valueSource="variable" value="Enemy Hero Count" />
    <property name="Comparison" valueSource="literal" value="GE" />
  </node>
  <node name="NearEnemy" type="UnitCount" id="E2FE875B646F3A38">
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="MaxTargetDistance" valueSource="literal" value="15" />
    <property name="OutputCount" value="Enemy Hero Count" />
    <property name="MinLifeFraction" valueSource="literal" value="0.1" />
  </node>
  <node name="Timer Prevent" type="TimerStart" id="86B904798D1CC702">
    <property name="OutputFinishTime" value="EnemyNearPreventionTimer" />
    <property name="DurationSeconds" valueSource="variable" value="Prevention Time" />
  </node>
  <node name="Timer Prevent" type="TimerStart" id="E2222BE72D684C23">
    <property name="OutputFinishTime" value="EnemyNearPreventionTimer" />
    <property name="DurationSeconds" valueSource="variable" value="Prevention Time" />
  </node>
  <node name="More Enemies" type="CompareNumber" id="C82AF5349AA15EFD">
    <property name="LeftHandSide" valueSource="variable" value="CurrentEnemyCount" />
    <property name="RightHandSide" valueSource="variable" value="Enemy Hero Count" />
    <property name="Comparison" valueSource="literal" value="GE" />
  </node>
  <node name="NearEnemy" type="UnitCount" id="3CF785AA18A4854E">
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="MaxTargetDistance" valueSource="literal" value="15" />
    <property name="OutputCount" value="Enemy Hero Count" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="MinLifeFraction" valueSource="literal" value="0.1" />
  </node>
  <node name="Ally Count" type="UnitCount" id="33AD0C1AA832C876">
    <property name="TargetTypes" valueSource="literal" value="Self,Player,Ally" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="MaxTargetDistance" valueSource="literal" value="15" />
    <property name="OutputCount" value="Ally Hero Count" />
    <property name="MinLifeFraction" valueSource="literal" value="0.1" />
  </node>
  <node name="No Quarter Value Heroes" type="FilterBehavior" id="FB150D97F7DB000B">
    <property name="Behavior" valueSource="literal" value="OneQuarterValueHero" />
    <property name="StackComparison" valueSource="literal" value="Eq" />
    <insertChild id="3C4111DA987447D5" />
  </node>
  <node name="Find Nearby Healing Potion" type="And" id="73F2304E6C710112">
    <variable name="HealingPotion" type="Unit" />
    <variable name="HealingPotionRadius" type="Number" value="10" />
    <variable name="CurrentHealth" type="Number" />
    <variable name="Nearby Ally" type="Unit" />
    <insertChild id="2093D97FDD4ED7D6" />
    <insertChild id="37BC4B4DDB22B789" />
    <insertChild id="5E2CFFA22AA15C98" />
    <insertChild id="4C07EC187320F79F" />
    <insertChild id="FE804C93B4F1482E" />
  </node>
  <node name="" type="Or" id="580BD9F1D46C036B">
    <insertChild id="B4B4682957FA125D" />
    <insertChild id="31B46FEAC4022271" />
  </node>
  <node name="Find Lesser Healing Potion" type="FindBestTarget" id="B4B4682957FA125D">
    <property name="SearchCenter" valueSource="intrinsic" value="Self" />
    <property name="TargetTypes" valueSource="literal" value="Self,Ally" />
    <property name="UnitType" valueSource="literal" value="DeckardLesserHealingPotion" />
    <property name="FilterTargetsBehindGate" valueSource="literal" value="true" />
    <property name="MaxTargetDistance" valueSource="variable" value="HealingPotionRadius" />
    <property name="OutputTarget" value="HealingPotion" />
    <property name="RequiredTypes" valueSource="literal" value="" />
    <property name="ExcludeTypes" valueSource="literal" value="Missile,Stasis,Dead" />
    <property name="PreferredPoint" valueSource="intrinsic" value="SafePos" />
  </node>
  <node name="Find Healing Potion" type="FindBestTarget" id="31B46FEAC4022271">
    <property name="SearchCenter" valueSource="intrinsic" value="Self" />
    <property name="TargetTypes" valueSource="literal" value="Self,Ally" />
    <property name="UnitType" valueSource="literal" value="DeckardHealingPotion" />
    <property name="FilterTargetsBehindGate" valueSource="literal" value="true" />
    <property name="MaxTargetDistance" valueSource="variable" value="HealingPotionRadius" />
    <property name="OutputTarget" value="HealingPotion" />
    <property name="ExcludeTypes" valueSource="literal" value="Missile,Stasis,Dead" />
    <property name="PreferredPoint" valueSource="intrinsic" value="SafePos" />
  </node>
  <node name="" type="Or" id="4C07EC187320F79F">
    <insertChild id="58542213BBEB92DE" />
    <insertChild id="71AF1870802AE0F0" />
  </node>
  <node name="Potion In Dangerous Area" type="IsInDanger" id="9233C168F6BFB49E">
    <property name="TargetPoint" valueSource="variable" value="HealingPotion" />
    <property name="ForceIncludeUnit" valueSource="intrinsic" value="Self" />
  </node>
  <node name="Pickup Potion" type="HeroMoveToUnit" id="FE804C93B4F1482E">
    <property name="Target" valueSource="variable" value="HealingPotion" />
  </node>
  <node name="" type="Or" id="37BC4B4DDB22B789">
    <insertChild id="EA56419F86F499C5" />
    <insertChild id="615F06AAB07A5F8B" />
    <insertChild id="A9A402A32E42924C" />
    <insertChild id="2BB6A650A049A0D7" />
  </node>
  <node name="No Enemies Nearby" type="CompareNumber" id="EA56419F86F499C5">
    <property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
    <insertChild id="9469E06D2F949BA2" />
  </node>
  <node name="&lt;80%" type="LifeFraction" id="9469E06D2F949BA2">
    <property name="LifeFraction" valueSource="literal" value="0.8" />
    <property name="Comparison" valueSource="literal" value="LT" />
    <property name="Target" valueSource="intrinsic" value="Self" />
  </node>
  <node name="1 Enemy" type="CompareNumber" id="615F06AAB07A5F8B">
    <property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="RightHandSide" valueSource="literal" value="1" />
    <insertChild id="2F10AA5E2DF3C55A" />
  </node>
  <node name="&lt;20% Health" type="LifeFraction" id="2F10AA5E2DF3C55A">
    <property name="LifeFraction" valueSource="literal" value="0.2" />
    <property name="Comparison" valueSource="literal" value="LE" />
  </node>
  <node name="2 Enemies" type="CompareNumber" id="A9A402A32E42924C">
    <property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
    <property name="Comparison" valueSource="literal" value="LE" />
    <property name="RightHandSide" valueSource="literal" value="2" />
    <insertChild id="1160BF566BF89E0A" />
  </node>
  <node name="&lt;35% Health" type="LifeFraction" id="1160BF566BF89E0A">
    <property name="LifeFraction" valueSource="literal" value="0.35" />
    <property name="Comparison" valueSource="literal" value="LE" />
  </node>
  <node name="3+ Enemies" type="CompareNumber" id="2BB6A650A049A0D7">
    <property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="RightHandSide" valueSource="literal" value="3" />
    <insertChild id="1F6C528D1345F7D4" />
  </node>
  <node name="&lt;50% Health" type="LifeFraction" id="1F6C528D1345F7D4">
    <property name="LifeFraction" valueSource="literal" value="0.5" />
    <property name="Comparison" valueSource="literal" value="LE" />
  </node>
  <node name="No Injured Ally" type="FindBestTarget" id="A3B2967AA699B066">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Ally" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.25" />
    <property name="MaxTargetDistance" valueSource="variable" value="HealingPotionRadius" />
    <property name="OutputTarget" value="Nearby Ally" />
  </node>
  <node name="" type="Not" id="58542213BBEB92DE">
    <insertChild id="A3B2967AA699B066" />
  </node>
  <node name="Self &lt;25%" type="LifeFraction" id="71AF1870802AE0F0">
    <property name="LifeFraction" valueSource="literal" value="0.25" />
    <property name="Comparison" valueSource="literal" value="LE" />
  </node>
  <node name="" type="Not" id="5E2CFFA22AA15C98">
    <insertChild id="9233C168F6BFB49E" />
  </node>
  <node name="On Healing Altar" type="UnitHasBehavior" id="CCE623786E8A1791">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Behavior" valueSource="literal" value="HallOfStormsProtectionBuff" />
    <insertChild id="604F95335BDD3908" />
  </node>
  <node name="" type="Or" id="503992DD10798571">
    <insertChild id="46369DBA94FEE1D5" />
    <insertChild id="8A1558D2627B41BB" />
  </node>
  <node name="" type="And" id="604F95335BDD3908">
    <variable name="RandomPointInAltar" type="Point" />
    <insertChild id="9B4E7F42960B493F" />
    <insertChild id="503992DD10798571" />
    <insertChild id="3E94C89444D2351C" />
  </node>
  <node name="&lt; 90%" type="LifeFraction" id="46369DBA94FEE1D5">
    <property name="Comparison" valueSource="literal" value="LT" />
    <property name="LifeFraction" valueSource="literal" value="0.9" />
    <property name="Target" valueSource="intrinsic" value="Self" />
  </node>
  <node name="&lt; 90%" type="EnergyFraction" id="7B2B3AA2FF73E67B">
    <property name="EnergyFraction" valueSource="literal" value="0.9" />
    <property name="Comparison" valueSource="literal" value="LT" />
    <property name="Target" valueSource="intrinsic" value="Self" />
  </node>
  <node name="" type="RandomPointInCircle" id="3E94C89444D2351C">
    <property name="CenterPoint" valueSource="intrinsic" value="SafePos" />
    <property name="Radius" valueSource="literal" value="5" />
    <property name="OutputPoint" value="RandomPointInAltar" />
    <insertChild id="E19BD8116EE1FD01" />
  </node>
  <node name="" type="HeroMoveToPoint" id="E19BD8116EE1FD01">
    <property name="TargetPosition" valueSource="variable" value="RandomPointInAltar" />
  </node>
  <node name="Uses Mana" type="UnitHasBehavior" id="8A1558D2627B41BB">
    <property name="StackComparison" valueSource="literal" value="Eq" />
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Behavior" valueSource="literal" value="NotManaUserDummy" />
    <insertChild id="7B2B3AA2FF73E67B" />
  </node>
  <node name="Not Bottomless Flask" type="FilterBehavior" id="2093D97FDD4ED7D6">
    <property name="Behavior" valueSource="literal" value="DeckardBottomlessFlask" />
    <property name="StackComparison" valueSource="literal" value="Eq" />
    <insertChild id="580BD9F1D46C036B" />
  </node>
  <node name="Bunker Nearby" type="FindBestTarget" id="19F73A0B525E25E4">
    <property name="UnitType" valueSource="literal" value="FirebatBunkerDropBunkerUnit" />
    <property name="TargetTypes" valueSource="literal" value="Self,Player,Ally" />
    <property name="RequiredTypes" valueSource="literal" value="" />
    <property name="OutputTarget" value="BunkerUnit" />
    <property name="MaxTargetDistance" valueSource="literal" value="5" />
    <property name="MinLifeFraction" valueSource="literal" value="0.25" />
    <insertChild id="E8591FDB2C273EB1" />
  </node>
  <node name="UseBunker" type="Ability" id="E8591FDB2C273EB1">
    <property name="Ability" valueSource="literal" value="SmartCommandUnitInteraction" />
    <property name="TargetUnit" valueSource="variable" value="BunkerUnit" />
  </node>
  <node name="Should use Bunker" type="UnitHasBehaviorCategory" id="06E7B8EB9CB98DF9">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Categories" valueSource="literal" value="Slow,Reveal,HealReduction,DebuffAbilityPower,DebuffRoot,DebuffStasis,DebuffSilence,DebuffBlind,DebuffAutoattackDPS" />
    <insertChild id="53A4F84F7705697F" />
  </node>
  <node name="ControlNode" type="And" id="53A4F84F7705697F">
    <variable name="BunkerUnit" type="Unit" />
    <insertChild id="E228E038022A5A0D" />
    <insertChild id="C9CDC75717AC9D31" />
  </node>
  <node name="Bunker Nearby" type="FindBestTarget" id="E228E038022A5A0D">
    <property name="UnitType" valueSource="literal" value="FirebatBunkerDropBunkerUnit" />
    <property name="TargetTypes" valueSource="literal" value="Self,Player,Ally" />
    <property name="RequiredTypes" valueSource="literal" value="" />
    <property name="OutputTarget" value="BunkerUnit" />
    <property name="MaxTargetDistance" valueSource="literal" value="5" />
  </node>
  <node name="Use Bunker" type="Ability" id="C9CDC75717AC9D31">
    <property name="Ability" valueSource="literal" value="SmartCommandUnitInteraction" />
    <property name="TargetUnit" valueSource="variable" value="BunkerUnit" />
  </node>
  <node name="Living Bomb/Poly Bomb Logic" type="And" id="86C5BCB28023DF22">
    <variable name="Living Bomb Flee Point" type="Point" />
    <insertChild id="D6965909A7DAB8B1" />
    <insertChild id="9F684712DD6C277A" />
  </node>
  <node name="" type="Or" id="D6965909A7DAB8B1">
    <insertChild id="A0AAA773BD901E59" />
    <insertChild id="AD7AFE2EEABCCC37" />
    <insertChild id="7971330C9D93A52C" />
    <insertChild id="61B2A9CC206A3D05" />
    <insertChild id="C07CC21D240707E4" />
  </node>
  <node name="Living Bomb Chain" type="UnitHasBehavior" id="AD7AFE2EEABCCC37">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Behavior" valueSource="literal" value="KaelthasLivingBombChainBombTarget" />
    <insertChild id="CBA04E19F0458BFF" />
  </node>
  <node name="Living Bomb" type="UnitHasBehavior" id="A0AAA773BD901E59">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Behavior" valueSource="literal" value="KaelthasLivingBombTarget" />
    <insertChild id="7F47716660E64A84" />
  </node>
  <node name="PolyBomb" type="UnitHasBehavior" id="7971330C9D93A52C">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Behavior" valueSource="literal" value="MedivhPolyBomb" />
  </node>
  <node name="MoveToSafety" type="HeroMoveToPoint" id="69C38A78E85397E7">
    <property name="TargetPosition" valueSource="variable" value="Living Bomb Flee Point" />
    <property name="StopRange" valueSource="literal" value="0" />
    <property name="StartRange" valueSource="literal" value="0" />
  </node>
  <node name="Find Safe Point" type="FindSafePoint" id="C8FCFB6565BBBD72">
    <property name="FleeCenter" valueSource="variable" value="Living Bomb Flee Point" />
    <property name="FleeDistance" valueSource="literal" value="4" />
    <property name="PreferredPoint" valueSource="intrinsic" value="SafePos" />
    <property name="OutputTarget" value="Living Bomb Flee Point" />
  </node>
  <node name="Find A point closer to Your Core to Flee Center" type="FindPointOnLine" id="89F006772417E660">
    <property name="SourceUnit" valueSource="intrinsic" value="Self" />
    <property name="DestinationPoint" valueSource="intrinsic" value="SafePos" />
    <property name="DistanceOffset" valueSource="literal" value="4" />
    <property name="OutputTarget" value="Living Bomb Flee Point" />
    <insertChild id="C8FCFB6565BBBD72" />
  </node>
  <node name="" type="Or" id="42DE251C1A47AC9F">
    <insertChild id="89F006772417E660" />
    <insertChild id="C597F1C6071AE8E6" />
  </node>
  <node name="Repeat with Further Point" type="FindPointOnLine" id="C597F1C6071AE8E6">
    <property name="SourceUnit" valueSource="intrinsic" value="Self" />
    <property name="DestinationPoint" valueSource="intrinsic" value="SafePos" />
    <property name="DistanceOffset" valueSource="literal" value="8" />
    <property name="OutputTarget" value="Living Bomb Flee Point" />
    <insertChild id="82900A7D954773A9" />
  </node>
  <node name="Find Safe Point" type="FindSafePoint" id="82900A7D954773A9">
    <property name="FleeCenter" valueSource="variable" value="Living Bomb Flee Point" />
    <property name="FleeDistance" valueSource="literal" value="8" />
    <property name="PreferredPoint" valueSource="intrinsic" value="SafePos" />
    <property name="OutputTarget" value="Living Bomb Flee Point" />
  </node>
  <node name="" type="And" id="9F684712DD6C277A">
    <insertChild id="42DE251C1A47AC9F" />
    <insertChild id="6B56054ED836E9AD" />
    <insertChild id="69C38A78E85397E7" />
  </node>
  <node name="" type="LifeFraction" id="7F47716660E64A84">
    <property name="Target" valueSource="intrinsic" value="Self" />
    <property name="Comparison" valueSource="literal" value="LT" />
    <property name="LifeFraction" valueSource="literal" value="0.75" />
  </node>
  <node name="Ally Nearby to not blow up" type="UnitCount" id="6B56054ED836E9AD">
    <property name="TargetTypes" valueSource="literal" value="Heroic" />
    <property name="RequiredTypes" valueSource="literal" value="Ally" />
    <property name="MaxTargetDistance" valueSource="literal" value="5" />
    <property name="TargetCount" valueSource="literal" value="1" />
  </node>
  <node name="Pyroblast" type="UnitHasBehavior" id="61B2A9CC206A3D05">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Behavior" valueSource="literal" value="KaelthasPyroblastCastingReveal" />
  </node>
  <node name="Frozen Tomb" type="UnitHasBehavior" id="C07CC21D240707E4">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Behavior" valueSource="literal" value="KelThuzadFrozenTombCastReveal" />
  </node>
  <node name="" type="Or" id="DBD83EE4E811D4CB">
    <insertChild id="C287FB721254EE7C" />
    <insertChild id="F841048CF512D6E7" />
    <insertChild id="B2323EB7F34C441A" />
    <insertChild id="5098740A27FFC8A0" />
    <insertChild id="C9B1E2B471631CB6" />
  </node>
  <node name="Living Bomb" type="UnitHasBehavior" id="C287FB721254EE7C">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Behavior" valueSource="literal" value="KaelthasLivingBombTarget" />
  </node>
  <node name="Living Bomb Chain" type="UnitHasBehavior" id="F841048CF512D6E7">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Behavior" valueSource="literal" value="KaelthasLivingBombChainBombTarget" />
  </node>
  <node name="PolyBomb" type="UnitHasBehavior" id="B2323EB7F34C441A">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Behavior" valueSource="literal" value="MedivhPolyBomb" />
  </node>
  <node name="Pyroblast" type="UnitHasBehavior" id="5098740A27FFC8A0">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Behavior" valueSource="literal" value="KaelthasPyroblastCastingReveal" />
  </node>
  <node name="Frozen Tomb" type="UnitHasBehavior" id="C9B1E2B471631CB6">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Behavior" valueSource="literal" value="KelThuzadFrozenTombCastReveal" />
  </node>
  <node name="" type="LifeFraction" id="CBA04E19F0458BFF">
    <property name="Target" valueSource="intrinsic" value="Self" />
    <property name="Comparison" valueSource="literal" value="LT" />
    <property name="LifeFraction" valueSource="literal" value="0.75" />
  </node>
  <node name="Need to Pilot" type="UnitCount" id="AEEAD22808EAD423">
    <property name="UnitType" valueSource="literal" value="VolskayaVehicle" />
    <property name="TargetTypes" valueSource="literal" value="Self,Player,Ally" />
    <property name="RequiredTypes" valueSource="literal" value="" />
    <property name="MaxTargetDistance" valueSource="literal" value="5" />
    <insertChild id="AE97C6F254A01A0E" />
  </node>
  <node name="UseVehicle" type="Ability" id="AE97C6F254A01A0E">
    <property name="Ability" valueSource="literal" value="UseVehicle" />
    <property name="TargetUnit" valueSource="variable" value="Target" />
    <property name="DoNotThrottle" valueSource="literal" value="true" />
  </node>
  <node name="No Disable Altar Healing" type="UnitHasBehavior" id="9B4E7F42960B493F">
    <property name="Unit" valueSource="intrinsic" value="Self" />
    <property name="Behavior" valueSource="literal" value="OneLaneMapBlockAltarHealing" />
    <property name="StackComparison" valueSource="literal" value="Eq" />
  </node>
  <node name="Only stage on Mercs if Enemy Hero nearby" type="CompareNumber" id="CA312478F4D12B7A">
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
    <property name="RightHandSide" valueSource="literal" value="1" />
  </node>
  <node name="Taken Damage" type="RecentlyDamaged" id="EA1BB9FACA08F39E">
    <property name="Target" valueSource="intrinsic" value="Self" />
  </node>
  <node name="" type="Not" id="E1AF03C9D383C568">
    <insertChild id="EA1BB9FACA08F39E" />
  </node>
</tree>