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

stukov.aitree
<?xml version="1.0" encoding="us-ascii"?>
<tree>
  <include file="AI/HeroMutator.aitree" />
  <mod id="87811D772E337EB7">
    <insertChild id="FFA2ACE3667D2DDA" />
    <insertChild id="6F4143487774100F" />
    <insertChild id="0659485A7C76784C" />
    <insertChild id="426E7D021930031D" />
  </mod>
  <mod id="93D883AF1FB031B1">
    <insertChild id="A4058AA255280C17" />
  </mod>
  <mod id="A4058AA255280C17">
    <insertChild id="D6E174C84AF5C647" />
    <insertChild id="736E796F576D7F34" />
    <insertChild id="5B9375B14EB7618B" />
    <insertChild id="D58EA6913DD4340F" />
  </mod>
  <node name="BioKillSwitchFindHighPriorityTarget" type="UnitCount" id="26162E103B6F5F59">
    <property name="TargetTypes" valueSource="literal" value="Self,Ally,Heroic" />
    <property name="MaxTargetDistance" valueSource="literal" value="0" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.4" />
    <property name="SearchBehaviorTracker" valueSource="literal" value="AllHeroicUnitsTrackingBehavior" />
    <property name="Behavior" valueSource="literal" value="StukovHealingPathogenHealerBehavior" />
    <property name="BehaviorRequiredCaster" valueSource="intrinsic" value="Self" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
    <property name="ExcludeTypes" valueSource="literal" value="ImmuneToFriendlyAbilities,Missile,Stasis,Dead,Invulnerable,Benign" />
  </node>
  <node name="BioKillSwitchFindMedPriorityTargets" type="UnitCount" id="351E390535795046">
    <property name="TargetTypes" valueSource="literal" value="Ally,Heroic" />
    <property name="MaxTargetDistance" valueSource="literal" value="0" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.7" />
    <property name="SearchBehaviorTracker" valueSource="literal" value="AllHeroicUnitsTrackingBehavior" />
    <property name="Behavior" valueSource="literal" value="StukovHealingPathogenHealerBehavior" />
    <property name="BehaviorRequiredCaster" valueSource="intrinsic" value="Self" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="TargetCount" valueSource="literal" value="2" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
    <property name="ExcludeTypes" valueSource="literal" value="ImmuneToFriendlyAbilities,Missile,Stasis,Dead,Invulnerable,Benign" />
  </node>
  <node name="BioKillSwitchFindLowPriorityTargets" type="UnitCount" id="351E390526735146">
    <property name="TargetTypes" valueSource="literal" value="Ally,Heroic" />
    <property name="MaxTargetDistance" valueSource="literal" value="0" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.85" />
    <property name="SearchBehaviorTracker" valueSource="literal" value="AllHeroicUnitsTrackingBehavior" />
    <property name="Behavior" valueSource="literal" value="StukovHealingPathogenHealerBehavior" />
    <property name="BehaviorRequiredCaster" valueSource="intrinsic" value="Self" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="TargetCount" valueSource="literal" value="3" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
    <property name="ExcludeTypes" valueSource="literal" value="ImmuneToFriendlyAbilities,Missile,Stasis,Dead,Invulnerable,Benign" />
  </node>
  <node name="BioKillSwitchUseToHealPriorities" type="Or" id="372A3C1424210008">
    <insertChild id="26162E103B6F5F59" />
    <insertChild id="351E390535795046" />
    <insertChild id="351E390526735146" />
  </node>
  <node name="BioKillSwitchAttemptToHeal" type="And" id="425042555C6B0131">
    <insertChild id="372A3C1424210008" />
    <insertChild id="62664D0425172A1B" />
  </node>
  <node name="BioKillSwitchUseAbilityToHeal" type="Ability" id="62664D0425172A1B">
    <property name="Ability" valueSource="literal" value="StukovBioKillSwitch" />
    <property name="DoNotThrottle" valueSource="literal" value="true" />
  </node>
  <node name="BioKillSwitchFindHurtEnemy" type="UnitCount" id="586B6F755A6E313C">
    <property name="TargetTypes" valueSource="literal" value="Enemy,Heroic" />
    <property name="MaxTargetDistance" valueSource="literal" value="0" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.25" />
    <property name="SearchBehaviorTracker" valueSource="literal" value="AllHeroicUnitsTrackingBehavior" />
    <property name="Behavior" valueSource="literal" value="StukovWeightedPustuleController" />
    <property name="BehaviorRequiredCaster" valueSource="intrinsic" value="Self" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
  </node>
  <node name="BioKillSwitchUseAbilityToKill" type="Ability" id="62664D04281B291B">
    <property name="Ability" valueSource="literal" value="StukovBioKillSwitch" />
    <property name="DoNotThrottle" valueSource="literal" value="true" />
  </node>
  <node name="BioKillSwitch" type="Or" id="6F4143487774100F" />
  <node name="HealingPathogen" type="FindBestTarget" id="736E796F576D7F34">
    <property name="TargetTypes" valueSource="literal" value="Self,Ally,Heroic" />
    <property name="MaxTargetDistance" valueSource="literal" value="7" />
    <property name="LifeFractionFactor" valueSource="literal" value="1" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.95" />
    <property name="OutputTarget" value="HealingPathogenTarget" />
    <property name="ExcludeTypes" valueSource="literal" value="ImmuneToFriendlyAbilities,Missile,Stasis,Dead,Invulnerable,Benign" />
    <variable name="HealingPathogenTarget" type="Unit" />
    <insertChild id="1407150635263B57" />
  </node>
  <node name="HealingPathogenUseAbilityOnTarget" type="Ability" id="1407150635263B57">
    <property name="Ability" valueSource="literal" value="StukovHealingPathogen" />
    <property name="TargetUnit" valueSource="variable" value="HealingPathogenTarget" />
  </node>
  <node name="WeightedPustuleGetTargetPosition" type="UnitPosition" id="390A161B1B3D0B32">
    <property name="InputUnit" valueSource="variable" value="WeightedPustuleTarget" />
    <property name="PredictionSeconds" valueSource="literal" value="0.25" />
    <property name="OutputPosition" value="WeightedPustuleTargetPosition" />
    <insertChild id="2C1A1A116E515F7B" />
  </node>
  <node name="WeightedPustuleFindTarget" type="FindBestTarget" id="47676A7C477E7E1A">
    <property name="TargetTypes" valueSource="literal" value="Enemy,Heroic" />
    <property name="MaxTargetDistance" valueSource="variable" value="WeightedPustuleRange" />
    <property name="LifeFractionFactor" valueSource="literal" value="1" />
    <property name="DistanceFactor" valueSource="literal" value="-1" />
    <property name="PredictionSeconds" valueSource="literal" value="0.25" />
    <property name="OutputTarget" value="WeightedPustuleTarget" />
    <insertChild id="390A161B1B3D0B32" />
  </node>
  <node name="WeightedPustuleUseAbilityOffensively" type="Ability" id="2C1A1A116E515F7B">
    <property name="Ability" valueSource="literal" value="StukovWeightedPustule" />
    <property name="TargetPoint" valueSource="variable" value="WeightedPustuleTargetPosition" />
  </node>
  <node name="WeightedPustuleSetAbilityRangeTalent" type="SetNumber" id="223D11136B545377">
    <property name="Variable" value="WeightedPustuleRange" />
    <property name="Value" valueSource="literal" value="19.5" />
  </node>
  <node name="WeightedPustuleSetAbilityRange" type="SetNumber" id="436911131F3A361B">
    <property name="Variable" value="WeightedPustuleRange" />
    <property name="Value" valueSource="literal" value="11.5" />
  </node>
  <node name="WeightedPustuleHasLongPitchTalent" type="Validator" id="2B351312283E0066">
    <property name="Target" valueSource="intrinsic" value="Self" />
    <property name="Validator" valueSource="literal" value="StukovHasLongPitchTalent" />
    <insertChild id="223D11136B545377" />
  </node>
  <node name="WeightedPustuleRangeSelection" type="Or" id="536C7D2019140A05">
    <insertChild id="2B351312283E0066" />
    <insertChild id="436911131F3A361B" />
  </node>
  <node name="WeightedPustule" type="And" id="426E7D021930031D">
    <variable name="WeightedPustuleTarget" type="Unit" />
    <variable name="WeightedPustuleTargetPosition" type="Point" />
    <variable name="WeightedPustuleRange" type="Number" />
    <insertChild id="536C7D2019140A05" />
    <insertChild id="47676A7C477E7E1A" />
  </node>
  <node name="LurkingArmInDanger" type="IsInDanger" id="26090F2D053B6A5B" comment="Check if we are in danger" />
  <node name="LurkingArmNotInDanger" type="Not" id="0509276F615B765F">
    <insertChild id="26090F2D053B6A5B" />
  </node>
  <node name="LurkingArmHaveTargetsInAoE" type="Or" id="615D426C7E5F3A23">
    <insertChild id="113C0F0262625561" />
    <insertChild id="1232001C1F123A50" />
  </node>
  <node name="LurkingArmSelfIsHealthy" type="LifeFraction" id="3257607162407D76">
    <property name="Target" valueSource="intrinsic" value="Self" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="LifeFraction" valueSource="literal" value="0.2" />
  </node>
  <node name="LurkingArmHaveTargetsInAoENonMapBoss" type="UnitCount" id="113C0F0262625561">
    <property name="TargetTypes" valueSource="literal" value="Enemy,Creep,Minion,Merc,Heroic,MapCreature" />
    <property name="MaxTargetDistance" valueSource="literal" value="2.5" />
    <property name="SearchCenter" valueSource="variable" value="LurkingArmTargetPosition" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="TargetCount" valueSource="literal" value="2" />
  </node>
  <node name="LurkingArmHaveTargetsInAoEMapBoss" type="UnitCount" id="1232001C1F123A50">
    <property name="TargetTypes" valueSource="literal" value="Enemy,Creep,MapBoss" />
    <property name="MaxTargetDistance" valueSource="literal" value="2.5" />
    <property name="SearchCenter" valueSource="variable" value="LurkingArmTargetPosition" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <property name="TargetCount" valueSource="literal" value="1" />
  </node>
  <node name="LurkingArmUseAbilityOffensively" type="Ability" id="4D1A2526173A023C">
    <property name="Ability" valueSource="literal" value="StukovLurkingArm" />
    <property name="TargetPoint" valueSource="variable" value="LurkingArmTargetPosition" />
  </node>
  <node name="LurkingArmCancelAbility" type="Ability" id="2D7B796E66587A7F">
    <property name="Ability" valueSource="literal" value="StukovLurkingArmCancel" />
    <property name="DoNotThrottle" valueSource="literal" value="true" />
  </node>
  <node name="LurkingArmFindBestHeroicTarget" type="FindBestTarget" id="474C1110000E0D19">
    <property name="TargetTypes" valueSource="literal" value="Enemy,Heroic" />
    <property name="MaxTargetDistance" valueSource="variable" value="LurkingArmRange" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.5" />
    <property name="LifeFractionFactor" valueSource="literal" value="1" />
    <property name="PredictionSeconds" valueSource="literal" value="0.5" />
    <property name="OutputTarget" value="LurkingArmTarget" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
    <insertChild id="150E1568765E5642" />
  </node>
  <node name="LurkingArmGetBestHeroicTargetPosition" type="UnitPosition" id="150E1568765E5642">
    <property name="InputUnit" valueSource="variable" value="LurkingArmTarget" />
    <property name="PredictionSeconds" valueSource="literal" value="0.5" />
    <property name="OutputPosition" value="LurkingArmTargetPosition" />
  </node>
  <node name="LurkingArmFindBestAOEPointHeroic" type="FindBestAOEPoint" id="2E233530283D1823">
    <property name="TargetTypes" valueSource="literal" value="Enemy,Heroic" />
    <property name="MaxTargetDistance" valueSource="variable" value="LurkingArmRange" />
    <property name="AOERadius" valueSource="literal" value="3.5" />
    <property name="PredictionSeconds" valueSource="literal" value="0.5" />
    <property name="MinTargets" valueSource="literal" value="3" />
    <property name="OutputTarget" value="LurkingArmTargetPosition" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
  </node>
  <node name="LurkingArmFindBestAOEPointNonHeroic" type="FindBestAOEPoint" id="3F2F122C2258714C">
    <property name="TargetTypes" valueSource="literal" value="Enemy,Creep,Minion,Merc,MapBoss,MapCreature" />
    <property name="ExcludeTypes" valueSource="literal" value="Missile,Stasis,Dead,Invulnerable,Benign" />
    <property name="MaxTargetDistance" valueSource="variable" value="LurkingArmRange" />
    <property name="AOERadius" valueSource="literal" value="3.5" />
    <property name="PredictionSeconds" valueSource="literal" value="0.5" />
    <property name="MinTargets" valueSource="literal" value="4" />
    <property name="OutputTarget" value="LurkingArmTargetPosition" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
  </node>
  <node name="LurkingArmFindBestAOEPointBoss" type="FindBestAOEPoint" id="4D4A293122371823">
    <property name="TargetTypes" valueSource="literal" value="Enemy,Creep,MapBoss" />
    <property name="ExcludeTypes" valueSource="literal" value="Missile,Stasis,Dead,Invulnerable,Benign" />
    <property name="MaxTargetDistance" valueSource="variable" value="LurkingArmRange" />
    <property name="AOERadius" valueSource="literal" value="3.5" />
    <property name="PredictionSeconds" valueSource="literal" value="0.5" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="OutputTarget" value="LurkingArmTargetPosition" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
  </node>
  <node name="Continue channel?" type="And" id="25677E686D40707D">
    <insertChild id="0509276F615B765F" />
    <insertChild id="615D426C7E5F3A23" />
    <insertChild id="3257607162407D76" />
  </node>
  <node name="LurkingArmChannelAbility" type="IfElse" id="5D7D69646A535952">
    <insertChild id="25677E686D40707D" />
    <insertChild id="4D1A2526173A023C" />
    <insertChild id="2D7B796E66587A7F" />
  </node>
  <node name="LurkingArmFindBestAOEPoint" type="Or" id="4D4A5A424D751823">
    <insertChild id="474C1110000E0D19" />
    <insertChild id="2E233530283D1823" />
    <insertChild id="3F2F122C2258714C" />
    <insertChild id="4D4A293122371823" />
  </node>
  <node name="LurkingArmSetAbilityRangeTalent" type="SetNumber" id="4F1F202A1B342537">
    <property name="Variable" value="LurkingArmRange" />
    <property name="Value" valueSource="literal" value="15" />
  </node>
  <node name="LurkingArmSetAbilityRange" type="SetNumber" id="4F6B4E4F77557137">
    <property name="Variable" value="LurkingArmRange" />
    <property name="Value" valueSource="literal" value="10" />
  </node>
  <node name="LurkingArmHasWithinMyReachTalent" type="Validator" id="20050E0F26001935">
    <property name="Target" valueSource="intrinsic" value="Self" />
    <property name="Validator" valueSource="literal" value="StukovHasWithinMyReachTalent" />
    <insertChild id="4F1F202A1B342537" />
  </node>
  <node name="LurkingArmRangeSelection" type="Or" id="7C6D60736945745B">
    <insertChild id="20050E0F26001935" />
    <insertChild id="4F6B4E4F77557137" />
  </node>
  <node name="LurkingArm" type="Sequence" id="0659485A7C76784C">
    <variable name="LurkingArmTarget" type="Unit" />
    <variable name="LurkingArmTargetPosition" type="Point" />
    <variable name="LurkingArmRange" type="Number" />
    <insertChild id="7C6D60736945745B" />
    <insertChild id="4D4A5A424D751823" />
    <insertChild id="5D7D69646A535952" />
  </node>
  <node name="FlailingSwipe" type="AbilityUsable" id="D58EA6913DD4340F" comment="This Node is the start of the branch. It check that the ability is actually usable before doing any logic for it.">
    <property name="Ability" valueSource="literal" value="StukovFlailingSwipe" />
    <insertChild id="BDDC9E94AF837C04" />
  </node>
  <node name="Base Node" type="And" id="BDDC9E94AF837C04" comment="This Node links targeting Logic, ability use and talent modifications">
    <variable name="AbilityRange" type="Number" valueSource="lookup" value="Effect,StukovFlailingSwipeTargetSearchEnd1,AreaArray[0].Radius" comment="Range of the Ability" />
    <variable name="AbilityArc" type="Number" value="180" />
    <variable name="AbilityTargetPoint" type="Point" />
    <variable name="AbilityDamage" type="Number" valueSource="lookup" value="Effect,StukovFlailingSwipeDamage,Amount" />
    <variable name="Ally To Save" type="Unit" />
    <insertChild id="6596BD8252E6F8EE" />
    <insertChild id="CD635102984C6E8E" />
    <insertChild id="7EDDA68C9C03AEA0" />
  </node>
  <node name="Use Ability" type="Ability" id="7EDDA68C9C03AEA0">
    <property name="Ability" valueSource="literal" value="StukovFlailingSwipe" />
    <property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
  </node>
  <node name="Use Conditions" type="Or" id="6596BD8252E6F8EE">
    <insertChild id="651AD60B02D14C1E" />
    <insertChild id="7DF793669EAD6D04" />
    <insertChild id="B12D827E70606C3B" />
    <insertChild id="4814BDB14DFF9F28" />
  </node>
  <node name="1 Ally" type="CompareNumber" id="651AD60B02D14C1E">
    <property name="LeftHandSide" valueSource="variable" value="Ally Hero Count" />
    <property name="RightHandSide" valueSource="literal" value="1" />
    <insertChild id="9C5BF8C4BC5D5F9D" />
  </node>
  <node name="2 Ally" type="CompareNumber" id="7DF793669EAD6D04">
    <property name="LeftHandSide" valueSource="variable" value="Ally Hero Count" />
    <property name="RightHandSide" valueSource="literal" value="2" />
    <insertChild id="6B8A0877BDA4F865" />
  </node>
  <node name="3 Ally" type="CompareNumber" id="B12D827E70606C3B">
    <property name="LeftHandSide" valueSource="variable" value="Ally Hero Count" />
    <property name="RightHandSide" valueSource="literal" value="1" />
    <insertChild id="5BA4862BD1ACFB39" />
  </node>
  <node name="&gt;3 Enemy" type="CompareNumber" id="9C5BF8C4BC5D5F9D">
    <property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
    <property name="RightHandSide" valueSource="literal" value="3" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <insertChild id="DAFC71BA3D9A45B5" />
  </node>
  <node name="&gt;4 Enemy" type="CompareNumber" id="6B8A0877BDA4F865">
    <property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
    <property name="RightHandSide" valueSource="literal" value="4" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <insertChild id="41D2CC4BF5B78F75" />
  </node>
  <node name="&gt;5 Enemy" type="CompareNumber" id="5BA4862BD1ACFB39">
    <property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
    <property name="RightHandSide" valueSource="literal" value="5" />
    <property name="Comparison" valueSource="literal" value="GE" />
    <insertChild id="76F9A457FEF3F2D7" />
  </node>
  <node name="2 Heroes" type="FindBestArc" id="DAFC71BA3D9A45B5">
    <property name="OutputTarget" value="AbilityTargetPoint" />
    <property name="ArcAngle" valueSource="variable" value="AbilityArc" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="TargetCount" valueSource="literal" value="2" />
  </node>
  <node name="2 Heroes" type="FindBestArc" id="41D2CC4BF5B78F75">
    <property name="OutputTarget" value="AbilityTargetPoint" />
    <property name="ArcAngle" valueSource="variable" value="AbilityArc" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="TargetCount" valueSource="literal" value="2" />
  </node>
  <node name="3 Heroes" type="FindBestArc" id="76F9A457FEF3F2D7">
    <property name="OutputTarget" value="AbilityTargetPoint" />
    <property name="ArcAngle" valueSource="variable" value="AbilityArc" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="TargetCount" valueSource="literal" value="2" />
  </node>
  <node name="Enemy Hero Nearby" type="FindBestArc" id="07DE7C5D5947C23A">
    <property name="OutputTarget" value="AbilityTargetPoint" />
    <property name="ArcAngle" valueSource="variable" value="AbilityArc" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="TargetTypes" valueSource="literal" value="Enemy" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="PreferredPoint" valueSource="variable" value="Ally To Save" />
    <property name="PreferredPointFactor" valueSource="literal" value="10" />
  </node>
  <node name="Hurt Ally To Save" type="FindBestTarget" id="4814BDB14DFF9F28">
    <property name="OutputTarget" value="Ally To Save" />
    <property name="TargetTypes" valueSource="literal" value="Self,Player,Ally" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.2" />
    <property name="LifeFractionFactor" valueSource="literal" value="10" />
    <insertChild id="07DE7C5D5947C23A" />
  </node>
  <node name="Massive Shove" type="AbilityUsable" id="5B9375B14EB7618B" comment="This Node is the start of the branch. It check that the ability is actually usable before doing any logic for it.">
    <property name="Ability" valueSource="literal" value="StukovMassiveShove" />
    <insertChild id="E05152D0FCEC2D9F" />
  </node>
  <node name="Base Node" type="And" id="E05152D0FCEC2D9F" comment="This Node links targeting Logic, ability use and talent modifications">
    <variable name="AbilityRange" type="Number" valueSource="lookup" value="Effect,StukovMassiveShoveLaunchMissile,ImpactLocation.ProjectionDistanceScale" comment="Range of the Ability" />
    <variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
    <variable name="AbilityMissileRadius" type="Number" valueSource="lookup" value="Effect,StukovMassiveShoveMissileScan,AreaArray[0].RectangleWidth" comment="Width of the Ability Searches" />
    <variable name="AbilityMissilePierceCount" type="Number" comment="Number of Blockers this can go through" />
    <variable name="AbilityDamage" type="Number" valueSource="lookup" value="Effect,StukovMassiveShoveDamage,Amount" />
    <variable name="Ally To Save" type="Unit" />
    <insertChild id="CE809A8DECAF7A86" />
    <insertChild id="7EAE1E3C763899D4" />
    <insertChild id="7863F79B81FB49C5" />
  </node>
  <node name="Elite" type="Difficulty" id="29424DDD8FCA1438">
    <insertChild id="F65471ADE5819D29" />
  </node>
  <node name="" type="Or" id="F65471ADE5819D29">
    <insertChild id="6CB7E6091E80BD08" />
  </node>
  <node name="Fatal Damage" type="FilterLife" id="6CB7E6091E80BD08">
    <property name="MaxLife" valueSource="variable" value="AbilityDamage" />
    <insertChild id="FF11CF1342B2F8F9" />
  </node>
  <node name="Find 1 Hero" type="FindBestVector" id="FF11CF1342B2F8F9">
    <property name="TargetTypes" valueSource="literal" value="" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
    <property name="MissilePierceCount" valueSource="variable" value="AbilityMissilePierceCount" />
    <property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
    <property name="OutputEndPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
  </node>
  <node name="Use Ability" type="Ability" id="7863F79B81FB49C5">
    <property name="Ability" valueSource="literal" value="StukovMassiveShove" />
    <property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
  </node>
  <node name="Targeting" type="Or" id="CE809A8DECAF7A86">
    <insertChild id="29424DDD8FCA1438" />
    <insertChild id="87DAFB96E50A24BF" />
    <insertChild id="DB9FEDD96B64E202" />
  </node>
  <node name="Hurt Ally To Save" type="FindBestTarget" id="DB9FEDD96B64E202">
    <property name="OutputTarget" value="Ally To Save" />
    <property name="TargetTypes" valueSource="literal" value="Self,Player,Ally" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.2" />
    <property name="LifeFractionFactor" valueSource="literal" value="10" />
    <property name="ExcludeTypes" valueSource="literal" value="ImmuneToFriendlyAbilities,Missile,Stasis,Dead,Invulnerable,Benign" />
    <insertChild id="42BDFB61474BC7C3" />
  </node>
  <node name="Find 1 Hero" type="FindBestVector" id="42BDFB61474BC7C3">
    <property name="TargetTypes" valueSource="literal" value="" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
    <property name="MissilePierceCount" valueSource="variable" value="AbilityMissilePierceCount" />
    <property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
    <property name="OutputEndPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure,Heroic" />
  </node>
  <node name="Use Condition" type="Or" id="CD635102984C6E8E">
    <insertChild id="9581B352A2B7ED3A" />
    <insertChild id="989F14A9015905D3" />
  </node>
  <node name="Enemies &gt; Allies" type="CompareNumber" id="9581B352A2B7ED3A">
    <property name="Comparison" valueSource="literal" value="GT" />
    <property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
    <property name="RightHandSide" valueSource="variable" value="Ally Hero Count" />
  </node>
  <node name="Find 1 Hero" type="FindBestVector" id="87DAFB96E50A24BF">
    <property name="TargetTypes" valueSource="literal" value="" />
    <property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
    <property name="MissilePierceCount" valueSource="variable" value="AbilityMissilePierceCount" />
    <property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
    <property name="OutputEndPoint" value="AbilityTargetPoint" />
    <property name="MinTargets" valueSource="literal" value="1" />
    <property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
    <property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
    <property name="LifeFractionFactor" valueSource="literal" value="-10" />
  </node>
  <node name="Self,Ally &lt; 20%" type="UnitCount" id="989F14A9015905D3">
    <property name="TargetTypes" valueSource="literal" value="Self,Player,Ally" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.2" />
    <property name="TargetCount" valueSource="literal" value="1" />
  </node>
  <node name="Aggressive Biokillswitch" type="AbilityUsable" id="FFA2ACE3667D2DDA">
    <property name="Ability" valueSource="literal" value="StukovBioKillSwitch" />
    <insertChild id="FDF0CD53C4595550" />
  </node>
  <node name="Healing Biokill" type="AbilityUsable" id="D6E174C84AF5C647">
    <property name="Ability" valueSource="literal" value="StukovBioKillSwitch" />
    <insertChild id="425042555C6B0131" />
  </node>
  <node name="" type="And" id="FDF0CD53C4595550">
    <insertChild id="CDD7530243AADC55" />
    <insertChild id="0A5788AB853F9410" />
    <insertChild id="62664D04281B291B" />
  </node>
  <node name="" type="Or" id="CDD7530243AADC55">
    <insertChild id="586B6F755A6E313C" />
  </node>
  <node name="No one Needs Healing" type="UnitCount" id="0A5788AB853F9410">
    <property name="TargetTypes" valueSource="literal" value="Self,Ally,Heroic" />
    <property name="MaxTargetDistance" valueSource="literal" value="0" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.4" />
    <property name="SearchBehaviorTracker" valueSource="literal" value="AllHeroicUnitsTrackingBehavior" />
    <property name="Behavior" valueSource="literal" value="StukovHealingPathogenHealerBehavior" />
    <property name="BehaviorRequiredCaster" valueSource="intrinsic" value="Self" />
    <property name="Comparison" valueSource="literal" value="LT" />
    <property name="TargetCount" valueSource="literal" value="1" />
    <property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
    <property name="ExcludeTypes" valueSource="literal" value="ImmuneToFriendlyAbilities,Missile,Stasis,Dead,Invulnerable,Benign" />
  </node>
  <node name="Use Condition" type="Or" id="7EAE1E3C763899D4">
    <insertChild id="D31C9C3D8C9ACCA7" />
    <insertChild id="0E6B4775740FBF5D" />
  </node>
  <node name="Enemies &gt; Allies" type="CompareNumber" id="D31C9C3D8C9ACCA7">
    <property name="Comparison" valueSource="literal" value="GT" />
    <property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
    <property name="RightHandSide" valueSource="variable" value="Ally Hero Count" />
  </node>
  <node name="Self,Ally &lt; 20%" type="UnitCount" id="0E6B4775740FBF5D">
    <property name="TargetTypes" valueSource="literal" value="Self,Player,Ally" />
    <property name="RequiredTypes" valueSource="literal" value="Heroic" />
    <property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
    <property name="MaxLifeFraction" valueSource="literal" value="0.2" />
    <property name="TargetCount" valueSource="literal" value="1" />
  </node>
</tree>