<?xml version="1.0" encoding="us-ascii"?>
<tree>
<include file="AI/HeroMutator.aitree" />
<mod id="87811D772E337EB7">
<insertChild id="65E40FC4AED4B46E" />
<insertChild id="C8B52ACD07AA451E" />
<insertChild id="29874C04EC1759D5" />
<insertChild id="3B1B74D373FF9880" />
<insertChild id="773C7F57BDE4582F" />
<insertChild id="F6F84952AE1FA00B" />
<insertChild id="190FFF016BDB856E" />
<insertChild id="835DC501B8E2CD82" />
</mod>
<mod id="93D883AF1FB031B1">
<insertChild id="A4058AA255280C17" />
</mod>
<mod id="A4058AA255280C17">
<insertChild id="0881C1787E475695" />
</mod>
<node name="Parry" type="AbilityUsable" id="0881C1787E475695">
<property name="Ability" valueSource="literal" value="VarianParry" />
<insertChild id="AB16959166F08A6D" />
</node>
<node name="Parry" type="And" id="AB16959166F08A6D">
<insertChild id="870AB5933E963A8F" />
<insertChild id="5887E22635F468AE" />
</node>
<node name="Use Cases" type="Or" id="870AB5933E963A8F">
<insertChild id="AA9C0CBD5B75DF37" />
<insertChild id="8BAFAF19F26B01E0" />
</node>
<node name="Targeted by Tower" type="UnitHasBehavior" id="AA9C0CBD5B75DF37">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="TowerTargetingMarker" />
</node>
<node name="Combat Situations" type="And" id="8BAFAF19F26B01E0">
<insertChild id="A81AF06E190A83A6" />
<insertChild id="323601DF805F43D8" />
</node>
<node name="In Combat" type="Validator" id="A81AF06E190A83A6">
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Validator" valueSource="literal" value="CasterInCombat" />
</node>
<node name="" type="Or" id="3137F76BA1473172">
<insertChild id="CDEED6937F2EE31E" />
<insertChild id="17C82E77D2D6C2E1" />
<insertChild id="EF87EBEB3D220B0C" />
</node>
<node name="<90% Health" type="LifeFraction" id="CDEED6937F2EE31E">
<property name="Comparison" valueSource="literal" value="LE" />
<property name="LifeFraction" valueSource="literal" value="0.9" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="7EAE750CBF39AB93" />
</node>
<node name="1 Enemy Heroes" type="UnitCount" id="7EAE750CBF39AB93">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
</node>
<node name="Parry" type="AbilityEnqueue" id="5887E22635F468AE">
<property name="Ability" valueSource="literal" value="VarianParry" />
</node>
<node name="Lion Fang" type="AbilityUsable" id="65E40FC4AED4B46E" 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="VarianLionsFang" />
<insertChild id="DD25539BC3D0DB7A" />
</node>
<node name="Base Node" type="And" id="DD25539BC3D0DB7A" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" value="10" comment="Range of the Ability" />
<variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
<variable name="AbilityMissileRadius" type="Number" value="0.4375" comment="Width of the Ability Searches" />
<variable name="AbilityMissilePierceCount" type="Number" comment="Number of Blockers this can go through" />
<variable name="AbilityHighManaThreshHold" type="Number" value="0.75" comment="High Mana ThreshHold" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.4" comment="Low Mana ThreshHold" />
<variable name="AllyToSave" type="Unit" />
<variable name="EnemyAttackingAlly" type="Unit" />
<variable name="AbilityCastTime" type="Number" valueSource="lookup" value="Abil,VarianLionsFang,CastIntroTime" />
<variable name="AbilityMissileSpeed" type="Number" />
<insertChild id="C7D493C15798158D" />
<insertChild id="E5490D2F27FDDDF3" />
</node>
<node name="Targeting Selecting Node" type="Or" id="C7D493C15798158D">
<insertChild id="C49282F7B908A00F" />
<insertChild id="69D173DA0CA79410" />
<insertChild id="CB10392505DAC04D" />
<insertChild id="E161BC58430A6FF2" />
<insertChild id="93F3A5A5786DF2D5" />
<insertChild id="6AC3DEA7D4B34E71" />
</node>
<node name="Self > 75%" type="EnergyFraction" id="CB10392505DAC04D">
<property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="AB44FD94FD7FE4FA" />
</node>
<node name="High Mana Targeting" type="Or" id="AB44FD94FD7FE4FA">
<insertChild id="6736B4A03BBDF13D" />
<insertChild id="58B224B1374F2746" />
</node>
<node name="Find 1 Hero" type="FindBestVector" id="6736B4A03BBDF13D">
<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="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
</node>
<node name="Find 3 Minions/Mercs" type="FindBestVector" id="58B224B1374F2746">
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,MapCreature" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissilePierceCount" valueSource="variable" value="AbilityMissilePierceCount" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="3" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
</node>
<node name="Self > 40%" type="EnergyFraction" id="E161BC58430A6FF2">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="F6BAEEC7B1FFA6B6" />
</node>
<node name="Medium Mana Targeting" type="Or" id="F6BAEEC7B1FFA6B6">
<insertChild id="726FB987944B65C8" />
<insertChild id="63C5C3AE17FD02A9" />
<insertChild id="54F984A7CB9A21C0" />
<insertChild id="25F2140F90FFCB73" />
<insertChild id="BA9021389DCA579D" />
<insertChild id="B1435A7D921C5FFA" />
</node>
<node name="Find 2 Heroes" type="FindBestVector" id="25F2140F90FFCB73">
<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="2" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
</node>
<node name="Find 4 Minions/Mercs" type="FindBestVector" id="BA9021389DCA579D">
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,MapCreature" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissilePierceCount" valueSource="variable" value="AbilityMissilePierceCount" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="4" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
</node>
<node name="Self < 40%" type="EnergyFraction" id="93F3A5A5786DF2D5">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="F1007FB96EF8BCC0" />
</node>
<node name="Low Mana Targeting" type="Or" id="F1007FB96EF8BCC0">
<insertChild id="BCE1A5758EB0B93A" />
<insertChild id="088FA8E64133CFDB" />
<insertChild id="F7CC5F1D9622D377" />
<insertChild id="48460D478673ABE7" />
</node>
<node name="Find 2 Heroes Under 50% Health" type="FindBestVector" id="F7CC5F1D9622D377">
<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="2" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MaxLifeFraction" valueSource="literal" value="0.5" />
<property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
</node>
<node name="Find 6 Minions/Mercs" type="FindBestVector" id="48460D478673ABE7">
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,MapCreature" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissilePierceCount" valueSource="variable" value="AbilityMissilePierceCount" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="6" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
</node>
<node name="Use Ability" type="Ability" id="E5490D2F27FDDDF3">
<property name="Ability" valueSource="literal" value="VarianLionsFang" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="Charge" type="AbilityUsable" id="C8B52ACD07AA451E" 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="VarianCharge" />
<insertChild id="414D81879A61377D" />
</node>
<node name="Base Node" type="And" id="414D81879A61377D" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" valueSource="lookup" value="Abil,VarianCharge,Range" comment="Range of the Ability" />
<variable name="AbilityTargetUnit" type="Unit" comment="Target to Use Ability on" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.4" comment="Low Mana Threshhold" />
<variable name="AbilityHighManaThreshHold" type="Number" value="0.75" comment="High Mana Threshhold" />
<variable name="ChargeTargettoAvoid" type="Unit" />
<variable name="ChargeDistanceToEnemy" type="Number" />
<variable name="ChargeDistanceToEscapeEnemy" type="Number" />
<variable name="AllyToSave" type="Unit" />
<variable name="EnemyAttackingAlly" type="Unit" />
<insertChild id="1A98F5663A98187D" />
<insertChild id="60C8C3751A40D650" />
</node>
<node name="Targeting Selecting Node" type="Or" id="1A98F5663A98187D">
<insertChild id="4134F11358A4CDD0" />
<insertChild id="36BBFCC8B621BF36" />
<insertChild id="72FA6DDDF47DCA43" />
<insertChild id="0D14E05B2E9E1082" />
<insertChild id="49D9D34AE47EC0F6" />
<insertChild id="78B7CA266E5DDA97" />
<insertChild id="01A6F49A80A79A8B" />
</node>
<node name="Self > 75%" type="EnergyFraction" id="0D14E05B2E9E1082">
<property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="A277C8C83331847C" />
</node>
<node name="High Mana Targeting" type="Or" id="A277C8C83331847C">
<insertChild id="E03E54D90852DE23" />
</node>
<node name="Find Hurt Target" type="FindBestTarget" id="E03E54D90852DE23">
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="MaxLifeFraction" valueSource="literal" value="0.9" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
</node>
<node name="Self > 40%" type="EnergyFraction" id="49D9D34AE47EC0F6">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="58EAF9FAA9592053" />
</node>
<node name="Medium Mana Targeting" type="Or" id="58EAF9FAA9592053">
<insertChild id="92C9130897F11FF8" />
<insertChild id="87B91FCC17D5A2BC" />
<insertChild id="7256B72866D5DBC1" />
</node>
<node name="Find Half Health Target" type="FindBestTarget" id="92C9130897F11FF8">
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="MaxLifeFraction" valueSource="literal" value="0.5" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
</node>
<node name="Find Hurt Target" type="FindBestTarget" id="87B91FCC17D5A2BC">
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="Merc,MapBoss,MapCreature" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
</node>
<node name="Self < 40%" type="EnergyFraction" id="78B7CA266E5DDA97">
<property name="EnergyFraction" valueSource="literal" value="0.4" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="3C8373DCB537C69C" />
</node>
<node name="Low Mana Targeting" type="Or" id="3C8373DCB537C69C">
<insertChild id="F777DF26E21C2360" />
</node>
<node name="Find Critical Target" type="FindBestTarget" id="F777DF26E21C2360">
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="MaxLifeFraction" valueSource="literal" value="0.25" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
</node>
<node name="Use Ability" type="Ability" id="60C8C3751A40D650">
<property name="Ability" valueSource="literal" value="VarianCharge" />
<property name="TargetUnit" valueSource="variable" value="AbilityTargetUnit" />
</node>
<node name="Escape Logic" type="LifeFraction" id="36BBFCC8B621BF36">
<property name="LifeFraction" valueSource="variable" value="Health_EndOffensive" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="EAE0A6416C00E7CD" />
</node>
<node name="Enemy Nearby" type="FindBestTarget" id="EAE0A6416C00E7CD">
<property name="OutputTarget" value="ChargeTargettoAvoid" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="literal" value="10" />
<property name="LifeFractionFactor" valueSource="literal" value="0" />
<property name="DistanceFactor" valueSource="literal" value="10" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
<insertChild id="458A7C3C25685783" />
</node>
<node name="Jump to Safest Target" type="FindBestTarget" id="458A7C3C25685783">
<property name="PreferredPoint" valueSource="intrinsic" value="SafePos" />
<property name="PreferredPointFactor" valueSource="literal" value="5" />
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="TargetTypes" valueSource="literal" value="Creep,Tower,Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
<insertChild id="AF869F4959D8EE97" />
</node>
<node name="Current Distance to Enemy" type="UnitDistance" id="AF869F4959D8EE97">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Point" valueSource="variable" value="ChargeTargettoAvoid" />
<property name="MinRange" valueSource="literal" value="25" />
<property name="MaxRange" valueSource="literal" value="25" />
<property name="OutputDistance" value="ChargeDistanceToEnemy" />
<insertChild id="3C133747CBD7BEEB" />
</node>
<node name="Charge Target to Enemy" type="UnitDistance" id="3C133747CBD7BEEB">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Point" valueSource="variable" value="AbilityTargetUnit" />
<property name="MinRange" valueSource="literal" value="25" />
<property name="MaxRange" valueSource="literal" value="25" />
<property name="OutputDistance" value="ChargeDistanceToEscapeEnemy" />
<insertChild id="87396170BBFD08DE" />
</node>
<node name="Target is farther" type="CompareNumber" id="87396170BBFD08DE">
<property name="LeftHandSide" valueSource="variable" value="ChargeDistanceToEscapeEnemy" />
<property name="RightHandSide" valueSource="variable" value="ChargeDistanceToEnemy" />
<property name="Comparison" valueSource="literal" value="GT" />
</node>
<node name="Find 2 Heroes" type="FindBestVector" id="4487DCB65EA9F5BB">
<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="2" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
</node>
<node name="Lions Maw" type="UnitHasTalent" id="69D173DA0CA79410">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Talent" valueSource="literal" value="VarianLionsFangLionsMawQuest" />
<insertChild id="51CCEC5665F48373" />
</node>
<node name="Not Complete" type="UnitHasBehavior" id="51CCEC5665F48373">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="VarianLionsFangLionsMawQuestToken" />
<property name="StackComparison" valueSource="literal" value="LT" />
<property name="StackCount" valueSource="literal" value="30" />
<insertChild id="4487DCB65EA9F5BB" />
</node>
<node name="Taunt" type="AbilityUsable" id="29874C04EC1759D5" 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="VarianTaunt" />
<insertChild id="68B4BA8B1BF66271" />
</node>
<node name="Base Node" type="And" id="68B4BA8B1BF66271" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" valueSource="lookup" value="Abil,VarianTaunt,Range" comment="Range of the Ability" />
<variable name="AbilityTargetUnit" type="Unit" comment="Target to Use Ability on" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.4" comment="Low Mana Threshhold" />
<variable name="AbilityHighManaThreshHold" type="Number" value="0.75" comment="High Mana Threshhold" />
<variable name="ChargeTargettoAvoid" type="Unit" />
<variable name="ChargeDistanceToEnemy" type="Number" />
<variable name="ChargeDistanceToEscapeEnemy" type="Number" />
<insertChild id="3471C33B11D9448A" />
<insertChild id="9F947776BBCD00FF" />
</node>
<node name="Targeting Selecting Node" type="Or" id="3471C33B11D9448A">
<insertChild id="44667020D5A73605" />
<insertChild id="406844F71A33A450" />
<insertChild id="4E0DC6163633E95C" />
</node>
<node name="Self > 75%" type="EnergyFraction" id="44667020D5A73605">
<property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="D088A441E687AC1E" />
</node>
<node name="High Mana Targeting" type="Or" id="D088A441E687AC1E">
<insertChild id="19DD00EBB7BC29E4" />
</node>
<node name="Find Hurt Target" type="FindBestTarget" id="19DD00EBB7BC29E4">
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="MaxLifeFraction" valueSource="literal" value="0.5" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
</node>
<node name="Self > 40%" type="EnergyFraction" id="406844F71A33A450">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="C7BA7870986EEE1A" />
</node>
<node name="Medium Mana Targeting" type="Or" id="C7BA7870986EEE1A">
<insertChild id="1BE96C4351A3CFC4" />
</node>
<node name="Find Half Health Target" type="FindBestTarget" id="1BE96C4351A3CFC4">
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="MaxLifeFraction" valueSource="literal" value="0.4" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
</node>
<node name="Self < 40%" type="EnergyFraction" id="4E0DC6163633E95C">
<property name="EnergyFraction" valueSource="literal" value="0.4" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="D5CFA9D0FDB7B805" />
</node>
<node name="Low Mana Targeting" type="Or" id="D5CFA9D0FDB7B805">
<insertChild id="22DA2B91B52D41C6" />
</node>
<node name="Find Critical Target" type="FindBestTarget" id="22DA2B91B52D41C6">
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="MaxLifeFraction" valueSource="literal" value="0.25" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
</node>
<node name="Use Ability" type="Ability" id="9F947776BBCD00FF">
<property name="Ability" valueSource="literal" value="VarianTaunt" />
<property name="TargetUnit" valueSource="variable" value="AbilityTargetUnit" />
</node>
<node name="Colossus Smash" type="AbilityUsable" id="3B1B74D373FF9880" 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="VarianColossusSmash" />
<insertChild id="1677BF0639032177" />
</node>
<node name="Base Node" type="And" id="1677BF0639032177" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" valueSource="lookup" value="Abil,VarianColossusSmash,Range" comment="Range of the Ability" />
<variable name="AbilityTargetUnit" type="Unit" comment="Target to Use Ability on" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.4" comment="Low Mana Threshhold" />
<variable name="AbilityHighManaThreshHold" type="Number" value="0.75" comment="High Mana Threshhold" />
<variable name="ChargeTargettoAvoid" type="Unit" />
<variable name="ChargeDistanceToEnemy" type="Number" />
<variable name="ChargeDistanceToEscapeEnemy" type="Number" />
<insertChild id="56ABA8DAF15D5C16" />
<insertChild id="9E98282024AEB875" />
</node>
<node name="Targeting Selecting Node" type="Or" id="56ABA8DAF15D5C16">
<insertChild id="B260638F9A52D130" />
<insertChild id="C8B58D3F88293C1B" />
<insertChild id="2CD21F0606C8F6F6" />
</node>
<node name="Self > 75%" type="EnergyFraction" id="B260638F9A52D130">
<property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="1F483A9DCBF30B48" />
</node>
<node name="High Mana Targeting" type="Or" id="1F483A9DCBF30B48">
<insertChild id="346E52E0E88CE162" />
</node>
<node name="Find Hurt Target" type="FindBestTarget" id="346E52E0E88CE162">
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="MaxLifeFraction" valueSource="literal" value="0.5" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
</node>
<node name="Self > 40%" type="EnergyFraction" id="C8B58D3F88293C1B">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="AB6258A0BD3BAB49" />
</node>
<node name="Medium Mana Targeting" type="Or" id="AB6258A0BD3BAB49">
<insertChild id="6C97E07FA1C8ACCA" />
</node>
<node name="Find Half Health Target" type="FindBestTarget" id="6C97E07FA1C8ACCA">
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="MaxLifeFraction" valueSource="literal" value="0.4" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
</node>
<node name="Self < 40%" type="EnergyFraction" id="2CD21F0606C8F6F6">
<property name="EnergyFraction" valueSource="literal" value="0.4" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="0684CBCB76B3D3E9" />
</node>
<node name="Low Mana Targeting" type="Or" id="0684CBCB76B3D3E9">
<insertChild id="8D728D6F4C56B88B" />
</node>
<node name="Find Critical Target" type="FindBestTarget" id="8D728D6F4C56B88B">
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="MaxLifeFraction" valueSource="literal" value="0.25" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
</node>
<node name="Use Ability" type="Ability" id="9E98282024AEB875">
<property name="Ability" valueSource="literal" value="VarianColossusSmash" />
<property name="TargetUnit" valueSource="variable" value="AbilityTargetUnit" />
</node>
<node name="Shattering Throw" type="AbilityUsable" id="773C7F57BDE4582F" 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="VarianShatteringThrow" />
<insertChild id="54BC409F236A24B9" />
</node>
<node name="Base Node" type="And" id="54BC409F236A24B9" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" valueSource="lookup" value="Abil,VarianColossusSmash,Range" comment="Range of the Ability" />
<variable name="AbilityTargetUnit" type="Unit" comment="Target to Use Ability on" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.4" comment="Low Mana Threshhold" />
<variable name="AbilityHighManaThreshHold" type="Number" value="0.75" comment="High Mana Threshhold" />
<variable name="ChargeTargettoAvoid" type="Unit" />
<variable name="ChargeDistanceToEnemy" type="Number" />
<variable name="ChargeDistanceToEscapeEnemy" type="Number" />
<insertChild id="25FDBAEE454E783E" />
<insertChild id="92F827915F35E105" />
</node>
<node name="Targeting Selecting Node" type="Or" id="25FDBAEE454E783E">
<insertChild id="9F80014F8A3B69AF" />
</node>
<node name="Find Hurt Target" type="FindBestTarget" id="9F80014F8A3B69AF">
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="MaxLifeFraction" valueSource="literal" value="0.5" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<insertChild id="52F6C1EB88F572D4" />
</node>
<node name="Use Ability" type="Ability" id="92F827915F35E105">
<property name="Ability" valueSource="literal" value="VarianShatteringThrow" />
<property name="TargetUnit" valueSource="variable" value="AbilityTargetUnit" />
</node>
<node name="Has Shields" type="Validator" id="52F6C1EB88F572D4">
<property name="Validator" valueSource="literal" value="HasAnyShieldMechanics" />
<property name="Target" valueSource="variable" value="AbilityTargetUnit" />
</node>
<node name="Stormwind Banner" type="AbilityUsable" id="F6F84952AE1FA00B" 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="VarianBannerOfStormwind" />
<insertChild id="0D232D85780B790B" />
</node>
<node name="Base Node" type="And" id="0D232D85780B790B" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" valueSource="lookup" value="Abil,VarianBannerOfStormwind,Range" comment="Range of the Ability" />
<variable name="AbilityMissileRadius" type="Number" comment="Width of the Searches" />
<variable name="AbilityMissilePierceCount" type="Number" comment="Number of Blockers this can go through" />
<variable name="AbilityAOERadius" type="Number" valueSource="lookup" value="Effect,VarianBannerOfStormwindSearch,AreaArray[0].Radius" comment="Radius of the Search" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.4" comment="Low Threshhold for Casting" />
<variable name="AbilityHighManaThreshHold" type="Number" value="0.75" comment="High threshhold for Casting" />
<variable name="AbilityTargetPoint" type="Point" comment="Point to use ability on" />
<insertChild id="1159D6B19B3243B1" />
<insertChild id="148D6C89590CC60A" />
</node>
<node name="Targeting Selecting Node" type="Or" id="1159D6B19B3243B1">
<insertChild id="3734DFF061E6E78F" />
<insertChild id="7839F8E3A41872FE" />
<insertChild id="DD30770D054AD3C5" />
<insertChild id="1615638F627B4E6F" />
</node>
<node name="Save an Ally" type="FindBestAOEPoint" id="3734DFF061E6E78F">
<property name="TargetTypes" valueSource="literal" value="Ally" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="MaxLifeFraction" valueSource="literal" value="0.25" />
<property name="PredictionSeconds" valueSource="literal" value="1" />
<insertChild id="DD794A9EAA891370" />
</node>
<node name="Use Ability" type="Ability" id="148D6C89590CC60A">
<property name="Ability" valueSource="literal" value="VarianBannerOfStormwind" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="Enemy close" type="UnitCount" id="DD794A9EAA891370">
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
</node>
<node name="Help Kill an Enemy" type="FindBestAOEPoint" id="7839F8E3A41872FE">
<property name="TargetTypes" valueSource="literal" value="Enemy" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="MaxLifeFraction" valueSource="literal" value="0.25" />
<property name="PredictionSeconds" valueSource="literal" value="1" />
<insertChild id="37892661844C1C26" />
</node>
<node name="Ally Close" type="UnitCount" id="37892661844C1C26">
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="TargetTypes" valueSource="literal" value="Self,Player,Ally" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="5" />
</node>
<node name="Ironforge Banner" type="AbilityUsable" id="190FFF016BDB856E" 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="VarianBannerOfIronforge" />
<insertChild id="28C01B46C40F6B71" />
</node>
<node name="Base Node" type="And" id="28C01B46C40F6B71" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" valueSource="lookup" value="Abil,VarianBannerOfIronforge,Range" comment="Range of the Ability" />
<variable name="AbilityMissileRadius" type="Number" comment="Width of the Searches" />
<variable name="AbilityMissilePierceCount" type="Number" comment="Number of Blockers this can go through" />
<variable name="AbilityAOERadius" type="Number" valueSource="lookup" value="Effect,VarianBannerOfIronforgeSearch,AreaArray[0].Radius" comment="Radius of the Search" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.4" comment="Low Threshhold for Casting" />
<variable name="AbilityHighManaThreshHold" type="Number" value="0.75" comment="High threshhold for Casting" />
<variable name="AbilityTargetPoint" type="Point" comment="Point to use ability on" />
<insertChild id="E8B3231B8C20B387" />
<insertChild id="DF55791E80AFFEAD" />
</node>
<node name="Use Ability" type="Ability" id="DF55791E80AFFEAD">
<property name="Ability" valueSource="literal" value="VarianBannerOfIronforge" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="2 ally" type="FindBestAOEPoint" id="DD30770D054AD3C5">
<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="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="literal" value="1" />
<insertChild id="F79D65214997173C" />
</node>
<node name="2 Enemy" type="UnitCount" id="F79D65214997173C">
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="2" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="MaxLifeFraction" valueSource="literal" value="0.75" />
</node>
<node name="2 Enemy" type="FindBestAOEPoint" id="1615638F627B4E6F">
<property name="TargetTypes" valueSource="literal" value="Enemy" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="literal" value="1" />
<insertChild id="212E0EEE7BB26EF3" />
</node>
<node name="2 Ally" type="UnitCount" id="212E0EEE7BB26EF3">
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="TargetTypes" valueSource="literal" value="Self,Player,Ally" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="TargetCount" valueSource="literal" value="2" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="MaxLifeFraction" valueSource="literal" value="0.75" />
</node>
<node name="Targeting Selecting Node" type="Or" id="E8B3231B8C20B387">
<insertChild id="609BEE62CFBD8370" />
<insertChild id="58851FFCB8BAB2F6" />
<insertChild id="CD3A59FCBC840E34" />
<insertChild id="D1E00D54F6AC487B" />
</node>
<node name="Save an Ally" type="FindBestAOEPoint" id="609BEE62CFBD8370">
<property name="TargetTypes" valueSource="literal" value="Ally" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="MaxLifeFraction" valueSource="literal" value="0.25" />
<property name="PredictionSeconds" valueSource="literal" value="1" />
<insertChild id="3FFE50CBEC3A4870" />
</node>
<node name="Enemy close" type="UnitCount" id="3FFE50CBEC3A4870">
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
</node>
<node name="Help Kill an Enemy" type="FindBestAOEPoint" id="58851FFCB8BAB2F6">
<property name="TargetTypes" valueSource="literal" value="Enemy" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="MaxLifeFraction" valueSource="literal" value="0.25" />
<property name="PredictionSeconds" valueSource="literal" value="1" />
<insertChild id="BAE8150E03E5AFB9" />
</node>
<node name="Ally Close" type="UnitCount" id="BAE8150E03E5AFB9">
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="TargetTypes" valueSource="literal" value="Self,Player,Ally" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="5" />
</node>
<node name="2 ally" type="FindBestAOEPoint" id="CD3A59FCBC840E34">
<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="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="literal" value="1" />
<insertChild id="F1272C929A58B6E8" />
</node>
<node name="2 Enemy" type="UnitCount" id="F1272C929A58B6E8">
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="2" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="MaxLifeFraction" valueSource="literal" value="0.75" />
</node>
<node name="2 Enemy" type="FindBestAOEPoint" id="D1E00D54F6AC487B">
<property name="TargetTypes" valueSource="literal" value="Enemy" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="literal" value="1" />
<insertChild id="46921E4CDBAA3611" />
</node>
<node name="2 Ally" type="UnitCount" id="46921E4CDBAA3611">
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="TargetTypes" valueSource="literal" value="Self,Player,Ally" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="TargetCount" valueSource="literal" value="2" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="MaxLifeFraction" valueSource="literal" value="0.75" />
</node>
<node name="Dalaran Banner" type="AbilityUsable" id="835DC501B8E2CD82" 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="VarianBannerOfDalaran" />
<insertChild id="DD2F887C0BAB826F" />
</node>
<node name="Base Node" type="And" id="DD2F887C0BAB826F" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" valueSource="lookup" value="Abil,VarianBannerOfDalaran,Range" comment="Range of the Ability" />
<variable name="AbilityMissileRadius" type="Number" comment="Width of the Searches" />
<variable name="AbilityMissilePierceCount" type="Number" comment="Number of Blockers this can go through" />
<variable name="AbilityAOERadius" type="Number" valueSource="lookup" value="Effect,VarianBannerOfDalaranSearch,AreaArray[0].Radius" comment="Radius of the Search" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.4" comment="Low Threshhold for Casting" />
<variable name="AbilityHighManaThreshHold" type="Number" value="0.75" comment="High threshhold for Casting" />
<variable name="AbilityTargetPoint" type="Point" comment="Point to use ability on" />
<insertChild id="050AF16057A70272" />
<insertChild id="B82B404CC364B7D6" />
</node>
<node name="Targeting Selecting Node" type="Or" id="050AF16057A70272">
<insertChild id="728E3D687ADE9A68" />
<insertChild id="D68D733FC8F8D1AD" />
<insertChild id="7E44D2FE26417DD5" />
<insertChild id="A059745536C37DB2" />
</node>
<node name="Save an Ally" type="FindBestAOEPoint" id="728E3D687ADE9A68">
<property name="TargetTypes" valueSource="literal" value="Ally" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="MaxLifeFraction" valueSource="literal" value="0.25" />
<property name="PredictionSeconds" valueSource="literal" value="1" />
<insertChild id="0BB368BF346735A8" />
</node>
<node name="Enemy close" type="UnitCount" id="0BB368BF346735A8">
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
</node>
<node name="Help Kill an Enemy" type="FindBestAOEPoint" id="D68D733FC8F8D1AD">
<property name="TargetTypes" valueSource="literal" value="Enemy" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="MaxLifeFraction" valueSource="literal" value="0.25" />
<property name="PredictionSeconds" valueSource="literal" value="1" />
<insertChild id="DDB014DC57E7E6A2" />
</node>
<node name="Ally Close" type="UnitCount" id="DDB014DC57E7E6A2">
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="TargetTypes" valueSource="literal" value="Self,Player,Ally" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="5" />
</node>
<node name="2 ally" type="FindBestAOEPoint" id="7E44D2FE26417DD5">
<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="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="literal" value="1" />
<insertChild id="0FA489EC7FDFEA84" />
</node>
<node name="2 Enemy" type="UnitCount" id="0FA489EC7FDFEA84">
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="2" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="MaxLifeFraction" valueSource="literal" value="0.75" />
</node>
<node name="2 Enemy" type="FindBestAOEPoint" id="A059745536C37DB2">
<property name="TargetTypes" valueSource="literal" value="Enemy" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AOERadius" valueSource="variable" value="AbilityAOERadius" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="PredictionSeconds" valueSource="literal" value="1" />
<insertChild id="021EE7E238043698" />
</node>
<node name="2 Ally" type="UnitCount" id="021EE7E238043698">
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="TargetTypes" valueSource="literal" value="Self,Player,Ally" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="TargetCount" valueSource="literal" value="2" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="MaxLifeFraction" valueSource="literal" value="0.75" />
</node>
<node name="Use Ability" type="Ability" id="B82B404CC364B7D6">
<property name="Ability" valueSource="literal" value="VarianBannerOfDalaran" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="" type="IfElse" id="323601DF805F43D8">
<insertChild id="DBBBB2569333E3DB" />
<insertChild id="3137F76BA1473172" />
<insertChild id="C7ACA26B09EBFE85" />
</node>
<node name="Fully Parry" type="Validator" id="DBBBB2569333E3DB">
<property name="Validator" valueSource="literal" value="VarianFullParryCharges" />
<property name="Target" valueSource="intrinsic" value="Self" />
</node>
<node name="" type="Or" id="C7ACA26B09EBFE85">
<insertChild id="DE48E60F38A38CD4" />
<insertChild id="9C34698E2188D8B2" />
<insertChild id="2D59EF3B2A4F8042" />
</node>
<node name="3 Enemy Heroes" type="UnitCount" id="DE48E60F38A38CD4">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="3" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
</node>
<node name="<90% Health" type="LifeFraction" id="9C34698E2188D8B2">
<property name="Comparison" valueSource="literal" value="LE" />
<property name="LifeFraction" valueSource="literal" value="0.9" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="8D69C85B8095F1F2" />
</node>
<node name="Two Enemy Heroes" type="UnitCount" id="8D69C85B8095F1F2">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="TargetCount" valueSource="literal" value="2" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
</node>
<node name="<75% Health" type="LifeFraction" id="2D59EF3B2A4F8042">
<property name="Comparison" valueSource="literal" value="LE" />
<property name="LifeFraction" valueSource="literal" value="0.75" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="7CA137141CD61680" />
</node>
<node name="Self Hurt" type="LifeFraction" id="63C5C3AE17FD02A9">
<property name="LifeFraction" valueSource="literal" value="0.6" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="2DFE4FF05A53082D" />
</node>
<node name="Find 1 Hero" type="FindBestVector" id="2DFE4FF05A53082D">
<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="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
</node>
<node name="Self Hurt" type="LifeFraction" id="088FA8E64133CFDB">
<property name="LifeFraction" valueSource="literal" value="0.3" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="31649C7861BB7446" />
</node>
<node name="Find 1 Hero" type="FindBestVector" id="31649C7861BB7446">
<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="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
</node>
<node name="Low HP Ally" type="FindBestTarget" id="FE179E9AC30A62BC">
<property name="TargetTypes" valueSource="literal" value="Self,Player,Ally" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="MaxLifeFraction" valueSource="literal" value="0.4" />
<property name="OutputTarget" value="AllyToSave" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
<insertChild id="995D30C9247B7B60" />
</node>
<node name="Nearby Enemy" type="FindBestTarget" id="995D30C9247B7B60">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="OutputTarget" value="EnemyAttackingAlly" />
<property name="SearchCenter" valueSource="variable" value="AllyToSave" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="DistanceFactor" valueSource="literal" value="5" />
<property name="ClipCenter" valueSource="intrinsic" value="Self" />
<property name="ClipRadius" valueSource="variable" value="AbilityRange" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
<insertChild id="51813FACA0EEC49D" />
</node>
<node name="" type="UnitPosition" id="51813FACA0EEC49D">
<property name="InputUnit" valueSource="variable" value="EnemyAttackingAlly" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
<property name="OutputPosition" value="AbilityTargetPoint" />
</node>
<node name="Low HP Ally" type="FindBestTarget" id="F82F845ADDE58F5B">
<property name="TargetTypes" valueSource="literal" value="Self,Player,Ally" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="MaxLifeFraction" valueSource="literal" value="0.4" />
<property name="OutputTarget" value="AllyToSave" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
<insertChild id="9A68D8561DCC7B64" />
</node>
<node name="Nearby Enemy" type="FindBestTarget" id="9A68D8561DCC7B64">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="SearchCenter" valueSource="variable" value="AllyToSave" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="DistanceFactor" valueSource="literal" value="5" />
<property name="ClipCenter" valueSource="intrinsic" value="Self" />
<property name="ClipRadius" valueSource="variable" value="AbilityRange" />
</node>
<node name="Target has been attacked" type="FilterRecentlyDamaged" id="72FA6DDDF47DCA43">
<property name="WithinSeconds" valueSource="literal" value="2" />
<insertChild id="F82F845ADDE58F5B" />
</node>
<node name="Target has been attacked" type="FilterRecentlyDamaged" id="54F984A7CB9A21C0">
<insertChild id="FE179E9AC30A62BC" />
</node>
<node name="Fatal" type="FilterLife" id="4134F11358A4CDD0">
<property name="MaxLife" valueSource="lookup" value="Effect,VarianChargeBaseDamage,Amount" />
<insertChild id="083BA386B4F27DD8" />
</node>
<node name="Find Hurt Target" type="FindBestTarget" id="083BA386B4F27DD8">
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
</node>
<node name="Fatal" type="FilterLife" id="C49282F7B908A00F">
<property name="MaxLife" valueSource="lookup" value="Effect,VarianLionsFangDamage,Amount" />
<insertChild id="4B42A5EF9D741E69" />
</node>
<node name="Find Hurt Target" type="FindBestTarget" id="4B42A5EF9D741E69">
<property name="OutputTarget" value="EnemyAttackingAlly" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<insertChild id="A99CDC80146A42EA" />
</node>
<node name="1 Enemy Nearby" type="UnitCount" id="BCE1A5758EB0B93A">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxTargetDistance" valueSource="literal" value="12" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="Comparison" valueSource="literal" value="Eq" />
<insertChild id="7E6AA985F6795E5D" />
</node>
<node name="Find 1 Hero" type="FindBestVector" id="7E6AA985F6795E5D">
<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="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
<property name="MaxLifeFraction" valueSource="literal" value="0.6" />
</node>
<node name="1 Enemy Nearby" type="UnitCount" id="726FB987944B65C8">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxTargetDistance" valueSource="literal" value="12" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="Comparison" valueSource="literal" value="Eq" />
<insertChild id="9573D93B6701CCD1" />
</node>
<node name="Find 1 Hero" type="FindBestVector" id="9573D93B6701CCD1">
<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="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
<property name="MaxLifeFraction" valueSource="literal" value="0.75" />
</node>
<node name="" type="UnitPosition" id="A99CDC80146A42EA">
<property name="InputUnit" valueSource="variable" value="EnemyAttackingAlly" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
<property name="OutputPosition" value="AbilityTargetPoint" />
</node>
<node name="No Enemy Nearby" type="UnitCount" id="6AC3DEA7D4B34E71">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxTargetDistance" valueSource="literal" value="12" />
<property name="TargetCount" valueSource="literal" value="0" />
<property name="Comparison" valueSource="literal" value="Eq" />
<insertChild id="36CCD0B51F80E3DA" />
</node>
<node name="Find Merc/Boss/Creature" type="FindBestVector" id="36CCD0B51F80E3DA">
<property name="TargetTypes" valueSource="literal" value="Merc,MapBoss,MapCreature" />
<property name="RequiredTypes" valueSource="literal" value="" />
<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="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
</node>
<node name="No Enemy Nearby" type="UnitCount" id="01A6F49A80A79A8B">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxTargetDistance" valueSource="literal" value="12" />
<property name="TargetCount" valueSource="literal" value="0" />
<property name="Comparison" valueSource="literal" value="Eq" />
<insertChild id="A6D5BF214A7ECD59" />
</node>
<node name="Find Hurt Target" type="FindBestTarget" id="A6D5BF214A7ECD59">
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="Creep,Merc,MapBoss,MapCreature" />
<property name="RequiredTypes" valueSource="literal" value="" />
</node>
<node name="<75% Health" type="LifeFraction" id="17C82E77D2D6C2E1">
<property name="Comparison" valueSource="literal" value="LE" />
<property name="LifeFraction" valueSource="literal" value="0.75" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="33B724654AE4406C" />
</node>
<node name="" type="Or" id="33B724654AE4406C">
<insertChild id="9FE41D19D807080A" />
<insertChild id="137646E51A292A09" />
</node>
<node name="One Enemy Heroes" type="UnitCount" id="9FE41D19D807080A">
<property name="TargetTypes" valueSource="literal" value="Heroic,Summoned" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
</node>
<node name="One Enemy Heroes" type="UnitCount" id="137646E51A292A09">
<property name="TargetTypes" valueSource="literal" value="MapBoss,MapCreature" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
</node>
<node name="" type="Or" id="7CA137141CD61680">
<insertChild id="780A5746387AE0FB" />
<insertChild id="A16CBFEF6F5603B3" />
</node>
<node name="One Enemy Heroes" type="UnitCount" id="780A5746387AE0FB">
<property name="TargetTypes" valueSource="literal" value="Heroic,Summoned" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
</node>
<node name="One Enemy Heroes" type="UnitCount" id="A16CBFEF6F5603B3">
<property name="TargetTypes" valueSource="literal" value="MapBoss,MapCreature" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
</node>
<node name="Find 2 Creeps" type="FindBestVector" id="557C993232B0CA76">
<property name="TargetTypes" valueSource="literal" value="Creep" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissilePierceCount" valueSource="variable" value="AbilityMissilePierceCount" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
<property name="PredictionSeconds" valueSource="variable" value="AbilityCastTime" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
</node>
<node name="No Enemy Hero Near" type="UnitCount" id="B1435A7D921C5FFA">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxTargetDistance" valueSource="literal" value="10" />
<property name="Comparison" valueSource="literal" value="Eq" />
<insertChild id="557C993232B0CA76" />
</node>
<node name="<75% Health" type="LifeFraction" id="B49E7BFDBDEDF5FB">
<property name="Comparison" valueSource="literal" value="LE" />
<property name="LifeFraction" valueSource="literal" value="0.75" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="CD8EB0F7DBEA184D" />
</node>
<node name="" type="Or" id="CD8EB0F7DBEA184D">
<insertChild id="85637084EB7C9C30" />
</node>
<node name="One Enemy Heroes" type="UnitCount" id="85637084EB7C9C30">
<property name="TargetTypes" valueSource="literal" value="Creep" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
</node>
<node name="No Enemy Hero" type="UnitCount" id="EF87EBEB3D220B0C">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxTargetDistance" valueSource="literal" value="10" />
<property name="Comparison" valueSource="literal" value="Eq" />
<insertChild id="B49E7BFDBDEDF5FB" />
</node>
<node name="No Enemy Hero Near" type="UnitCount" id="7256B72866D5DBC1">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxTargetDistance" valueSource="literal" value="10" />
<property name="Comparison" valueSource="literal" value="Eq" />
<insertChild id="05EE8D5F70ADB8AB" />
</node>
<node name="Find Hurt Target" type="FindBestTarget" id="05EE8D5F70ADB8AB">
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="Creep" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
</node>
</tree>