<?xml version="1.0" encoding="us-ascii"?>
<tree>
<include file="AI/HeroMutator.aitree" />
<mod id="746F6F526F726548">
<variable name="TelekinesisKnockbackPoint" type="Point" />
<variable name="DeadlyChargeRange" type="Number" value="7" />
<variable name="DeadlyChargeMaxRange" type="Number" value="18" />
<variable name="SurgeDelayTimer" type="Time" />
<variable name="DeadlyChargeTimer1" type="Time" />
<variable name="DeadlyChargeTimer2" type="Time" />
<variable name="DeadlyChargeTimer3" type="Time" />
<variable name="DeadlyChargeTimer4" type="Time" />
<variable name="DeadlyChargeTimeOutTimer" type="Time" />
</mod>
<mod id="87811D772E337EB7">
<insertChild id="75604BB1B670EAC6" />
<insertChild id="69BF8B1DC3A50D7C" />
<insertChild id="7850CB2E8EA63FFF" />
<insertChild id="FE9EA40825949E60" />
</mod>
<mod id="93D883AF1FB031B1">
<insertChild id="157DE8AD4EB742CE" />
<insertChild id="6FFB70AEE17BFF2D" />
<insertChild id="1297C11535A5CEA4" />
</mod>
<mod id="A4058AA255280C17">
<insertChild id="92C5684791858BDB" />
<insertChild id="5737157834D89FB3" />
<insertChild id="DCEADA79DF611D1B" />
<insertChild id="F6A92D1F398C1A86" />
<insertChild id="157DE8AD4EB742CE" />
<insertChild id="0D9C492A1189A231" />
</mod>
<mod id="F21BCB9B06948439">
<insertChild id="1297C11535A5CEA4" />
</mod>
<node name="Discord Strike" type="AbilityUsable" id="69BF8B1DC3A50D7C" 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="AlarakDiscordStrike" />
<insertChild id="97C79BC318AEE99A" />
</node>
<node name="Base Node" type="And" id="97C79BC318AEE99A" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" value="5.5" comment="Range of the Ability" />
<variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
<variable name="AbilityMissileRadius" type="Number" value="0.5" 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="BestAOEPoint" type="Point" />
<insertChild id="A94B7A0B90854301" />
<insertChild id="4A01F48B99E676B2" />
<insertChild id="86F8184B5517412B" />
</node>
<node name="Targeting Selecting Node" type="Or" id="A94B7A0B90854301">
<insertChild id="CCF8E8BE447B34F7" />
<insertChild id="FA94FA241B813AA9" />
<insertChild id="424EF1363A92319D" />
<insertChild id="3624BD578BEB4CB9" />
<insertChild id="91315B81703BFCFC" />
<insertChild id="064C4E8830D6DE84" />
</node>
<node name="Self > 75%" type="EnergyFraction" id="CCF8E8BE447B34F7">
<property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="BA1751CCDE60B886" />
</node>
<node name="High Mana Targeting" type="Or" id="BA1751CCDE60B886">
<insertChild id="F8EE3D8C9A97315F" />
<insertChild id="20BEE87AC339A4D4" />
</node>
<node name="Find 1 Hero" type="FindBestVector" id="F8EE3D8C9A97315F">
<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" />
</node>
<node name="Find 3 Minions/Mercs" type="FindBestVector" id="20BEE87AC339A4D4">
<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" />
</node>
<node name="Self > 40%" type="EnergyFraction" id="FA94FA241B813AA9">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="D3FE8D7731C1743E" />
</node>
<node name="Medium Mana Targeting" type="Or" id="D3FE8D7731C1743E">
<insertChild id="09D91EF46DF4E4A1" />
<insertChild id="6C744FDA241C8C09" />
<insertChild id="31A0F4A5FC4AB41E" />
<insertChild id="39AC325DC5767ABA" />
</node>
<node name="Find 2 Heroes" type="FindBestVector" id="6C744FDA241C8C09">
<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" />
</node>
<node name="Find 4 Minions/Mercs" type="FindBestVector" id="31A0F4A5FC4AB41E">
<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" />
</node>
<node name="Self < 40%" type="EnergyFraction" id="424EF1363A92319D">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="15A91D32F85F9B5C" />
</node>
<node name="Low Mana Targeting" type="Or" id="15A91D32F85F9B5C">
<insertChild id="A97610B8D274A57B" />
<insertChild id="3B1264CA93A3D9A3" />
<insertChild id="4E2F77BC9FED5A2F" />
</node>
<node name="Find 2 Heroes Under 50% Health" type="FindBestVector" id="3B1264CA93A3D9A3">
<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" />
</node>
<node name="Find 6 Minions/Mercs" type="FindBestVector" id="4E2F77BC9FED5A2F">
<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" />
</node>
<node name="Use Ability" type="Ability" id="86F8184B5517412B">
<property name="Ability" valueSource="literal" value="AlarakDiscordStrike" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="Telekinesis" type="AbilityUsable" id="75604BB1B670EAC6" 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="AlarakTelekinesis" />
<insertChild id="32C2D636AFAF147D" />
</node>
<node name="Base Node" type="And" id="32C2D636AFAF147D" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" value="7" comment="Range of the Ability" />
<variable name="AbilityTargetEndPoint" type="Point" comment="Target Point of the ability" />
<variable name="AbilityMissileRadius" type="Number" value="0.5" 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="AbilityVectorStartPoint" type="Point" />
<variable name="StartDistance" type="Number" />
<variable name="EndDistance" type="Number" />
<variable name="FirstUnit" type="Unit" />
<variable name="SecondUnit" type="Unit" />
<variable name="TelekinesisSearchRange" type="Number" value="5" />
<insertChild id="2ED63BF1642B413B" />
<insertChild id="F4B5FDA09B57D0B8" />
<insertChild id="15C72E3EB5D245CD" />
<insertChild id="2B47249910368967" />
<insertChild id="36FB8F8B792BAB3A" />
</node>
<node name="Targeting Selecting Node" type="Or" id="2ED63BF1642B413B">
<insertChild id="846A78C18FB0FAD7" />
<insertChild id="C6A747F5D5B93CC9" />
</node>
<node name="Self > 75%" type="EnergyFraction" id="126C750D74669473">
<property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="585DAC171163ECDA" />
</node>
<node name="High Mana Targeting" type="Or" id="585DAC171163ECDA">
<insertChild id="83D2CEBE7F7D165D" />
</node>
<node name="Lightning Surge" type="AbilityUsable" id="7850CB2E8EA63FFF" 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="AlarakLightningSurge" />
<insertChild id="9DABC63A4536C7CC" />
</node>
<node name="Base Node" type="And" id="9DABC63A4536C7CC" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" valueSource="lookup" value="Abil,AlarakLightningSurge,Range" comment="Range of the Ability" />
<variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
<variable name="AbilityMissileRadius" type="Number" value="0.75" 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="LightningSurgeTarget" type="Unit" />
<variable name="BestAOEPoint" type="Point" />
<variable name="BestAOEPointCount" type="Integer" />
<insertChild id="46344C0F0B136724" />
<insertChild id="9533209C2058739D" />
</node>
<node name="Targeting Selecting Node" type="Or" id="46344C0F0B136724">
<insertChild id="83CBB13EACAB3861" />
<insertChild id="5604D6C65E018359" />
</node>
<node name="Max Hit" type="FindBestVector" id="48027353BF0B1182">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="variable" value="BestAOEPointCount" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="Lightning Barrage" type="AbilityUsable" id="FE9EA40825949E60" 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="AlarakLightningSurgeLightningBarrage" />
<insertChild id="2F54DF08D485FC5C" />
</node>
<node name="Base Node" type="And" id="2F54DF08D485FC5C" 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.5" 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="LightningSurgeTarget" type="Unit" />
<variable name="BestAOEPoint" type="Point" />
<variable name="BestAOEPointCount" type="Integer" />
<insertChild id="8A30A0014B2B0E4F" />
<insertChild id="83ED7EB77F1E08C0" />
</node>
<node name="Targeting Selecting Node" type="Or" id="8A30A0014B2B0E4F">
<insertChild id="3CD68FCBF466CB17" />
<insertChild id="7594803D45800770" />
<insertChild id="0A5E76F10BF98F9C" />
</node>
<node name="Any Hero" type="FindBestVector" id="6CE63036775A5434">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<insertChild id="BDDD00C752286A72" />
</node>
<node name="Find Furthest Target" type="FindBestTarget" id="1EE7DAC711A396F2">
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="MaxTargetDistance" valueSource="literal" value="10" />
<property name="OutputTarget" value="LightningSurgeTarget" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="LifeFractionFactor" valueSource="literal" value="0" />
<property name="ClipCenter" valueSource="intrinsic" value="Self" />
<property name="ClipRadius" valueSource="literal" value="10" />
<property name="DistanceFactor" valueSource="literal" value="0" />
<property name="PreferredPointFactor" valueSource="literal" value="10" />
<property name="PreferredPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="Use Ability" type="Ability" id="879EE513F48CC7DB">
<property name="Ability" valueSource="literal" value="AlarakLightningSurgeLightningBarrage" />
<property name="TargetUnit" valueSource="variable" value="LightningSurgeTarget" />
</node>
<node name="" type="FilterBehavior" id="83ED7EB77F1E08C0">
<property name="Behavior" valueSource="literal" value="AlarakLightningSurgeLightningBarrageTalentTargetMarker" />
<property name="StackComparison" valueSource="literal" value="LT" />
<property name="StackCount" valueSource="literal" value="1" />
<insertChild id="A4818EC9153838E5" />
</node>
<node name="Distance to Start" type="UnitDistance" id="F4B5FDA09B57D0B8">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Point" valueSource="variable" value="AbilityVectorStartPoint" />
<property name="OutputDistance" value="StartDistance" />
<property name="MinRange" valueSource="literal" value="500" />
<property name="MaxRange" valueSource="literal" value="500" />
<insertChild id="A012F269F61BF275" />
</node>
<node name="" type="IfElse" id="36FB8F8B792BAB3A">
<insertChild id="B001121E643EDA2D" />
<insertChild id="DA65DCF548418A0D" />
<insertChild id="D39786A6089D4B6E" />
</node>
<node name="To or From" type="CompareNumber" id="B001121E643EDA2D">
<property name="Comparison" valueSource="literal" value="GT" />
<property name="RightHandSide" valueSource="variable" value="StartDistance" />
<property name="LeftHandSide" valueSource="variable" value="EndDistance" />
</node>
<node name="Use Ability" type="AbilityEnqueue" id="DA65DCF548418A0D">
<property name="Ability" valueSource="literal" value="AlarakTelekinesis" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetEndPoint" />
<property name="VectorEndPoint" valueSource="variable" value="AbilityVectorStartPoint" />
<insertChild id="591337E11E7A160B" />
</node>
<node name="Distance to End" type="UnitDistance" id="A012F269F61BF275">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Point" valueSource="variable" value="AbilityTargetEndPoint" />
<property name="OutputDistance" value="EndDistance" />
<property name="MaxRange" valueSource="literal" value="500" />
<property name="MinRange" valueSource="literal" value="500" />
</node>
<node name="Use Ability" type="AbilityEnqueue" id="D39786A6089D4B6E">
<property name="Ability" valueSource="literal" value="AlarakTelekinesis" />
<property name="TargetPoint" valueSource="variable" value="AbilityVectorStartPoint" />
<property name="VectorEndPoint" valueSource="variable" value="AbilityTargetEndPoint" />
<insertChild id="4198DC9467B96FE2" />
</node>
<node name="" type="And" id="A4818EC9153838E5">
<insertChild id="4CAEFE043704878E" />
<insertChild id="879EE513F48CC7DB" />
</node>
<node name="" type="Or" id="4CAEFE043704878E">
<insertChild id="1EE7DAC711A396F2" />
<insertChild id="E63B74D6F0CD486C" />
<insertChild id="D773BDBF15289EFC" />
</node>
<node name="Find Furthest Target" type="FindBestTarget" id="E63B74D6F0CD486C">
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="MaxTargetDistance" valueSource="literal" value="10" />
<property name="OutputTarget" value="LightningSurgeTarget" />
<property name="TargetTypes" valueSource="literal" value="Creep,Tower,Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="LifeFractionFactor" valueSource="literal" value="0" />
<property name="ClipCenter" valueSource="intrinsic" value="Self" />
<property name="ClipRadius" valueSource="literal" value="10" />
<property name="DistanceFactor" valueSource="literal" value="0" />
<property name="PreferredPointFactor" valueSource="literal" value="10" />
<property name="PreferredPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="" type="And" id="9533209C2058739D">
<insertChild id="422094234EA20F25" />
<insertChild id="1C3BC498C051C94A" />
</node>
<node name="Find Furthest Target" type="FindBestTarget" id="422094234EA20F25">
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="OutputTarget" value="LightningSurgeTarget" />
<property name="TargetTypes" valueSource="literal" value="Creep,Tower,Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="LifeFractionFactor" valueSource="literal" value="0" />
<property name="ClipCenter" valueSource="intrinsic" value="Self" />
<property name="ClipRadius" valueSource="variable" value="AbilityRange" />
<property name="DistanceFactor" valueSource="literal" value="5" />
<property name="PreferredPointFactor" valueSource="literal" value="-10" />
<property name="PreferredPoint" valueSource="intrinsic" value="Self" />
</node>
<node name="Use Ability" type="Ability" id="B5121289B1B50082">
<property name="Ability" valueSource="literal" value="AlarakLightningSurge" />
<property name="TargetUnit" valueSource="variable" value="LightningSurgeTarget" />
</node>
<node name="Self > 40%" type="EnergyFraction" id="06C0107B5D82E4AA">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="16433EC789FF395F" />
</node>
<node name="High Mana Targeting" type="Or" id="16433EC789FF395F">
<insertChild id="2E6726072BD742B2" />
</node>
<node name="Self < 40%" type="EnergyFraction" id="EE3E36F15E553C83">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="A8513B15BC03F796" />
</node>
<node name="High Mana Targeting" type="Or" id="A8513B15BC03F796">
<insertChild id="F46026D37466BC34" />
</node>
<node name="Telekinesis" type="AbilityUsable" id="6FFB70AEE17BFF2D" 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="AlarakTelekinesis" />
<insertChild id="7F87211B1C5DFA5F" />
</node>
<node name="" type="IfElse" id="5604D6C65E018359">
<insertChild id="8B7B7F88C567E19E" />
<insertChild id="FA77BF214845E5C7" />
<insertChild id="CA4A139E0F7CBA42" />
</node>
<node name="" type="Or" id="FA77BF214845E5C7">
<insertChild id="48027353BF0B1182" />
<insertChild id="359C10310F4DA796" />
<insertChild id="28C84F43DC6B2AB4" />
<insertChild id="8020E1D16C9BB80D" />
<insertChild id="F51A36DBA122029E" />
</node>
<node name="" type="Or" id="CA4A139E0F7CBA42">
<insertChild id="33D471040CD296DE" />
<insertChild id="9A075B9702C9465F" />
</node>
<node name="Find 6 Targets" type="FindBestVector" id="0609A78142F7F2C3">
<property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,Summoned,MapBoss,MapCreature" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="Find Biggest AOE Group" type="FindBestAOEPoint" id="8B7B7F88C567E19E">
<property name="TargetTypes" valueSource="literal" value="Enemy" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="MaxTargetDistance" valueSource="literal" value="10" />
<property name="AOERadius" valueSource="literal" value="4" />
<property name="OutputTarget" value="BestAOEPoint" />
<insertChild id="BA5CA39646EC1668" />
</node>
<node name="Enemy Nearby" type="UnitCount" id="BA5CA39646EC1668">
<property name="MaxTargetDistance" valueSource="literal" value="4" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="SearchCenter" valueSource="variable" value="BestAOEPoint" />
<property name="OutputCount" value="BestAOEPointCount" />
</node>
<node name="AOE Count 1" type="CompareNumber" id="359C10310F4DA796">
<property name="LeftHandSide" valueSource="variable" value="BestAOEPointCount" />
<property name="RightHandSide" valueSource="literal" value="1" />
<insertChild id="01B0E88A9119D53D" />
</node>
<node name="AOE Count 2" type="CompareNumber" id="28C84F43DC6B2AB4">
<property name="LeftHandSide" valueSource="variable" value="BestAOEPointCount" />
<property name="RightHandSide" valueSource="literal" value="2" />
<insertChild id="83B33E0FB03BC4D1" />
</node>
<node name="AOE Count 3" type="CompareNumber" id="8020E1D16C9BB80D">
<property name="LeftHandSide" valueSource="variable" value="BestAOEPointCount" />
<property name="RightHandSide" valueSource="literal" value="3" />
<insertChild id="8D5164FAE440C6BA" />
</node>
<node name="AOE Count 4" type="CompareNumber" id="F51A36DBA122029E">
<property name="LeftHandSide" valueSource="variable" value="BestAOEPointCount" />
<property name="RightHandSide" valueSource="literal" value="4" />
<insertChild id="20FAB6A1DCF2672D" />
</node>
<node name="Hit 1" type="FindBestVector" id="01B0E88A9119D53D">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="Try and Hit 2" type="FindBestVector" id="83B33E0FB03BC4D1">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="Try and Hit 2" type="FindBestVector" id="8D5164FAE440C6BA">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="Try and Hit 2" type="FindBestVector" id="20FAB6A1DCF2672D">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="3" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="Self < 40%" type="EnergyFraction" id="33D471040CD296DE">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Comparison" valueSource="literal" value="GT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="0609A78142F7F2C3" />
</node>
<node name="Find Safe Location" type="FindSafePoint" id="E3049DBD6DBDD280">
<property name="FleeCenter" valueSource="intrinsic" value="Self" />
<property name="PreferredPoint" valueSource="intrinsic" value="SafePos" />
<property name="FleeDistance" valueSource="variable" value="TelekinesisRange" />
<property name="OutputTarget" value="TelekinesisEnd" />
<insertChild id="BCB5AA7079E77AB6" />
</node>
<node name="" type="And" id="7F87211B1C5DFA5F">
<variable name="TelekinesisRange" type="Number" value="6" />
<variable name="TelekinesisStart" type="Point" />
<variable name="TelekinesisEnd" type="Point" />
<variable name="TelekinesisOffset" type="Number" value="0.5" />
<insertChild id="E6CABD58671075C8" />
<insertChild id="E3049DBD6DBDD280" />
<insertChild id="CDCE7E03D1F214B4" />
</node>
<node name="" type="Ability" id="CDCE7E03D1F214B4">
<property name="Ability" valueSource="literal" value="AlarakTelekinesis" />
<property name="TargetPoint" valueSource="variable" value="TelekinesisStart" />
<property name="VectorEndPoint" valueSource="variable" value="TelekinesisEnd" />
</node>
<node name="Find Point" type="FindPointOnLine" id="BCB5AA7079E77AB6">
<property name="SourceUnit" valueSource="intrinsic" value="Self" />
<property name="DestinationPoint" valueSource="variable" value="TelekinesisEnd" />
<property name="DistanceOffset" valueSource="variable" value="TelekinesisOffset" />
<property name="OutputTarget" value="TelekinesisStart" />
</node>
<node name="Base Node" type="And" id="EBA015E290D46E06" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" value="9" comment="Range of the Ability" />
<variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
<variable name="AbilityMissileRadius" type="Number" value="1.5" comment="Width of the Ability Searches" />
<variable name="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" />
<insertChild id="C1EB04DA2044BC47" />
<insertChild id="4AC99C983764D1DD" />
</node>
<node name="Targeting Selecting Node" type="Or" id="C1EB04DA2044BC47">
<insertChild id="7BDCB23D499FF9B5" />
<insertChild id="AAE5894F79F218E3" />
<insertChild id="6018A5AF6DE3CF5B" />
<insertChild id="A760931FED896A49" />
<insertChild id="CC80CD880EBBA475" />
</node>
<node name="Find 1 Heroes" type="FindBestVector" id="5B89B0FA3F36EED8">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="1" />
</node>
<node name="Counter Strike" type="And" id="DCEADA79DF611D1B">
<insertChild id="AEC6D44F875485CB" />
<insertChild id="EBA015E290D46E06" />
</node>
<node name="Been Hit Recently" type="RecentlyDamaged" id="F1FA927B09C4052C">
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="WithinSeconds" valueSource="literal" value="0.5" />
</node>
<node name="Deadly charge" type="AbilityUsable" id="F6A92D1F398C1A86" 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="AlarakDeadlyChargeActivate" />
<insertChild id="5ADA052481E1B64B" />
</node>
<node name="Base Node" type="And" id="5ADA052481E1B64B" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" value="9" comment="Range of the Ability" />
<variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
<variable name="AbilityMissileRadius" type="Number" value="1.5" comment="Width of the Ability Searches" />
<variable name="AbilityMissilePierceCount" type="Number" comment="Number of Blockers this can go through" />
<variable name="AbilityHighManaThreshHold" type="Number" value="0.75" comment="High Mana ThreshHold" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.4" comment="Low Mana ThreshHold" />
<variable name="EnemyTarget" type="Unit" />
<insertChild id="86BDAA114BD774D3" />
<insertChild id="B6325B529B354916" />
<insertChild id="4149CCD9C2054A5E" />
<insertChild id="B5561584421C0391" />
</node>
<node name="Targeting Selecting Node" type="Or" id="B6325B529B354916">
<insertChild id="F5DE9652EA7D1841" />
<insertChild id="AB3AA4DE06524432" />
<insertChild id="2FFC622032320A17" />
<insertChild id="6F790AA6015219A7" />
</node>
<node name="Use Ability" type="Ability" id="B5561584421C0391">
<property name="Ability" valueSource="literal" value="AlarakDeadlyChargeActivate" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="Is Deadly Charging" type="UnitHasBehavior" id="5737157834D89FB3">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="AlarakDeadlyChargeChanneling" />
<insertChild id="2F0CE9C494EA2576" />
</node>
<node name="Timer1" type="TimerFinished" id="EA784D202C13BEF2">
<property name="FinishTime" valueSource="variable" value="DeadlyChargeTimer1" />
<insertChild id="E0205CCBDF8084AF" />
</node>
<node name="Timer4" type="TimerFinished" id="2B6B4DD949CF5C58">
<property name="FinishTime" valueSource="variable" value="DeadlyChargeTimer4" />
<insertChild id="C6746DA0B4842C30" />
</node>
<node name="" type="Or" id="4C939A6532AD5830">
<insertChild id="2B6B4DD949CF5C58" />
<insertChild id="06FE89112F2C6CB4" />
<insertChild id="2C5A73DB5C0B532F" />
<insertChild id="EA784D202C13BEF2" />
<insertChild id="45088567BFE3F41F" />
</node>
<node name="7.5 range" type="SetNumber" id="E0205CCBDF8084AF">
<property name="Variable" value="DeadlyChargeRange" />
<property name="Value" valueSource="literal" value="7.5" />
</node>
<node name="18 Range" type="SetNumber" id="C6746DA0B4842C30">
<property name="Variable" value="DeadlyChargeRange" />
<property name="Value" valueSource="literal" value="18" />
</node>
<node name="Timer2" type="TimerFinished" id="2C5A73DB5C0B532F">
<property name="FinishTime" valueSource="variable" value="DeadlyChargeTimer2" />
<insertChild id="A1BCEBD3E2DB7BC0" />
</node>
<node name="11 Range" type="SetNumber" id="A1BCEBD3E2DB7BC0">
<property name="Variable" value="DeadlyChargeRange" />
<property name="Value" valueSource="literal" value="11" />
</node>
<node name="Timer3" type="TimerFinished" id="06FE89112F2C6CB4">
<property name="FinishTime" valueSource="variable" value="DeadlyChargeTimer3" />
<insertChild id="4FB0D958C41CC77F" />
</node>
<node name="14.5 Range" type="SetNumber" id="4FB0D958C41CC77F">
<property name="Variable" value="DeadlyChargeRange" />
<property name="Value" valueSource="literal" value="14.5" />
</node>
<node name="" type="And" id="2F0CE9C494EA2576">
<variable name="AbilityMissileRadius" type="Number" value="1.5" />
<variable name="AbilityTargetPoint" type="Point" />
<variable name="DeadlyChargeCurrentCount" type="Number" />
<variable name="DeadlyChargeMaxCount" type="Number" />
<variable name="AbilityMissileSpeed" type="Number" valueSource="lookup" value="Mover,AlarakDeadlyChargeMissileMover,MotionPhases[0].MaxSpeed" />
<insertChild id="1664A2F31B777844" />
<insertChild id="B4830738BAC049F1" />
</node>
<node name="" type="Sequence" id="1664A2F31B777844">
<property name="IgnoreChildFailures" valueSource="literal" value="true" />
<insertChild id="4C939A6532AD5830" />
<insertChild id="1DD1A35E9BF202BA" />
<insertChild id="97E7DE7E2BB26598" />
</node>
<node name="Targeting Selecting Node" type="Or" id="1DD1A35E9BF202BA">
<insertChild id="4A3BA23C0DADBD90" />
<insertChild id="7E8E2F17E2E1951E" />
<insertChild id="8947F0FF79DE7FFB" />
<insertChild id="8CF5F5CA70F9FE10" />
<insertChild id="AF1F8CD4AF08EA74" />
</node>
<node name="Find 1 Heroes" type="FindBestVector" id="AF1F8CD4AF08EA74">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
<insertChild id="00215CF7713D0912" />
</node>
<node name="Find 2 Heroes" type="FindBestVector" id="8CF5F5CA70F9FE10">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
<insertChild id="651418E2A20869B9" />
</node>
<node name="Find 3 Heroes" type="FindBestVector" id="8947F0FF79DE7FFB">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="3" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
<insertChild id="C7151F250C974C5B" />
</node>
<node name="Find 4 Heroes" type="FindBestVector" id="7E8E2F17E2E1951E">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="4" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
<insertChild id="F19A5BCAA23312E3" />
</node>
<node name="Find 5 Heroes" type="FindBestVector" id="4A3BA23C0DADBD90">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="5" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
<insertChild id="C21C880F1CB9E1D0" />
</node>
<node name="Unleash" type="Ability" id="8756BD50EE07CDF7">
<property name="Ability" valueSource="literal" value="AlarakDeadlyChargeExecute" />
<property name="DoNotThrottle" valueSource="literal" value="true" />
</node>
<node name="" type="SetMousePos" id="00215CF7713D0912">
<property name="Position" valueSource="variable" value="AbilityTargetPoint" />
<insertChild id="6560EE838395D1AC" />
</node>
<node name="" type="SetMousePos" id="651418E2A20869B9">
<property name="Position" valueSource="variable" value="AbilityTargetPoint" />
<insertChild id="9B481807F127B80D" />
</node>
<node name="" type="SetMousePos" id="C7151F250C974C5B">
<property name="Position" valueSource="variable" value="AbilityTargetPoint" />
<insertChild id="138284F30F9C1BEB" />
</node>
<node name="" type="SetMousePos" id="F19A5BCAA23312E3">
<property name="Position" valueSource="variable" value="AbilityTargetPoint" />
<insertChild id="A8ABA0E535CF60F9" />
</node>
<node name="" type="SetMousePos" id="C21C880F1CB9E1D0">
<property name="Position" valueSource="variable" value="AbilityTargetPoint" />
<insertChild id="0992BC584DCC277D" />
</node>
<node name="1" type="SetNumber" id="6560EE838395D1AC">
<property name="Variable" value="DeadlyChargeCurrentCount" />
<property name="Value" valueSource="literal" value="1" />
</node>
<node name="2" type="SetNumber" id="9B481807F127B80D">
<property name="Variable" value="DeadlyChargeCurrentCount" />
<property name="Value" valueSource="literal" value="2" />
</node>
<node name="3" type="SetNumber" id="138284F30F9C1BEB">
<property name="Variable" value="DeadlyChargeCurrentCount" />
<property name="Value" valueSource="literal" value="3" />
</node>
<node name="4" type="SetNumber" id="A8ABA0E535CF60F9">
<property name="Variable" value="DeadlyChargeCurrentCount" />
<property name="Value" valueSource="literal" value="4" />
</node>
<node name="5" type="SetNumber" id="0992BC584DCC277D">
<property name="Variable" value="DeadlyChargeCurrentCount" />
<property name="Value" valueSource="literal" value="5" />
</node>
<node name="Targeting Selecting Node" type="Or" id="97E7DE7E2BB26598">
<insertChild id="4398CC1604D09147" />
<insertChild id="CD99DE4333C962A5" />
<insertChild id="DAE6AF6FC0D89F50" />
<insertChild id="5B38D9A46A166FFC" />
<insertChild id="2A7736D3449EE64A" />
</node>
<node name="Find 5 Heroes" type="FindBestVector" id="4398CC1604D09147">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeMaxRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="5" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
<insertChild id="F588213107C9A65A" />
</node>
<node name="" type="SetMousePos" id="F588213107C9A65A">
<property name="Position" valueSource="variable" value="AbilityTargetPoint" />
<insertChild id="8A640282E0F70DD1" />
</node>
<node name="5" type="SetNumber" id="8A640282E0F70DD1">
<property name="Variable" value="DeadlyChargeMaxCount" />
<property name="Value" valueSource="literal" value="5" />
</node>
<node name="Find 4 Heroes" type="FindBestVector" id="CD99DE4333C962A5">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeMaxRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="4" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
<insertChild id="E69A62FE365C4F44" />
</node>
<node name="" type="SetMousePos" id="E69A62FE365C4F44">
<property name="Position" valueSource="variable" value="AbilityTargetPoint" />
<insertChild id="3517E40983126BFC" />
</node>
<node name="4" type="SetNumber" id="3517E40983126BFC">
<property name="Variable" value="DeadlyChargeMaxCount" />
<property name="Value" valueSource="literal" value="4" />
</node>
<node name="Find 3 Heroes" type="FindBestVector" id="DAE6AF6FC0D89F50">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeMaxRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="3" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
<insertChild id="83C86ADCCBDE6667" />
</node>
<node name="" type="SetMousePos" id="83C86ADCCBDE6667">
<property name="Position" valueSource="variable" value="AbilityTargetPoint" />
<insertChild id="3F552A4608B41BAE" />
</node>
<node name="3" type="SetNumber" id="3F552A4608B41BAE">
<property name="Variable" value="DeadlyChargeMaxCount" />
<property name="Value" valueSource="literal" value="3" />
</node>
<node name="Find 2 Heroes" type="FindBestVector" id="5B38D9A46A166FFC">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeMaxRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
<insertChild id="F53C8104596ABD89" />
</node>
<node name="" type="SetMousePos" id="F53C8104596ABD89">
<property name="Position" valueSource="variable" value="AbilityTargetPoint" />
<insertChild id="4270B5B80C63D613" />
</node>
<node name="2" type="SetNumber" id="4270B5B80C63D613">
<property name="Variable" value="DeadlyChargeMaxCount" />
<property name="Value" valueSource="literal" value="2" />
</node>
<node name="Find 1 Heroes" type="FindBestVector" id="2A7736D3449EE64A">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeMaxRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="PredictionMissileSpeed" valueSource="variable" value="AbilityMissileSpeed" />
<insertChild id="87449EB7B8D24DBC" />
</node>
<node name="" type="SetMousePos" id="87449EB7B8D24DBC">
<property name="Position" valueSource="variable" value="AbilityTargetPoint" />
<insertChild id="048AC618FE739EAC" />
</node>
<node name="1" type="SetNumber" id="048AC618FE739EAC">
<property name="Variable" value="DeadlyChargeMaxCount" />
<property name="Value" valueSource="literal" value="1" />
</node>
<node name="1 Target" type="CompareNumber" id="2A16FBF7B4C47C9E">
<property name="Comparison" valueSource="literal" value="GE" />
<property name="LeftHandSide" valueSource="variable" value="DeadlyChargeCurrentCount" />
<property name="RightHandSide" valueSource="literal" value="1" />
<insertChild id="5CE36F7B56C9082C" />
</node>
<node name="Current = Max" type="CompareNumber" id="5CE36F7B56C9082C">
<property name="Comparison" valueSource="literal" value="Eq" />
<property name="LeftHandSide" valueSource="variable" value="DeadlyChargeCurrentCount" />
<property name="RightHandSide" valueSource="variable" value="DeadlyChargeMaxCount" />
</node>
<node name="Find 3 Heroes" type="FindBestVector" id="F5DE9652EA7D1841">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeMaxRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="3" />
<property name="MaxLifeFraction" valueSource="literal" value="0.9" />
</node>
<node name="Self < 50% health" type="LifeFraction" id="7BDCB23D499FF9B5">
<property name="LifeFraction" valueSource="literal" value="0.5" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="5B89B0FA3F36EED8" />
</node>
<node name="Self < 75% health" type="LifeFraction" id="AAE5894F79F218E3">
<property name="LifeFraction" valueSource="literal" value="0.75" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="6BB4BEA510CA150C" />
</node>
<node name="Find 2 Heroes" type="FindBestVector" id="6BB4BEA510CA150C">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="2" />
</node>
<node name="Self < 90% health" type="LifeFraction" id="6018A5AF6DE3CF5B">
<property name="LifeFraction" valueSource="literal" value="0.9" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="2911CE940AB2CFC3" />
</node>
<node name="Find 3 Heroes" type="FindBestVector" id="2911CE940AB2CFC3">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="3" />
<property name="MaxLifeFraction" valueSource="literal" value="0.75" />
</node>
<node name="Find 4 Heroes" type="FindBestVector" id="A760931FED896A49">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="4" />
<property name="MaxLifeFraction" valueSource="literal" value="0.9" />
</node>
<node name="Find 1 Heroes" type="FindBestVector" id="C0B43605EDC3C0A5">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="1" />
</node>
<node name="Fatal Kill" type="FilterLife" id="CC80CD880EBBA475">
<property name="MaxLife" valueSource="lookup" value="Effect,AlarakCounterStrikeDamage,Amount" />
<insertChild id="C0B43605EDC3C0A5" />
</node>
<node name="" type="Sequence" id="4A01F48B99E676B2">
<property name="IgnoreChildFailures" valueSource="literal" value="true" />
<insertChild id="35AF1D87E28E2943" />
</node>
<node name="RakShir" type="AbilityUsable" id="35AF1D87E28E2943" 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="AlarakRiteofRakShir" />
<insertChild id="9478F7BB75A514B1" />
</node>
<node name="Base Node" type="And" id="9478F7BB75A514B1" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="RakshirRange" type="Number" valueSource="lookup" value="Abil,AlarakRiteofRakShir,Range" comment="Range of the Ability" />
<variable name="AbilityTargetUnit" type="Unit" comment="Target to Use Ability on" />
<insertChild id="F22173FF415C90FB" />
<insertChild id="FCA40A6D2A04C685" />
</node>
<node name="Find Hurt Target" type="FindBestTarget" id="F22173FF415C90FB">
<property name="OutputTarget" value="AbilityTargetUnit" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="ClipCenter" valueSource="intrinsic" value="Self" />
<property name="ClipRadius" valueSource="variable" value="RakshirRange" />
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="LifeFractionFactor" valueSource="literal" value="10" />
<property name="MaxTargetDistance" valueSource="variable" value="RakshirRange" />
<property name="MaxLifeFraction" valueSource="literal" value="0.5" />
</node>
<node name="Use Ability" type="AbilityEnqueue" id="FCA40A6D2A04C685">
<property name="Ability" valueSource="literal" value="AlarakRiteofRakShir" />
<property name="TargetUnit" valueSource="variable" value="AbilityTargetUnit" />
<property name="DoNotThrottle" valueSource="literal" value="true" />
</node>
<node name="Creep" type="FindBestVector" id="9A075B9702C9465F">
<property name="TargetTypes" valueSource="literal" value="Creep" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="Creep" type="FindBestVector" id="D773BDBF15289EFC">
<property name="TargetTypes" valueSource="literal" value="Creep" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="Creep" type="FindBestVector" id="39AC325DC5767ABA">
<property name="TargetTypes" valueSource="literal" value="Creep" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="Last Laugh Run" type="AbilityUsable" id="1297C11535A5CEA4">
<property name="Ability" valueSource="literal" value="AlarakLastLaugh" />
<insertChild id="BDA649ACEFD0B04F" />
</node>
<node name="Defensive Use" type="And" id="BDA649ACEFD0B04F">
<variable name="AbilityTargetPoint" type="Point" />
<variable name="AbilityRange" type="Number" valueSource="lookup" value="Abil,AlarakLastLaugh,Range" />
<insertChild id="3430A3EC4A1E05AD" />
<insertChild id="8AF4DA0177BC879C" />
<insertChild id="C1D0899EE11E8E5F" />
</node>
<node name="Critical Health" type="LifeFraction" id="3430A3EC4A1E05AD">
<property name="Comparison" valueSource="literal" value="LE" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="LifeFraction" valueSource="variable" value="Health_ReturnToSpawn" />
</node>
<node name="Enemies Nearby or In Danger" type="Or" id="8AF4DA0177BC879C">
<insertChild id="564AE9DC1F76327C" />
<insertChild id="8176EBEF2CA95EE4" />
</node>
<node name="Enemy Hero Nearby" type="UnitCount" id="8176EBEF2CA95EE4">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="TargetCount" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
</node>
<node name="Cast" type="Ability" id="7AB62EC7E36BC3D6">
<property name="Ability" valueSource="literal" value="AlarakLastLaugh" />
<property name="TargetPoint" valueSource="intrinsic" value="SafePos" />
</node>
<node name="Find Safe" type="FindSafePoint" id="C1D0899EE11E8E5F">
<property name="OutputTarget" value="AbilityTargetPoint" />
<property name="FleeCenter" valueSource="intrinsic" value="Self" />
<property name="FleeDistance" valueSource="variable" value="AbilityRange" />
<property name="PreferredPoint" valueSource="intrinsic" value="SafePos" />
<insertChild id="7AB62EC7E36BC3D6" />
</node>
<node name="Lightning Surge" type="AbilityUsable" id="157DE8AD4EB742CE" 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="AlarakLightningSurge" />
<insertChild id="15B7F6288833DAF5" />
</node>
<node name="Base Node" type="And" id="15B7F6288833DAF5" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" valueSource="lookup" value="Abil,AlarakLightningSurge,Range" comment="Range of the Ability" />
<variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
<variable name="AbilityMissileRadius" type="Number" value="0.75" 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="LightningSurgeTarget" type="Unit" />
<variable name="BestAOEPoint" type="Point" />
<variable name="BestAOEPointCount" type="Integer" />
<insertChild id="74680C51F7C8915F" />
<insertChild id="DCD10831A44E9D48" />
<insertChild id="62BC2688FC223743" />
</node>
<node name="Targeting Selecting Node" type="Or" id="DCD10831A44E9D48">
<insertChild id="D38F7A04A9E66AAC" />
</node>
<node name="" type="IfElse" id="D38F7A04A9E66AAC">
<insertChild id="4A303790CCBF1600" />
<insertChild id="A5E50EF62D19C882" />
<insertChild id="94091B20D7E8A392" />
</node>
<node name="Find Biggest AOE Group" type="FindBestAOEPoint" id="4A303790CCBF1600">
<property name="TargetTypes" valueSource="literal" value="Enemy" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="MaxTargetDistance" valueSource="literal" value="10" />
<property name="AOERadius" valueSource="literal" value="4" />
<property name="OutputTarget" value="BestAOEPoint" />
<insertChild id="D842927BD79B8E08" />
</node>
<node name="Enemy Nearby" type="UnitCount" id="D842927BD79B8E08">
<property name="MaxTargetDistance" valueSource="literal" value="4" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="SearchCenter" valueSource="variable" value="BestAOEPoint" />
<property name="OutputCount" value="BestAOEPointCount" />
</node>
<node name="" type="Or" id="A5E50EF62D19C882">
<insertChild id="2EFA365E4945BE1B" />
<insertChild id="E7F78D5F9F4093B8" />
<insertChild id="0D7B2144649C9910" />
<insertChild id="2D920521A8737A96" />
<insertChild id="FB004DA3AE003565" />
</node>
<node name="Max Hit" type="FindBestVector" id="2EFA365E4945BE1B">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="variable" value="BestAOEPointCount" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="AOE Count 1" type="CompareNumber" id="E7F78D5F9F4093B8">
<property name="LeftHandSide" valueSource="variable" value="BestAOEPointCount" />
<property name="RightHandSide" valueSource="literal" value="1" />
<insertChild id="47B24A4C08A49691" />
</node>
<node name="Hit 1" type="FindBestVector" id="47B24A4C08A49691">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="AOE Count 2" type="CompareNumber" id="0D7B2144649C9910">
<property name="LeftHandSide" valueSource="variable" value="BestAOEPointCount" />
<property name="RightHandSide" valueSource="literal" value="2" />
<insertChild id="945AD188950A05CC" />
</node>
<node name="Try and Hit 2" type="FindBestVector" id="945AD188950A05CC">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="AOE Count 3" type="CompareNumber" id="2D920521A8737A96">
<property name="LeftHandSide" valueSource="variable" value="BestAOEPointCount" />
<property name="RightHandSide" valueSource="literal" value="3" />
<insertChild id="91A9874E07B84479" />
</node>
<node name="Try and Hit 2" type="FindBestVector" id="91A9874E07B84479">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="AOE Count 4" type="CompareNumber" id="FB004DA3AE003565">
<property name="LeftHandSide" valueSource="variable" value="BestAOEPointCount" />
<property name="RightHandSide" valueSource="literal" value="4" />
<insertChild id="F6EA4FEB4B56A3A7" />
</node>
<node name="Try and Hit 2" type="FindBestVector" id="F6EA4FEB4B56A3A7">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="3" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="" type="Or" id="94091B20D7E8A392">
<insertChild id="79CA85DD5A5C0E00" />
<insertChild id="E4A27DC7999D0CBB" />
</node>
<node name="Self < 40%" type="EnergyFraction" id="79CA85DD5A5C0E00">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Comparison" valueSource="literal" value="GT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="2EC6FA42D44539B6" />
</node>
<node name="Find 6 Targets" type="FindBestVector" id="2EC6FA42D44539B6">
<property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,Summoned,MapBoss,MapCreature" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="Creep" type="FindBestVector" id="E4A27DC7999D0CBB">
<property name="TargetTypes" valueSource="literal" value="Creep" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="" type="And" id="62BC2688FC223743">
<insertChild id="B3C6826749894534" />
<insertChild id="644F681E781E7A0C" />
</node>
<node name="Find Furthest Target" type="FindBestTarget" id="B3C6826749894534">
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="OutputTarget" value="LightningSurgeTarget" />
<property name="TargetTypes" valueSource="literal" value="Creep,Tower,Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="LifeFractionFactor" valueSource="literal" value="0" />
<property name="ClipCenter" valueSource="intrinsic" value="Self" />
<property name="ClipRadius" valueSource="variable" value="AbilityRange" />
<property name="DistanceFactor" valueSource="literal" value="5" />
<property name="PreferredPointFactor" valueSource="literal" value="-10" />
<property name="PreferredPoint" valueSource="intrinsic" value="Self" />
</node>
<node name="Use Ability" type="Ability" id="644F681E781E7A0C">
<property name="Ability" valueSource="literal" value="AlarakLightningSurge" />
<property name="TargetUnit" valueSource="variable" value="LightningSurgeTarget" />
</node>
<node name="Self > 75%" type="LifeFraction" id="F963D640D48D7EFB">
<property name="LifeFraction" valueSource="literal" value="0.75" />
<property name="Target" valueSource="intrinsic" value="Self" />
</node>
<node name="" type="Or" id="74680C51F7C8915F">
<insertChild id="F963D640D48D7EFB" />
<insertChild id="C31366B409F05C96" />
</node>
<node name="Enemy Nearby" type="UnitCount" id="C31366B409F05C96">
<property name="MaxTargetDistance" valueSource="literal" value="4" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="0" />
<property name="Comparison" valueSource="literal" value="Eq" />
</node>
<node name="No Hero Nearby" type="UnitCount" id="C6A747F5D5B93CC9">
<property name="MaxTargetDistance" valueSource="literal" value="4" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="Comparison" valueSource="literal" value="Eq" />
<insertChild id="79BA86CA85C0B3B2" />
</node>
<node name="Find Group" type="FindBestTarget" id="79BA86CA85C0B3B2">
<property name="TargetTypes" valueSource="literal" value="Creep" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputTarget" value="FirstUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<insertChild id="94DCE53FCA9C0C74" />
</node>
<node name="Find Group" type="FindBestTarget" id="94DCE53FCA9C0C74">
<property name="TargetTypes" valueSource="literal" value="Creep" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputTarget" value="SecondUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="TelekinesisSearchRange" />
<property name="SearchCenter" valueSource="variable" value="FirstUnit" />
<property name="MinTargetDistance" valueSource="literal" value="2" />
<insertChild id="E42975FE56199D19" />
</node>
<node name="" type="UnitPosition" id="E42975FE56199D19">
<property name="InputUnit" valueSource="variable" value="FirstUnit" />
<property name="OutputPosition" value="AbilityVectorStartPoint" />
<insertChild id="F4B4E538E34C95AC" />
</node>
<node name="" type="UnitPosition" id="F4B4E538E34C95AC">
<property name="InputUnit" valueSource="variable" value="SecondUnit" />
<property name="OutputPosition" value="AbilityTargetEndPoint" />
</node>
<node name="Find Group" type="FindBestTarget" id="2E6726072BD742B2">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputTarget" value="FirstUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="MaxLifeFraction" valueSource="literal" value="0.5" />
<insertChild id="8DB5C3A11C6F0FDA" />
</node>
<node name="Find Group" type="FindBestTarget" id="8DB5C3A11C6F0FDA">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputTarget" value="SecondUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="TelekinesisSearchRange" />
<property name="SearchCenter" valueSource="variable" value="FirstUnit" />
<property name="MinTargetDistance" valueSource="literal" value="2" />
<insertChild id="60EC3E12BE89BCE1" />
</node>
<node name="" type="UnitPosition" id="60EC3E12BE89BCE1">
<property name="InputUnit" valueSource="variable" value="FirstUnit" />
<property name="OutputPosition" value="AbilityVectorStartPoint" />
<insertChild id="C1DB9F010DFEF195" />
</node>
<node name="" type="UnitPosition" id="C1DB9F010DFEF195">
<property name="InputUnit" valueSource="variable" value="SecondUnit" />
<property name="OutputPosition" value="AbilityTargetEndPoint" />
</node>
<node name="Find Group" type="FindBestTarget" id="F46026D37466BC34">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputTarget" value="FirstUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="MaxLifeFraction" valueSource="literal" value="0.75" />
<insertChild id="1D3B0181751D16F8" />
</node>
<node name="Find Group" type="FindBestTarget" id="1D3B0181751D16F8">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputTarget" value="SecondUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="TelekinesisSearchRange" />
<property name="SearchCenter" valueSource="variable" value="FirstUnit" />
<property name="MinTargetDistance" valueSource="literal" value="2" />
<insertChild id="FAFDEF8AF1773325" />
</node>
<node name="" type="UnitPosition" id="FAFDEF8AF1773325">
<property name="InputUnit" valueSource="variable" value="FirstUnit" />
<property name="OutputPosition" value="AbilityVectorStartPoint" />
<insertChild id="4ED7AA95652DD271" />
</node>
<node name="" type="UnitPosition" id="4ED7AA95652DD271">
<property name="InputUnit" valueSource="variable" value="SecondUnit" />
<property name="OutputPosition" value="AbilityTargetEndPoint" />
</node>
<node name="Find Group" type="FindBestTarget" id="83D2CEBE7F7D165D">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputTarget" value="FirstUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="MaxLifeFraction" valueSource="literal" value="0.9" />
<insertChild id="A9E3C2F0EC775755" />
</node>
<node name="Find Group" type="FindBestTarget" id="A9E3C2F0EC775755">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputTarget" value="SecondUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="TelekinesisSearchRange" />
<property name="SearchCenter" valueSource="variable" value="FirstUnit" />
<property name="MinTargetDistance" valueSource="literal" value="2" />
<insertChild id="EA3B8EAF0C4FEDFF" />
</node>
<node name="" type="UnitPosition" id="EA3B8EAF0C4FEDFF">
<property name="InputUnit" valueSource="variable" value="FirstUnit" />
<property name="OutputPosition" value="AbilityVectorStartPoint" />
<insertChild id="143FC6EB8B81A2CD" />
</node>
<node name="" type="UnitPosition" id="143FC6EB8B81A2CD">
<property name="InputUnit" valueSource="variable" value="SecondUnit" />
<property name="OutputPosition" value="AbilityTargetEndPoint" />
</node>
<node name="2 Enemy Heroes" type="UnitCount" id="D67995312E704E86">
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="2" />
</node>
<node name="" type="IfElse" id="846A78C18FB0FAD7">
<insertChild id="D67995312E704E86" />
<insertChild id="5C836B3FE2183A71" />
<insertChild id="C789244136A2CBE1" />
</node>
<node name="" type="Or" id="5C836B3FE2183A71">
<insertChild id="F41C20E57BDECC56" />
<insertChild id="FA012F32C22C3E28" />
<insertChild id="126C750D74669473" />
<insertChild id="EE3E36F15E553C83" />
<insertChild id="06C0107B5D82E4AA" />
<insertChild id="2D2129E5B33B07AB" />
</node>
<node name="" type="Or" id="C789244136A2CBE1">
<insertChild id="3A1EB6B73FB756BE" />
<insertChild id="0B08FB7BBBADE0D5" />
<insertChild id="6A5CA70DB8004E5A" />
</node>
<node name="Self > 75%" type="EnergyFraction" id="3A1EB6B73FB756BE">
<property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="BE6B30D5E383ED36" />
</node>
<node name="High Mana Targeting" type="Or" id="BE6B30D5E383ED36">
<insertChild id="6734ED7EDE29A0C8" />
</node>
<node name="Find Group" type="FindBestTarget" id="6734ED7EDE29A0C8">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputTarget" value="FirstUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<insertChild id="54D59E15C3571BAE" />
</node>
<node name="Self < 40%" type="EnergyFraction" id="0B08FB7BBBADE0D5">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="FEC230CBF38EC027" />
</node>
<node name="High Mana Targeting" type="Or" id="FEC230CBF38EC027">
<insertChild id="B9F8F1CA26DE2AD9" />
</node>
<node name="Find Group" type="FindBestTarget" id="B9F8F1CA26DE2AD9">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputTarget" value="FirstUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<insertChild id="684423ACFC533B01" />
</node>
<node name="Self > 40%" type="EnergyFraction" id="6A5CA70DB8004E5A">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="E62E889F44FA6280" />
</node>
<node name="High Mana Targeting" type="Or" id="E62E889F44FA6280">
<insertChild id="20DBC0FA7F5F6A47" />
</node>
<node name="Find Group" type="FindBestTarget" id="20DBC0FA7F5F6A47">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputTarget" value="FirstUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<insertChild id="4881D96000E0A68A" />
</node>
<node name="" type="UnitPosition" id="54D59E15C3571BAE">
<property name="InputUnit" valueSource="variable" value="FirstUnit" />
<property name="OutputPosition" value="AbilityVectorStartPoint" />
<insertChild id="C5278EC61023ED67" />
</node>
<node name="" type="UnitPosition" id="C5278EC61023ED67">
<property name="InputUnit" valueSource="intrinsic" value="Self" />
<property name="OutputPosition" value="AbilityTargetEndPoint" />
</node>
<node name="" type="UnitPosition" id="684423ACFC533B01">
<property name="InputUnit" valueSource="variable" value="FirstUnit" />
<property name="OutputPosition" value="AbilityVectorStartPoint" />
<insertChild id="CDEF553D2066E426" />
</node>
<node name="" type="UnitPosition" id="CDEF553D2066E426">
<property name="InputUnit" valueSource="intrinsic" value="Self" />
<property name="OutputPosition" value="AbilityTargetEndPoint" />
</node>
<node name="" type="UnitPosition" id="4881D96000E0A68A">
<property name="InputUnit" valueSource="variable" value="FirstUnit" />
<property name="OutputPosition" value="AbilityVectorStartPoint" />
<insertChild id="6ED03FA9490905B5" />
</node>
<node name="" type="UnitPosition" id="6ED03FA9490905B5">
<property name="InputUnit" valueSource="intrinsic" value="Self" />
<property name="OutputPosition" value="AbilityTargetEndPoint" />
</node>
<node name="Solo Pull" type="Or" id="2D2129E5B33B07AB">
<insertChild id="F4F68AB002D1EA89" />
</node>
<node name="Find Group" type="FindBestTarget" id="C69DF2674AB368D7">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputTarget" value="FirstUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<insertChild id="BE74501B20D66205" />
</node>
<node name="" type="UnitPosition" id="BE74501B20D66205">
<property name="InputUnit" valueSource="variable" value="FirstUnit" />
<property name="OutputPosition" value="AbilityVectorStartPoint" />
<insertChild id="4A3C5E0FDAF34C37" />
</node>
<node name="" type="UnitPosition" id="4A3C5E0FDAF34C37">
<property name="InputUnit" valueSource="intrinsic" value="Self" />
<property name="OutputPosition" value="AbilityTargetEndPoint" />
</node>
<node name="Fatal" type="FilterLife" id="FA012F32C22C3E28">
<property name="MaxLife" valueSource="lookup" value="Effect,AlarakDiscordStrikeDamage,Amount" />
<insertChild id="C69DF2674AB368D7" />
</node>
<node name="Find Group" type="FindBestTarget" id="F4F68AB002D1EA89">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputTarget" value="FirstUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="MaxLifeFraction" valueSource="literal" value="0.4" />
<insertChild id="B64B53BA4F7AD49A" />
</node>
<node name="" type="UnitPosition" id="B64B53BA4F7AD49A">
<property name="InputUnit" valueSource="variable" value="FirstUnit" />
<property name="OutputPosition" value="AbilityVectorStartPoint" />
<insertChild id="E51C40A590674037" />
</node>
<node name="" type="UnitPosition" id="E51C40A590674037">
<property name="InputUnit" valueSource="intrinsic" value="Self" />
<property name="OutputPosition" value="AbilityTargetEndPoint" />
</node>
<node name="Find 1 Hero" type="FindBestVector" id="09D91EF46DF4E4A1">
<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="MaxLifeFraction" valueSource="literal" value="0.75" />
</node>
<node name="Find 1 Hero" type="FindBestVector" id="A97610B8D274A57B">
<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="MaxLifeFraction" valueSource="literal" value="0.5" />
</node>
<node name="In AOE" type="IsInAOE" id="58AC1C1110E9847B">
<property name="TargetPoint" valueSource="intrinsic" value="Self" />
</node>
<node name="Rakshir" type="FilterBehavior" id="3624BD578BEB4CB9">
<property name="Behavior" valueSource="literal" value="AlarakSadismRiteofRakShirTalentDebuff" />
<property name="BehaviorRequiredCaster" valueSource="intrinsic" value="Self" />
<property name="StackComparison" valueSource="literal" value="GE" />
<property name="StackCount" valueSource="literal" value="1" />
<insertChild id="5DE02E6FBE3FC330" />
</node>
<node name="Find 1 Hero" type="FindBestVector" id="5DE02E6FBE3FC330">
<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" />
</node>
<node name="" type="Or" id="AEC6D44F875485CB">
<insertChild id="F1FA927B09C4052C" />
<insertChild id="58AC1C1110E9847B" />
</node>
<node name="No Enemy Near" type="UnitCount" id="86BDAA114BD774D3">
<property name="MaxTargetDistance" valueSource="literal" value="5" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetCount" valueSource="literal" value="0" />
<property name="Comparison" valueSource="literal" value="Eq" />
<property name="TargetTypes" valueSource="literal" value="" />
</node>
<node name="Find 2 Heroes" type="FindBestVector" id="AB3AA4DE06524432">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeMaxRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="MaxLifeFraction" valueSource="literal" value="0.75" />
</node>
<node name="Find 1 near Fatal" type="FindBestVector" id="6F790AA6015219A7">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeMaxRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxLifeFraction" valueSource="literal" value="0.5" />
<insertChild id="1601BEC0217D3E21" />
</node>
<node name="Fatal" type="FilterLife" id="2FFC622032320A17">
<property name="MaxLife" valueSource="lookup" value="Effect,AlarakDeadlyChargeDamage,Amount" />
<insertChild id="38F79CDE2312C236" />
</node>
<node name="Chaos Reigns" type="UnitHasTalent" id="91315B81703BFCFC">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Talent" valueSource="literal" value="AlarakChaosReigns" />
<insertChild id="D32FEB67BD0B8AC8" />
</node>
<node name="Fatal" type="FilterLife" id="83CBB13EACAB3861">
<property name="MaxLife" valueSource="lookup" value="Effect,AlarakLightningSurgeTargetDamage,Amount" />
<insertChild id="E8BDA3FB785E0E92" />
</node>
<node name="Find Target" type="FindBestTarget" id="E8BDA3FB785E0E92">
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="OutputTarget" value="LightningSurgeTarget" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="LifeFractionFactor" valueSource="literal" value="0" />
<property name="DistanceFactor" valueSource="literal" value="0" />
</node>
<node name="Fatal" type="FilterLife" id="3CD68FCBF466CB17">
<property name="MaxLife" valueSource="lookup" value="Effect,AlarakLightningSurgeTargetDamage,Amount" />
<insertChild id="3AFAAB06B949702A" />
</node>
<node name="Find Target" type="FindBestTarget" id="3AFAAB06B949702A">
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="OutputTarget" value="LightningSurgeTarget" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="LifeFractionFactor" valueSource="literal" value="0" />
<property name="DistanceFactor" valueSource="literal" value="0" />
</node>
<node name="" type="IfElse" id="7594803D45800770">
<insertChild id="BFFC54C463A68CDE" />
<insertChild id="B083483A82D70114" />
<insertChild id="C8A0B760B012138F" />
</node>
<node name="Find Biggest AOE Group" type="FindBestAOEPoint" id="BFFC54C463A68CDE">
<property name="TargetTypes" valueSource="literal" value="Enemy" />
<property name="RequiredTypes" valueSource="literal" value="Heroic" />
<property name="MaxTargetDistance" valueSource="literal" value="10" />
<property name="AOERadius" valueSource="literal" value="4" />
<property name="OutputTarget" value="BestAOEPoint" />
<insertChild id="E39851D9128A1327" />
</node>
<node name="Enemy Nearby" type="UnitCount" id="E39851D9128A1327">
<property name="MaxTargetDistance" valueSource="literal" value="4" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="SearchCenter" valueSource="variable" value="BestAOEPoint" />
<property name="OutputCount" value="BestAOEPointCount" />
</node>
<node name="" type="Or" id="B083483A82D70114">
<insertChild id="DC1A5AD30B65CC90" />
<insertChild id="2563110E9DE7BA92" />
<insertChild id="5719167970EF5627" />
<insertChild id="E096FC48605769BE" />
<insertChild id="A185CC9865A14369" />
</node>
<node name="Max Hit" type="FindBestVector" id="DC1A5AD30B65CC90">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="variable" value="BestAOEPointCount" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="AOE Count 1" type="CompareNumber" id="2563110E9DE7BA92">
<property name="LeftHandSide" valueSource="variable" value="BestAOEPointCount" />
<property name="RightHandSide" valueSource="literal" value="1" />
<insertChild id="2AA81B93B44163D9" />
</node>
<node name="Hit 1" type="FindBestVector" id="2AA81B93B44163D9">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="AOE Count 2" type="CompareNumber" id="5719167970EF5627">
<property name="LeftHandSide" valueSource="variable" value="BestAOEPointCount" />
<property name="RightHandSide" valueSource="literal" value="2" />
<insertChild id="CEE367C2226A2D58" />
</node>
<node name="Try and Hit 2" type="FindBestVector" id="CEE367C2226A2D58">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="AOE Count 3" type="CompareNumber" id="E096FC48605769BE">
<property name="LeftHandSide" valueSource="variable" value="BestAOEPointCount" />
<property name="RightHandSide" valueSource="literal" value="3" />
<insertChild id="2E4EEF3D6EFE25D1" />
</node>
<node name="Try and Hit 2" type="FindBestVector" id="2E4EEF3D6EFE25D1">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="AOE Count 4" type="CompareNumber" id="A185CC9865A14369">
<property name="LeftHandSide" valueSource="variable" value="BestAOEPointCount" />
<property name="RightHandSide" valueSource="literal" value="4" />
<insertChild id="C8E4FE5A1885F568" />
</node>
<node name="Try and Hit 2" type="FindBestVector" id="C8E4FE5A1885F568">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="3" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="" type="Or" id="C8A0B760B012138F">
<insertChild id="CE1710416E1316CF" />
<insertChild id="028C6493C8753C3C" />
</node>
<node name="Self < 40%" type="EnergyFraction" id="CE1710416E1316CF">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Comparison" valueSource="literal" value="GT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="907B5FFA1CE034A4" />
</node>
<node name="Find 6 Targets" type="FindBestVector" id="907B5FFA1CE034A4">
<property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,Summoned,MapBoss,MapCreature" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="Creep" type="FindBestVector" id="028C6493C8753C3C">
<property name="TargetTypes" valueSource="literal" value="Creep" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
</node>
<node name="Start Surge Delay Timer" type="TimerStart" id="1C3BC498C051C94A">
<property name="OutputFinishTime" value="SurgeDelayTimer" />
<property name="DurationSeconds" valueSource="literal" value="1.75" />
<insertChild id="B5121289B1B50082" />
</node>
<node name="Delay Over" type="TimerFinished" id="0A5E76F10BF98F9C">
<property name="FinishTime" valueSource="variable" value="SurgeDelayTimer" />
<insertChild id="6CE63036775A5434" />
</node>
<node name="Use Ability" type="Ability" id="BDDD00C752286A72">
<property name="Ability" valueSource="literal" value="AlarakLightningSurgeLightningBarrage" />
<property name="TargetUnit" valueSource="variable" value="LightningSurgeTarget" />
</node>
<node name="Discord Strike" type="AbilityUsable" id="15C72E3EB5D245CD">
<property name="Ability" valueSource="literal" value="AlarakDiscordStrike" />
</node>
<node name="Use Ability" type="Ability" id="591337E11E7A160B">
<property name="Ability" valueSource="literal" value="AlarakDiscordStrike" />
<property name="TargetPoint" valueSource="variable" value="AbilityVectorStartPoint" />
</node>
<node name="Use Ability" type="Ability" id="4198DC9467B96FE2">
<property name="Ability" valueSource="literal" value="AlarakDiscordStrike" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetEndPoint" />
</node>
<node name="Find 1 Hero" type="FindBestVector" id="5A95609026275327">
<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" />
</node>
<node name="Quest Not Complete" type="Validator" id="D32FEB67BD0B8AC8">
<property name="Validator" valueSource="literal" value="AlarakDoesNotHave15TokensChaosReignsDisplay" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="5A95609026275327" />
</node>
<node name="Stun/Slow/Root" type="FilterBehaviorCategory" id="064C4E8830D6DE84">
<property name="Categories" valueSource="literal" value="Slow,Stun,Sleeping,DebuffRoot" />
<insertChild id="564DDD6BE40166CC" />
</node>
<node name="Find 1 Hero" type="FindBestVector" id="564DDD6BE40166CC">
<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" />
</node>
<node name="Stun/Slow/Root" type="FilterBehaviorCategory" id="3AC0BFDB411FD873">
<property name="Categories" valueSource="literal" value="Slow,Stun,Sleeping,DebuffRoot" />
<insertChild id="43B8C3031A5691EF" />
</node>
<node name="" type="And" id="F41C20E57BDECC56">
<insertChild id="3AC0BFDB411FD873" />
<insertChild id="1B03CB48CD15A23A" />
</node>
<node name="Find Group" type="FindBestTarget" id="43B8C3031A5691EF">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputTarget" value="FirstUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
</node>
<node name="Find Group" type="FindBestTarget" id="1B03CB48CD15A23A">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputTarget" value="SecondUnit" />
<property name="MaxTargetDistance" valueSource="variable" value="TelekinesisSearchRange" />
<property name="SearchCenter" valueSource="variable" value="FirstUnit" />
<property name="MinTargetDistance" valueSource="literal" value="2" />
<insertChild id="EDCCEA44A9D4F820" />
</node>
<node name="" type="UnitPosition" id="EDCCEA44A9D4F820">
<property name="InputUnit" valueSource="variable" value="SecondUnit" />
<property name="OutputPosition" value="AbilityVectorStartPoint" />
<insertChild id="D1B10246FA4EF5F6" />
</node>
<node name="" type="UnitPosition" id="D1B10246FA4EF5F6">
<property name="InputUnit" valueSource="variable" value="FirstUnit" />
<property name="OutputPosition" value="AbilityTargetEndPoint" />
</node>
<node name="" type="IfElse" id="B4830738BAC049F1">
<insertChild id="F0C82510853B8537" />
<insertChild id="8756BD50EE07CDF7" />
<insertChild id="ADDF7DC5D3F0A566" />
</node>
<node name="" type="And" id="F0C82510853B8537">
<insertChild id="2A16FBF7B4C47C9E" />
</node>
<node name="Telekinesis" type="AbilityUsable" id="92C5684791858BDB" 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="AlarakTelekinesis" />
<insertChild id="2DD8AEE6C092CCA3" />
</node>
<node name="Save Ally" type="And" id="2DD8AEE6C092CCA3">
<variable name="TelekinesisRange" type="Number" value="6" />
<variable name="TelekinesisStart" type="Point" />
<variable name="TelekinesisEnd" type="Point" />
<variable name="TelekinesisOffset" type="Number" value="0.5" />
<variable name="AllyToSave" type="Unit" />
<variable name="EnemyToMove" type="Unit" />
<insertChild id="16BBB04CB5E01667" />
<insertChild id="9700CFC6F7557AFB" />
<insertChild id="F09425BF58BFA128" />
<insertChild id="0196A45BADC5B297" />
</node>
<node name="Find Points" type="FindPointOnLine" id="F09425BF58BFA128">
<property name="SourceUnit" valueSource="variable" value="EnemyToMove" />
<property name="DestinationUnit" valueSource="variable" value="AllyToSave" />
<property name="DistanceOffset" valueSource="literal" value="1" />
<property name="OutputTarget" value="TelekinesisStart" />
<insertChild id="06106AD2D7FB3812" />
</node>
<node name="telekin" type="Ability" id="0196A45BADC5B297">
<property name="Ability" valueSource="literal" value="AlarakTelekinesis" />
<property name="TargetPoint" valueSource="variable" value="TelekinesisStart" />
<property name="VectorEndPoint" valueSource="variable" value="TelekinesisEnd" />
</node>
<node name="Find Ally to Save" type="FindBestTarget" id="16BBB04CB5E01667">
<property name="MaxTargetDistance" valueSource="variable" value="TelekinesisRange" />
<property name="OutputTarget" value="AllyToSave" />
<property name="MaxLifeFraction" valueSource="literal" value="0.25" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Ally" />
</node>
<node name="Find Enemy Nearby" type="FindBestTarget" id="9700CFC6F7557AFB">
<property name="MaxTargetDistance" valueSource="literal" value="10" />
<property name="OutputTarget" value="EnemyToMove" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="SearchCenter" valueSource="variable" value="AllyToSave" />
<property name="ClipCenter" valueSource="intrinsic" value="Self" />
<property name="ClipRadius" valueSource="literal" value="10" />
</node>
<node name="Find Points" type="FindPointOnLine" id="06106AD2D7FB3812">
<property name="SourceUnit" valueSource="variable" value="EnemyToMove" />
<property name="DestinationUnit" valueSource="variable" value="AllyToSave" />
<property name="DistanceOffset" valueSource="literal" value="-10" />
<property name="OutputTarget" value="TelekinesisEnd" />
</node>
<node name="" type="Or" id="4AC99C983764D1DD">
<insertChild id="06ED2322A316CCBA" />
<insertChild id="34817C5C030B27E2" />
</node>
<node name="Use Ability" type="Ability" id="34817C5C030B27E2">
<property name="Ability" valueSource="literal" value="AlarakCounterStrikeTargeted2ndHeroic" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="Use Ability" type="Ability" id="06ED2322A316CCBA">
<property name="Ability" valueSource="literal" value="AlarakCounterStrikeTargeted" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="Hold Position" type="Running" id="ADDF7DC5D3F0A566" />
<node name="Find 1 Fatal No enemies Nearby" type="FindBestVector" id="38F79CDE2312C236">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MissileRadius" valueSource="variable" value="AbilityMissileRadius" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="DeadlyChargeMaxRange" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MinTargets" valueSource="literal" value="1" />
</node>
<node name="" type="FindBestTarget" id="1601BEC0217D3E21">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputTarget" value="EnemyTarget" />
<property name="SearchCenter" valueSource="variable" value="AbilityTargetPoint" />
<property name="ClipCenter" valueSource="intrinsic" value="Self" />
<property name="ClipRadius" valueSource="variable" value="DeadlyChargeMaxRange" />
<property name="MaxTargetDistance" valueSource="variable" value="DeadlyChargeMaxRange" />
<property name="MaxLifeFraction" valueSource="literal" value="0.5" />
</node>
<node name="" type="Sequence" id="2B47249910368967">
<property name="IgnoreChildFailures" valueSource="literal" value="true" />
<insertChild id="A476F839C9376A6B" />
</node>
<node name="RakShir" type="AbilityUsable" id="A476F839C9376A6B" 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="AlarakRiteofRakShir" />
<insertChild id="DC6A64DB4BDBD391" />
</node>
<node name="Base Node" type="Or" id="DC6A64DB4BDBD391" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="RakshirRange" type="Number" valueSource="lookup" value="Abil,AlarakRiteofRakShir,Range" comment="Range of the Ability" />
<variable name="AbilityTargetUnit" type="Unit" comment="Target to Use Ability on" />
<insertChild id="547B000AF4163BE1" />
<insertChild id="D6BE7DFC2B6A13A5" />
</node>
<node name="Use Ability" type="AbilityEnqueue" id="8D0B0458F3A76D0B">
<property name="Ability" valueSource="literal" value="AlarakRiteofRakShir" />
<property name="TargetUnit" valueSource="variable" value="FirstUnit" />
</node>
<node name="Low Target" type="LifeFraction" id="547B000AF4163BE1">
<property name="Comparison" valueSource="literal" value="LT" />
<property name="LifeFraction" valueSource="literal" value="0.25" />
<property name="Target" valueSource="variable" value="FirstUnit" />
<insertChild id="8D0B0458F3A76D0B" />
</node>
<node name="Low Target" type="LifeFraction" id="D6BE7DFC2B6A13A5">
<property name="LifeFraction" valueSource="literal" value="0.25" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="variable" value="SecondUnit" />
<insertChild id="D2EA922567D4D7FC" />
</node>
<node name="Use Ability" type="AbilityEnqueue" id="D2EA922567D4D7FC">
<property name="Ability" valueSource="literal" value="AlarakRiteofRakShir" />
<property name="TargetUnit" valueSource="variable" value="SecondUnit" />
</node>
<node name="Is In Danger" type="IsInDanger" id="564AE9DC1F76327C" />
<node name="" type="Sequence" id="4149CCD9C2054A5E">
<property name="IgnoreChildFailures" valueSource="literal" value="true" />
<insertChild id="08924B262BEB0A8A" />
</node>
<node name="Timer1" type="TimerStart" id="08924B262BEB0A8A">
<property name="DurationSeconds" valueSource="literal" value="0.4375" />
<property name="OutputFinishTime" value="DeadlyChargeTimer1" />
<insertChild id="865727800BC28910" />
</node>
<node name="Timer2" type="TimerStart" id="865727800BC28910">
<property name="DurationSeconds" valueSource="literal" value="0.8125" />
<property name="OutputFinishTime" value="DeadlyChargeTimer2" />
<insertChild id="00858381EFAE702A" />
</node>
<node name="Timer3" type="TimerStart" id="00858381EFAE702A">
<property name="DurationSeconds" valueSource="literal" value="1.125" />
<property name="OutputFinishTime" value="DeadlyChargeTimer3" />
<insertChild id="627158D2F61A90D6" />
</node>
<node name="Timer4" type="TimerStart" id="627158D2F61A90D6">
<property name="DurationSeconds" valueSource="literal" value="1.5" />
<property name="OutputFinishTime" value="DeadlyChargeTimer4" />
<insertChild id="A95CA1D1F48A7459" />
</node>
<node name="4 Range" type="SetNumber" id="45088567BFE3F41F">
<property name="Variable" value="DeadlyChargeRange" />
<property name="Value" valueSource="literal" value="4" />
</node>
<node name="TimeoutTimer" type="TimerStart" id="A95CA1D1F48A7459">
<property name="DurationSeconds" valueSource="literal" value="5" />
<property name="OutputFinishTime" value="DeadlyChargeTimeOutTimer" />
</node>
<node name="Deadly Time Expire" type="TimerFinished" id="0D9C492A1189A231">
<property name="FinishTime" valueSource="variable" value="DeadlyChargeTimeOutTimer" />
<variable name="CancelPoint" type="Point" />
<insertChild id="3F7975D8D7EE20EE" />
</node>
<node name="" type="FindPointOnLine" id="3F7975D8D7EE20EE">
<property name="SourceUnit" valueSource="intrinsic" value="Self" />
<property name="DestinationPoint" valueSource="intrinsic" value="SelfPos" />
<property name="DistanceOffset" valueSource="literal" value="0.1" />
<property name="OutputTarget" value="CancelPoint" />
<insertChild id="01D734A308B0D173" />
</node>
<node name="Use Ability" type="Ability" id="01D734A308B0D173">
<property name="Ability" valueSource="literal" value="move" />
<property name="TargetPoint" valueSource="variable" value="CancelPoint" />
</node>
<node name="Is In Danger" type="IsInDanger" id="E6CABD58671075C8" />
</tree>