<?xml version="1.0" encoding="us-ascii"?>
<tree>
<include file="AI/HeroMutator.aitree" />
<mod id="746F6F526F726548">
<insertChild id="E7620940434E9EAD" before="" />
</mod>
<mod id="87811D772E337EB7">
<insertChild id="74D6BF0C9C5B0A12" />
<insertChild id="7B68C72D75809EF2" />
<insertChild id="612B4CC6B7E73272" />
<insertChild id="984D3409B0ADC8ED" />
<insertChild id="1BE4581F62C6E4B4" />
<insertChild id="8E61F7A5C5E7A32B" />
<insertChild id="8EE06C46ACF6FEB4" />
</mod>
<mod id="93D883AF1FB031B1">
<insertChild id="F21BCB9B06948439" />
</mod>
<mod id="A4058AA255280C17">
<insertChild id="662E02F42AB7142A" />
</mod>
<mod id="F21BCB9B06948439">
<insertChild id="39237F1AF1D44AB7" />
<insertChild id="B15C12B149A571D4" />
<insertChild id="FE541A6AD0C9EB75" />
<insertChild id="084F7A92464EA117" />
<insertChild id="96EADC13AE89C022" />
<insertChild id="B0C3E16963446AB0" />
<insertChild id="3241CA86ED140266" />
<insertChild id="5F562D5D982556B8" />
<insertChild id="D030C0FBDD5633BA" />
</mod>
<node name="1st Fel Claws" type="AbilityUsable" id="984D3409B0ADC8ED" 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="MalGanisFelClawsFirst" />
<insertChild id="29BB788C6FE386C7" />
</node>
<node name="Base Node" type="And" id="29BB788C6FE386C7" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" value="4.5" comment="Range of the Ability" />
<variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
<variable name="AbilityMissileRadius" type="Number" valueSource="lookup" value="Effect,MalGanisFelClawsRectangleSearch,AreaArray[0].RectangleWidth" 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.65" comment="High Mana ThreshHold" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.25" comment="Low Mana ThreshHold" />
<variable name="AbilityDamage" type="Number" valueSource="lookup" value="Effect,MalGanisFelClawsDamage,Amount" />
<insertChild id="C93CE0915A551D23" />
<insertChild id="B3DBBEEAF2F63546" />
</node>
<node name="" type="Or" id="C93CE0915A551D23">
<insertChild id="95D03B89D17E05E5" />
<insertChild id="652F41A53BB8316A" />
</node>
<node name="Elite" type="Difficulty" id="95D03B89D17E05E5">
<insertChild id="320764EDEDC0BE16" />
</node>
<node name="" type="Or" id="320764EDEDC0BE16">
<insertChild id="CB3ACE14F996001D" />
<insertChild id="5C0B1D892FBD34C1" />
</node>
<node name="Debuffed" type="FilterBehaviorCategory" id="CB3ACE14F996001D">
<property name="Categories" valueSource="literal" value="Stun,KnockedOut,DebuffRoot,Taunt" />
<property name="ExcludeCategories" valueSource="literal" value="Sleeping" />
<insertChild id="0C9562DF1F117770" />
</node>
<node name="Fatal Damage" type="FilterLife" id="5C0B1D892FBD34C1">
<property name="MaxLife" valueSource="variable" value="AbilityDamage" />
<insertChild id="BB2BF633728B81B7" />
</node>
<node name="PvP/PvE" type="IfElse" id="652F41A53BB8316A">
<insertChild id="3E6653275DDF46E7" />
<insertChild id="56B9EF173CB79F79" />
<insertChild id="A056A8C1B87E9F5B" />
</node>
<node name="Enemy Is Nearby" type="CompareNumber" id="3E6653275DDF46E7">
<property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
<property name="Comparison" valueSource="literal" value="GE" />
<property name="RightHandSide" valueSource="literal" value="1" />
</node>
<node name="PVP Targeting Node" type="Or" id="3D51AF29E7EEBDBC">
<insertChild id="9521918C6EBEEFE9" />
<insertChild id="A9142E89800073BD" />
</node>
<node name="> Low Mana" type="EnergyFraction" id="9521918C6EBEEFE9">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="92FFA8F75DB048D4" />
</node>
<node name="High Mana Targeting" type="Or" id="92FFA8F75DB048D4">
<insertChild id="566B2B517BCB37EB" />
<insertChild id="10886F2FA37A451F" />
</node>
<node name="< Low Mana" type="EnergyFraction" id="A9142E89800073BD">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="16CD81208116A816" />
</node>
<node name="Low Mana Targeting" type="Or" id="16CD81208116A816">
<insertChild id="51FB4A85D9FD3DA8" />
<insertChild id="C3E0B04CF6807BD9" />
</node>
<node name="PVE Targeting Node" type="Or" id="A056A8C1B87E9F5B">
<insertChild id="2E46BB409C47E37B" />
<insertChild id="2D32567A37FCDE1F" />
</node>
<node name="High Mana" type="EnergyFraction" id="2E46BB409C47E37B">
<property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="BF560721CC0C712A" />
</node>
<node name="High Mana Targeting" type="Or" id="BF560721CC0C712A">
<insertChild id="67D31E2AA87B8DD9" />
</node>
<node name="Low Mana" type="EnergyFraction" id="2D32567A37FCDE1F">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="6669D05971C18C28" />
</node>
<node name="Medium Mana Targeting" type="Or" id="6669D05971C18C28">
<insertChild id="F0B8EC5E90B722F4" />
</node>
<node name="Use Ability" type="Ability" id="B3DBBEEAF2F63546">
<property name="Ability" valueSource="literal" value="MalGanisFelClawsFirst" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="GE 65%" type="LifeFraction" id="51FB4A85D9FD3DA8">
<property name="LifeFraction" valueSource="literal" value="0.65" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="6AF7CA1CE66FE70F" />
</node>
<node name="LT 65%" type="LifeFraction" id="C3E0B04CF6807BD9">
<property name="LifeFraction" valueSource="literal" value="0.65" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="55D866373B0068C9" />
</node>
<node name="2nd Fel Claws" type="AbilityUsable" id="1BE4581F62C6E4B4" 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="MalGanisFelClawsSecond" />
<insertChild id="23CCB6D20E5EF252" />
</node>
<node name="3rd Fel Claws" type="AbilityUsable" id="8E61F7A5C5E7A32B" 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="MalGanisFelClawsThird" />
<insertChild id="1ADDD64F3BB0CA98" />
</node>
<node name="GE 85%" type="LifeFraction" id="566B2B517BCB37EB">
<property name="LifeFraction" valueSource="literal" value="0.85" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="90D8200478D595DD" />
</node>
<node name="" type="Or" id="90D8200478D595DD">
<insertChild id="56403472B9E50613" />
<insertChild id="D17B14EB2D1A966A" />
<insertChild id="EB44A6EBA5ED1071" />
<insertChild id="EB5D1537981370A1" />
<insertChild id="4AA4172E2E6C68A1" />
</node>
<node name="2 Heroes" type="FindBestVector" id="D17B14EB2D1A966A">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="5 Units" type="FindBestVector" id="EB5D1537981370A1">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="5" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature" />
</node>
<node name="LT 5 Units" type="UnitCount" id="4AA4172E2E6C68A1">
<property name="Comparison" valueSource="literal" value="LT" />
<property name="TargetCount" valueSource="literal" value="5" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<insertChild id="DBEC8EB4DFCD1362" />
</node>
<node name="Any Hero" type="FindBestVector" id="DBEC8EB4DFCD1362">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="LT 85%" type="LifeFraction" id="10886F2FA37A451F">
<property name="LifeFraction" valueSource="literal" value="0.85" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="5CD11FFCB0791F0F" />
</node>
<node name="" type="Or" id="5CD11FFCB0791F0F">
<insertChild id="C54541153227FD6C" />
<insertChild id="4BC91C92F9E407F6" />
<insertChild id="1371B961BD5C708F" />
<insertChild id="AD0AC138105479AE" />
<insertChild id="06CCA1CB138C9B96" />
<insertChild id="3B5B073BA2BB0509" />
</node>
<node name="GE 30%" type="LifeFraction" id="C54541153227FD6C">
<property name="LifeFraction" valueSource="literal" value="0.3" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="72F261B9F902B9F9" />
</node>
<node name="3 Heroes" type="FindBestVector" id="4BC91C92F9E407F6">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="3" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="2 Heroes" type="FindBestVector" id="8301F84300771A83">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="6 Units" type="FindBestVector" id="06CCA1CB138C9B96">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="6" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature" />
</node>
<node name="LT 5 Units" type="UnitCount" id="3B5B073BA2BB0509">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetCount" valueSource="literal" value="5" />
<property name="Comparison" valueSource="literal" value="LE" />
<insertChild id="165AF166F79D4346" />
</node>
<node name="Any Hero" type="FindBestVector" id="165AF166F79D4346">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="" type="Or" id="6AF7CA1CE66FE70F">
<insertChild id="FA2582C1ECCAAF47" />
<insertChild id="1FB49B5EF3535AB7" />
<insertChild id="400F39FF97F40A2D" />
<insertChild id="9C9B937D9A0E4FB7" />
<insertChild id="F412C2E3241C36F0" />
</node>
<node name="2 Heroes" type="FindBestVector" id="1FB49B5EF3535AB7">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="5 Units" type="FindBestVector" id="9C9B937D9A0E4FB7">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="5" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature" />
</node>
<node name="LT 5 Units" type="UnitCount" id="F412C2E3241C36F0">
<property name="Comparison" valueSource="literal" value="LT" />
<property name="TargetCount" valueSource="literal" value="5" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<insertChild id="65112494A6336192" />
</node>
<node name="Any Hero" type="FindBestVector" id="65112494A6336192">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="Necrotic Embrace" type="AbilityUsable" id="612B4CC6B7E73272" 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="MalGanisNecroticEmbrace" />
<insertChild id="15EF17CCCA998C79" />
</node>
<node name="Base Node" type="And" id="15EF17CCCA998C79" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" valueSource="lookup" value="Effect,MalGanisNecroticEmbraceSearch,AreaArray[0].Radius" comment="Range of the Ability" />
<variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
<variable name="AbilityMissilePierceCount" type="Number" comment="Number of Blockers this can go through" />
<variable name="AbilityHighManaThreshHold" type="Number" value="0.65" comment="High Mana ThreshHold" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.25" comment="Low Mana ThreshHold" />
<variable name="AbilityDamage" type="Number" valueSource="lookup" value="Effect,MalGanisNecroticEmbraceDamage,Amount" />
<insertChild id="05CE5825140AC728" />
<insertChild id="01951EA63A465CCC" />
</node>
<node name="" type="Or" id="05CE5825140AC728">
<insertChild id="5C5E19AE95D3163A" />
<insertChild id="A3E4340387BD4D17" />
</node>
<node name="Elite" type="Difficulty" id="5C5E19AE95D3163A">
<insertChild id="B106405D38E2214C" />
</node>
<node name="" type="Or" id="B106405D38E2214C">
<insertChild id="AE9CD9F15DBD84E3" />
</node>
<node name="Fatal Damage" type="FilterLife" id="AE9CD9F15DBD84E3">
<property name="MaxLife" valueSource="variable" value="AbilityDamage" />
<insertChild id="C46CD8E277D1A8FD" />
</node>
<node name="PvP/PvE" type="IfElse" id="A3E4340387BD4D17">
<insertChild id="6DA05B56ABE880DC" />
<insertChild id="5EA84AF008B35AF3" />
<insertChild id="CFBB716AD0A25ECF" />
</node>
<node name="Enemy Is Nearby" type="CompareNumber" id="6DA05B56ABE880DC">
<property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
<property name="Comparison" valueSource="literal" value="GE" />
<property name="RightHandSide" valueSource="literal" value="1" />
</node>
<node name="PVP Targeting Node" type="Or" id="C4A73D183B6BDDF3">
<insertChild id="1206CD22FEB0CBBF" />
<insertChild id="F36C0C46D9D6A5D2" />
</node>
<node name="> Low Mana" type="EnergyFraction" id="1206CD22FEB0CBBF">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="7B48BE2DD6333E59" />
</node>
<node name="High Mana Targeting" type="Or" id="7B48BE2DD6333E59">
<insertChild id="BF098C8192C478C1" />
<insertChild id="608850E99D7F8BDD" />
</node>
<node name="GE 75%" type="LifeFraction" id="BF098C8192C478C1">
<property name="LifeFraction" valueSource="literal" value="0.75" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="586E69B76760AE35" />
</node>
<node name="" type="Or" id="586E69B76760AE35">
<insertChild id="8758A3E8E97EA664" />
<insertChild id="FE58ECE6BF8DFD62" />
<insertChild id="5673A23A2B6108BD" />
<insertChild id="239A5F3965D4485D" />
</node>
<node name="GE 2 Units" type="UnitCount" id="239A5F3965D4485D">
<property name="TargetCount" valueSource="literal" value="2" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<insertChild id="A8056CF30124C0C8" />
</node>
<node name="LT 75%" type="LifeFraction" id="608850E99D7F8BDD">
<property name="LifeFraction" valueSource="literal" value="0.75" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="FF6244B276C17951" />
</node>
<node name="" type="Or" id="FF6244B276C17951">
<insertChild id="F488FB272B00DF0C" />
<insertChild id="AE23EC1693562C4F" />
<insertChild id="4AA11E58AA900EC9" />
<insertChild id="B709014C5DC0CA55" />
<insertChild id="8BE6E14895497C7E" />
</node>
<node name="GE 30%" type="LifeFraction" id="F488FB272B00DF0C">
<property name="LifeFraction" valueSource="literal" value="0.3" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="F5A0122B154B1F0B" />
</node>
<node name="6 Units" type="FindBestVector" id="B709014C5DC0CA55">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="6" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature" />
</node>
<node name="< Low Mana" type="EnergyFraction" id="F36C0C46D9D6A5D2">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Comparison" valueSource="literal" value="LT" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="29AB66DBCF2B9F0D" />
</node>
<node name="Low Mana Targeting" type="Or" id="29AB66DBCF2B9F0D">
<insertChild id="124724E22E956609" />
<insertChild id="AEBF7F73962D6DD3" />
</node>
<node name="GE 65%" type="LifeFraction" id="124724E22E956609">
<property name="LifeFraction" valueSource="literal" value="0.65" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="E831A30A43B45AD3" />
</node>
<node name="LT 65%" type="LifeFraction" id="AEBF7F73962D6DD3">
<property name="LifeFraction" valueSource="literal" value="0.65" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="B898733A543A8A69" />
</node>
<node name="PVE Targeting Node" type="Or" id="CFBB716AD0A25ECF">
<insertChild id="81A43B89262EB0B7" />
<insertChild id="D0D6FBCF3BA0ED76" />
</node>
<node name="High Mana" type="EnergyFraction" id="81A43B89262EB0B7">
<property name="EnergyFraction" valueSource="variable" value="AbilityHighManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="DC598F660D6CF53A" />
</node>
<node name="High Mana Targeting" type="Or" id="DC598F660D6CF53A">
<insertChild id="BDBFF5E96309C45D" />
</node>
<node name="Low Mana" type="EnergyFraction" id="D0D6FBCF3BA0ED76">
<property name="EnergyFraction" valueSource="variable" value="AbilityLowManaThreshHold" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="FEA7C24D2139288C" />
</node>
<node name="Medium Mana Targeting" type="Or" id="FEA7C24D2139288C">
<insertChild id="52B6D7B9EE1F2BFC" />
</node>
<node name="Use Ability" type="Ability" id="01951EA63A465CCC">
<property name="Ability" valueSource="literal" value="MalGanisNecroticEmbrace" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="Weak Hero" type="UnitCount" id="8758A3E8E97EA664">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="MaxLifeFraction" valueSource="literal" value="0.3" />
</node>
<node name="2 Heroes" type="UnitCount" id="40BA04F946D24E05">
<property name="TargetCount" valueSource="literal" value="2" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
</node>
<node name="LT 55%" type="LifeFraction" id="1371B961BD5C708F">
<property name="LifeFraction" valueSource="literal" value="0.55" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="8301F84300771A83" />
</node>
<node name="" type="Or" id="55D866373B0068C9">
<insertChild id="E22AC14CF041D715" />
<insertChild id="8B60D6536EB0BA1F" />
<insertChild id="F6D8D03C6CFFD58F" />
<insertChild id="80BEB301CDF8150D" />
<insertChild id="73838D7F105C6C9B" />
<insertChild id="78A37F6A14E15EA4" />
</node>
<node name="GE 30%" type="LifeFraction" id="E22AC14CF041D715">
<property name="LifeFraction" valueSource="literal" value="0.3" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="6BDC6A429CE162C3" />
</node>
<node name="3 Heroes" type="FindBestVector" id="8B60D6536EB0BA1F">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="3" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="LT 55%" type="LifeFraction" id="F6D8D03C6CFFD58F">
<property name="LifeFraction" valueSource="literal" value="0.55" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="1376970A3DBE6786" />
</node>
<node name="2 Heroes" type="FindBestVector" id="1376970A3DBE6786">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="6 Units" type="FindBestVector" id="73838D7F105C6C9B">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="6" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature" />
</node>
<node name="LT 5 Units" type="UnitCount" id="78A37F6A14E15EA4">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetCount" valueSource="literal" value="5" />
<property name="Comparison" valueSource="literal" value="LE" />
<insertChild id="77C6873A23BCC1E5" />
</node>
<node name="Any Hero" type="FindBestVector" id="77C6873A23BCC1E5">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="5 Units" type="UnitCount" id="3B1B2D9FF2F6297D">
<property name="TargetCount" valueSource="literal" value="5" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
</node>
<node name="1 Hero" type="UnitCount" id="A8056CF30124C0C8">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
</node>
<node name="Weak Hero" type="UnitCount" id="F5A0122B154B1F0B">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="MaxLifeFraction" valueSource="literal" value="0.3" />
</node>
<node name="3 Heroes" type="UnitCount" id="AE23EC1693562C4F">
<property name="TargetCount" valueSource="literal" value="3" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
</node>
<node name="LT 55%" type="LifeFraction" id="4AA11E58AA900EC9">
<property name="LifeFraction" valueSource="literal" value="0.55" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="853CC1AFA10FE0FD" />
</node>
<node name="2 Heroes" type="UnitCount" id="853CC1AFA10FE0FD">
<property name="TargetCount" valueSource="literal" value="2" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
</node>
<node name="GE 2 Units" type="UnitCount" id="8BE6E14895497C7E">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetCount" valueSource="literal" value="2" />
<insertChild id="2E2C24F485364CEB" />
</node>
<node name="1 Hero" type="UnitCount" id="2E2C24F485364CEB">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetCount" valueSource="literal" value="1" />
</node>
<node name="" type="Or" id="E831A30A43B45AD3">
<insertChild id="5E1875E32AFED54C" />
<insertChild id="765E79E829CF2A25" />
<insertChild id="55C23445A820BEE3" />
<insertChild id="CC73E193C78E1D51" />
</node>
<node name="Weak Hero" type="UnitCount" id="5E1875E32AFED54C">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="MaxLifeFraction" valueSource="literal" value="0.3" />
</node>
<node name="2 Heroes" type="UnitCount" id="765E79E829CF2A25">
<property name="TargetCount" valueSource="literal" value="2" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
</node>
<node name="5 Units" type="UnitCount" id="55C23445A820BEE3">
<property name="TargetCount" valueSource="literal" value="5" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
</node>
<node name="LT 5 Units" type="UnitCount" id="CC73E193C78E1D51">
<property name="Comparison" valueSource="literal" value="LT" />
<property name="TargetCount" valueSource="literal" value="5" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<insertChild id="C9B38D9A45EC27CF" />
</node>
<node name="1 Hero" type="UnitCount" id="C9B38D9A45EC27CF">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
</node>
<node name="" type="Or" id="B898733A543A8A69">
<insertChild id="AB15B907000C73E4" />
<insertChild id="A7CE86598AFE7923" />
<insertChild id="CDB06EC4FE15EFCA" />
<insertChild id="E970625EE0E742FE" />
<insertChild id="C7F247EF233F2D9D" />
</node>
<node name="GE 30%" type="LifeFraction" id="AB15B907000C73E4">
<property name="LifeFraction" valueSource="literal" value="0.3" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="55296134D5ACEA25" />
</node>
<node name="Weak Hero" type="UnitCount" id="55296134D5ACEA25">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="MaxLifeFraction" valueSource="literal" value="0.3" />
</node>
<node name="3 Heroes" type="UnitCount" id="A7CE86598AFE7923">
<property name="TargetCount" valueSource="literal" value="3" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
</node>
<node name="LT 55%" type="LifeFraction" id="CDB06EC4FE15EFCA">
<property name="LifeFraction" valueSource="literal" value="0.55" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="8E2E7C38705A74F7" />
</node>
<node name="2 Heroes" type="UnitCount" id="8E2E7C38705A74F7">
<property name="TargetCount" valueSource="literal" value="2" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
</node>
<node name="6 Units" type="FindBestVector" id="E970625EE0E742FE">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="6" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature" />
</node>
<node name="LT 5 Units" type="UnitCount" id="C7F247EF233F2D9D">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetCount" valueSource="literal" value="5" />
<property name="Comparison" valueSource="literal" value="LE" />
<insertChild id="5AC83BE21B0DB861" />
</node>
<node name="1 Hero" type="UnitCount" id="5AC83BE21B0DB861">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetCount" valueSource="literal" value="1" />
</node>
<node name="Find 1 Hero" type="UnitCount" id="C46CD8E277D1A8FD">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
</node>
<node name="Find 5 Any" type="UnitCount" id="BDBFF5E96309C45D">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Structure,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetCount" valueSource="literal" value="5" />
<property name="Comparison" valueSource="literal" value="GE" />
</node>
<node name="Find 7 Any" type="UnitCount" id="52B6D7B9EE1F2BFC">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Structure,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetCount" valueSource="literal" value="7" />
<property name="Comparison" valueSource="literal" value="GE" />
</node>
<node name="LT 85%" type="LifeFraction" id="FE58ECE6BF8DFD62">
<property name="LifeFraction" valueSource="literal" value="0.85" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="40BA04F946D24E05" />
</node>
<node name="LT 85%" type="LifeFraction" id="5673A23A2B6108BD">
<property name="LifeFraction" valueSource="literal" value="0.85" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="3B1B2D9FF2F6297D" />
</node>
<node name="Steer Night Rush" type="UnitHasBehavior" id="74D6BF0C9C5B0A12">
<property name="Behavior" valueSource="literal" value="MalGanisNightRushCaster" />
<property name="Unit" valueSource="intrinsic" value="Self" />
<insertChild id="C85C6CCCD77AFB36" />
</node>
<node name="" type="IfElse" id="C85C6CCCD77AFB36">
<insertChild id="1D4D3AC6F1785293" />
<insertChild id="650B9A6283C463C7" />
<insertChild id="4D81039B2F45B2D1" />
</node>
<node name="Self > 30%" type="LifeFraction" id="1D4D3AC6F1785293">
<property name="LifeFraction" valueSource="literal" value="0.3" />
<property name="Target" valueSource="intrinsic" value="Self" />
</node>
<node name="" type="And" id="650B9A6283C463C7">
<variable name="EnemyTarget" type="Unit" />
<insertChild id="3F8624DDE68730E5" />
<insertChild id="0A2B90093EE42C64" />
</node>
<node name="Hit Targets" type="HeroMoveToUnit" id="0A2B90093EE42C64">
<property name="Target" valueSource="variable" value="EnemyTarget" />
</node>
<node name="Run Away" type="HeroMoveToPoint" id="4D81039B2F45B2D1">
<property name="TargetPosition" valueSource="intrinsic" value="SafePos" />
</node>
<node name="Not Slept" type="FilterBehavior" id="3F8624DDE68730E5">
<property name="StackComparison" valueSource="literal" value="Eq" />
<property name="BehaviorRequiredCaster" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="MalGanisNightRushSleepMarker" />
<insertChild id="4028EC1816F308C2" />
</node>
<node name="Cast Night Rush" type="AbilityUsable" id="7B68C72D75809EF2" 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="MalGanisNightRush" />
<insertChild id="9A9602C4C43212AA" />
</node>
<node name="Base Node" type="And" id="9A9602C4C43212AA" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" value="12" comment="Range of the Ability" />
<variable name="AbilityMissileRadius" type="Number" comment="Width of the Searches" />
<variable name="AbilityMissilePierceCount" type="Number" comment="Number of Blockers this can go through" />
<variable name="AbilityAOERadius" type="Number" valueSource="lookup" value="Effect,MalGanisNightRushSearch,AreaArray[0].Radius" comment="Radius of the Search" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.4" comment="Low Threshhold for Casting" />
<variable name="AbilityHighManaThreshHold" type="Number" value="0.75" comment="High threshhold for Casting" />
<variable name="AbilityTargetPoint" type="Point" comment="Point to use ability on" />
<insertChild id="90B2C0664D09B3AD" />
<insertChild id="D5EAFC55B25D1068" />
</node>
<node name="Self > 30%" type="LifeFraction" id="996EB74E16AE9906">
<property name="LifeFraction" valueSource="literal" value="0.3" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="DC1D35005101ED43" />
</node>
<node name="Use Ability" type="Ability" id="D5EAFC55B25D1068">
<property name="Ability" valueSource="literal" value="MalGanisNightRush" />
</node>
<node name="" type="Or" id="DC1D35005101ED43">
<insertChild id="7839AC584B7657B8" />
<insertChild id="2349BBF66CB396E4" />
</node>
<node name="3 Heroes" type="UnitCount" id="7839AC584B7657B8">
<property name="TargetCount" valueSource="literal" value="3" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="FilterTargetsBehindGate" valueSource="literal" value="true" />
<insertChild id="C126EA3994B3E92B" />
</node>
<node name="1 Allies" type="UnitCount" id="2349BBF66CB396E4">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Ally,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="ExcludeTypes" valueSource="literal" value="Self,Missile,Stasis,Dead,Invulnerable,Benign" />
<insertChild id="68794B6A59CCF1BA" />
</node>
<node name="Steer Night Rush" type="UnitHasBehavior" id="084F7A92464EA117">
<property name="Behavior" valueSource="literal" value="MalGanisNightRushCaster" />
<property name="Unit" valueSource="intrinsic" value="Self" />
<insertChild id="DC8614743DAADAC0" />
</node>
<node name="Self < 30%" type="LifeFraction" id="DC8614743DAADAC0">
<property name="LifeFraction" valueSource="literal" value="0.3" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="2FBD340D0E3A5EEA" />
</node>
<node name="Run Away" type="HeroMoveToPoint" id="0A1B7A40EBE31E2A">
<property name="TargetPosition" valueSource="intrinsic" value="SafePos" />
</node>
<node name="Cast Night Rush" type="AbilityUsable" id="96EADC13AE89C022" 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="MalGanisNightRush" />
<insertChild id="CD2391CFFBBFE2D7" />
</node>
<node name="Base Node" type="And" id="CD2391CFFBBFE2D7" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" value="12" comment="Range of the Ability" />
<variable name="AbilityTargetPoint" type="Point" comment="Point to use ability on" />
<variable name="NearbyAllies" type="Integer" />
<insertChild id="BAB309F6915234F7" />
<insertChild id="2B851615D7853897" />
</node>
<node name="Self < 25%" type="LifeFraction" id="BAB309F6915234F7">
<property name="LifeFraction" valueSource="literal" value="0.25" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="A38B794766CDD4D2" />
</node>
<node name="Ally Count" type="CompareNumber" id="A38B794766CDD4D2">
<property name="LeftHandSide" valueSource="variable" value="Ally Hero Count" />
<property name="RightHandSide" valueSource="variable" value="Enemy Hero Count" />
<property name="Comparison" valueSource="literal" value="LT" />
</node>
<node name="Use Ability" type="Ability" id="2B851615D7853897">
<property name="Ability" valueSource="literal" value="MalGanisNightRush" />
</node>
<node name="Necrotic Embrace" type="AbilityUsable" id="B0C3E16963446AB0" 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="MalGanisNecroticEmbrace" />
<insertChild id="AE53A37E9B311610" />
</node>
<node name="Base Node" type="And" id="AE53A37E9B311610" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" value="12" comment="Range of the Ability" />
<variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
<insertChild id="575B275343140985" />
<insertChild id="914F1E19EECC42E6" />
</node>
<node name="" type="Or" id="575B275343140985">
<insertChild id="09F0B2CC73B56AB3" />
<insertChild id="587CC1B9A2EFBE14" />
<insertChild id="1D4D2519B0D5FA21" />
</node>
<node name="Use Ability" type="Ability" id="914F1E19EECC42E6">
<property name="Ability" valueSource="literal" value="MalGanisNecroticEmbrace" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="Self < 20%" type="LifeFraction" id="09F0B2CC73B56AB3">
<property name="LifeFraction" valueSource="literal" value="0.2" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="816B8976289B48D6" />
</node>
<node name="LE 1 Ally" type="UnitCount" id="816B8976289B48D6">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Ally,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="ExcludeTypes" valueSource="literal" value="Self,Missile,Stasis,Dead,Invulnerable,Benign" />
<property name="Comparison" valueSource="literal" value="LE" />
<property name="TargetCount" valueSource="literal" value="1" />
<insertChild id="E83B64420E2DDDAE" />
</node>
<node name="GE 1 Enemies" type="UnitCount" id="E83B64420E2DDDAE">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
</node>
<node name="Self < 30%" type="LifeFraction" id="587CC1B9A2EFBE14">
<property name="LifeFraction" valueSource="literal" value="0.3" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="AB156F00A8ED2D52" />
</node>
<node name="LE 2 Allies" type="UnitCount" id="AB156F00A8ED2D52">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Ally,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="ExcludeTypes" valueSource="literal" value="Self,Missile,Stasis,Dead,Invulnerable,Benign" />
<property name="Comparison" valueSource="literal" value="LE" />
<property name="TargetCount" valueSource="literal" value="2" />
<insertChild id="CF34991A3D4F3728" />
</node>
<node name="GE 2 Enemies" type="UnitCount" id="CF34991A3D4F3728">
<property name="TargetCount" valueSource="literal" value="2" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
</node>
<node name="Self < 40%" type="LifeFraction" id="1D4D2519B0D5FA21">
<property name="LifeFraction" valueSource="literal" value="0.4" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="CA4F225AD93B5265" />
</node>
<node name="LE 3 Allies" type="UnitCount" id="CA4F225AD93B5265">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Ally,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="ExcludeTypes" valueSource="literal" value="Self,Missile,Stasis,Dead,Invulnerable,Benign" />
<property name="Comparison" valueSource="literal" value="LE" />
<property name="TargetCount" valueSource="literal" value="3" />
<insertChild id="7E8BF4315725FD3A" />
</node>
<node name="GE 3 Enemies" type="UnitCount" id="7E8BF4315725FD3A">
<property name="TargetCount" valueSource="literal" value="3" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
</node>
<node name="1 Hero Near" type="UnitCount" id="C126EA3994B3E92B">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="literal" value="6" />
</node>
<node name="1 Hero Near" type="UnitCount" id="68794B6A59CCF1BA">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="literal" value="6" />
</node>
<node name="1st Fel Claws" type="AbilityUsable" id="3241CA86ED140266" 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="MalGanisFelClawsFirst" />
<insertChild id="1558B6B723E01980" />
</node>
<node name="Base Node" type="And" id="1558B6B723E01980" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" value="12" comment="Range of the Ability" />
<insertChild id="08B44F30023F11FA" />
<insertChild id="9D51BDDE1AC0F71D" />
</node>
<node name="Use Ability" type="Ability" id="9D51BDDE1AC0F71D">
<property name="Ability" valueSource="literal" value="MalGanisFelClawsFirst" />
<property name="TargetPoint" valueSource="intrinsic" value="SafePos" />
</node>
<node name="" type="Or" id="08B44F30023F11FA">
<insertChild id="D76F33CD3C0C6DF6" />
</node>
<node name="Self < 20%" type="LifeFraction" id="D76F33CD3C0C6DF6">
<property name="LifeFraction" valueSource="literal" value="0.2" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="3DD0A5CE667E4A52" />
</node>
<node name="GE 1 Enemies" type="UnitCount" id="3DD0A5CE667E4A52">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<insertChild id="333FE6F28F93460C" />
</node>
<node name="1 Hero Near" type="UnitCount" id="333FE6F28F93460C">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
</node>
<node name="2nd Fel Claws" type="AbilityUsable" id="5F562D5D982556B8" 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="MalGanisFelClawsSecond" />
<insertChild id="3E13374BE3AE37CE" />
</node>
<node name="Base Node" type="And" id="3E13374BE3AE37CE" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" value="12" comment="Range of the Ability" />
<insertChild id="06F3827B82321A61" />
<insertChild id="E494191FD5EEC70F" />
</node>
<node name="" type="Or" id="06F3827B82321A61">
<insertChild id="C3602087B1F00715" />
</node>
<node name="Self < 20%" type="LifeFraction" id="C3602087B1F00715">
<property name="LifeFraction" valueSource="literal" value="0.2" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="3EE5E55376243C39" />
</node>
<node name="1 Hero Near" type="UnitCount" id="3EE5E55376243C39">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
</node>
<node name="Use Ability" type="Ability" id="E494191FD5EEC70F">
<property name="Ability" valueSource="literal" value="MalGanisFelClawsSecond" />
<property name="TargetPoint" valueSource="intrinsic" value="SafePos" />
</node>
<node name="3rd Fel Claws" type="AbilityUsable" id="D030C0FBDD5633BA" 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="MalGanisFelClawsThird" />
<insertChild id="206BFCB63C25A5FB" />
</node>
<node name="Base Node" type="And" id="206BFCB63C25A5FB" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" value="12" comment="Range of the Ability" />
<insertChild id="F13F6133256D49B6" />
<insertChild id="488FAA7EB8402264" />
</node>
<node name="" type="Or" id="F13F6133256D49B6">
<insertChild id="90CAE6C228764EC6" />
</node>
<node name="Self < 20%" type="LifeFraction" id="90CAE6C228764EC6">
<property name="LifeFraction" valueSource="literal" value="0.2" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="378ABB7EC16C428D" />
</node>
<node name="1 Hero Near" type="UnitCount" id="378ABB7EC16C428D">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
</node>
<node name="Use Ability" type="Ability" id="488FAA7EB8402264">
<property name="Ability" valueSource="literal" value="MalGanisFelClawsThird" />
<property name="TargetPoint" valueSource="intrinsic" value="SafePos" />
</node>
<node name="Find Hero Nearby" type="FindBestTarget" id="4028EC1816F308C2">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="FilterTargetsBehindGate" valueSource="literal" value="true" />
<property name="MaxTargetDistance" valueSource="literal" value="11" />
<property name="OutputTarget" value="EnemyTarget" />
</node>
<node name="Dark Conversion" type="AbilityUsable" id="39237F1AF1D44AB7" 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="MalGanisDarkConversion" />
<insertChild id="1133057E0A3A5801" />
</node>
<node name="Base Node" type="And" id="1133057E0A3A5801" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" valueSource="lookup" value="Abil,MalGanisDarkConversion,Range" comment="Range of the Ability" />
<variable name="EnemyTarget" type="Unit" />
<insertChild id="F2D475712960EC87" />
<insertChild id="F2AB8D103CA8F194" />
</node>
<node name="" type="Or" id="F2D475712960EC87">
<insertChild id="9BFF5C1DD69ECD53" />
<insertChild id="86D4887DAE258ECF" />
<insertChild id="625FE416045FBC30" />
</node>
<node name="Self < 40%" type="LifeFraction" id="9BFF5C1DD69ECD53">
<property name="LifeFraction" valueSource="literal" value="0.4" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LE" />
<insertChild id="56FCBDB6E7A19640" />
</node>
<node name=">85% Hero" type="FindBestTarget" id="56FCBDB6E7A19640">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="FilterTargetsBehindGate" valueSource="literal" value="true" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="OutputTarget" value="EnemyTarget" />
<property name="MinLifeFraction" valueSource="literal" value="0.85" />
</node>
<node name="Self < 30%" type="LifeFraction" id="86D4887DAE258ECF">
<property name="LifeFraction" valueSource="literal" value="0.3" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LE" />
<insertChild id="C8C05814EBAB30ED" />
</node>
<node name=">65% Hero" type="FindBestTarget" id="C8C05814EBAB30ED">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="FilterTargetsBehindGate" valueSource="literal" value="true" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="OutputTarget" value="EnemyTarget" />
<property name="MinLifeFraction" valueSource="literal" value="0.65" />
</node>
<node name="Self < 20%" type="LifeFraction" id="625FE416045FBC30">
<property name="LifeFraction" valueSource="literal" value="0.2" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LE" />
<insertChild id="403A78BF32A008BA" />
</node>
<node name=">45% Hero" type="FindBestTarget" id="403A78BF32A008BA">
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="FilterTargetsBehindGate" valueSource="literal" value="true" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="OutputTarget" value="EnemyTarget" />
<property name="MinLifeFraction" valueSource="literal" value="0.45" />
</node>
<node name="Use Ability" type="Ability" id="F2AB8D103CA8F194">
<property name="Ability" valueSource="literal" value="MalGanisDarkConversion" />
<property name="TargetUnit" valueSource="variable" value="EnemyTarget" />
</node>
<node name="Weak Hero" type="FindBestVector" id="6BDC6A429CE162C3">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="MaxLifeFraction" valueSource="literal" value="0.3" />
</node>
<node name="Weak Hero" type="FindBestVector" id="FA2582C1ECCAAF47">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="MaxLifeFraction" valueSource="literal" value="0.3" />
</node>
<node name="Weak Hero" type="FindBestVector" id="72F261B9F902B9F9">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="MaxLifeFraction" valueSource="literal" value="0.3" />
</node>
<node name="Weak Hero" type="FindBestVector" id="56403472B9E50613">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="MaxLifeFraction" valueSource="literal" value="0.3" />
</node>
<node name="Kill Hero" type="FindBestVector" id="BB2BF633728B81B7">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
</node>
<node name="Weak Hero" type="FindBestVector" id="0C9562DF1F117770">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
<property name="MaxLifeFraction" valueSource="literal" value="0.15" />
</node>
<node name="Find 4 Anything" type="FindBestVector" id="67D31E2AA87B8DD9">
<property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,Structure,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="4" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="Find 6 Anything" type="FindBestVector" id="F0B8EC5E90B722F4">
<property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,Structure,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="6" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="Cast Carrion Swarm" type="AbilityUsable" id="FE541A6AD0C9EB75" 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="MalGanisCarrionSwarm" />
<insertChild id="AD0820BBAA94CE98" />
</node>
<node name="Base Node" type="And" id="AD0820BBAA94CE98" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" value="8" comment="Range of the Ability" />
<insertChild id="B96CD4D18FE84841" />
<insertChild id="E2E4EE9A3CA6CEB0" />
</node>
<node name="" type="Or" id="B96CD4D18FE84841">
<insertChild id="6DD477EF41755011" />
<insertChild id="53018DBE553F2368" />
<insertChild id="64ACBDE46D546A6D" />
<insertChild id="504CDC7AC2ED27CF" />
</node>
<node name="Self < 65%" type="LifeFraction" id="6DD477EF41755011">
<property name="LifeFraction" valueSource="literal" value="0.65" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LE" />
<insertChild id="982FAFC6305C2CA2" />
</node>
<node name="4 Heroes" type="UnitCount" id="982FAFC6305C2CA2">
<property name="TargetCount" valueSource="literal" value="4" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
</node>
<node name="Self < 45%" type="LifeFraction" id="53018DBE553F2368">
<property name="LifeFraction" valueSource="literal" value="0.45" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LE" />
<insertChild id="EB774A26262904EF" />
</node>
<node name="3 Heroes" type="UnitCount" id="EB774A26262904EF">
<property name="TargetCount" valueSource="literal" value="3" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
</node>
<node name="Self < 25%" type="LifeFraction" id="64ACBDE46D546A6D">
<property name="LifeFraction" valueSource="literal" value="0.25" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LE" />
<insertChild id="73A63B39C76AAE13" />
</node>
<node name="2 Heroes" type="UnitCount" id="73A63B39C76AAE13">
<property name="TargetCount" valueSource="literal" value="2" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
</node>
<node name="Use Ability" type="Ability" id="E2E4EE9A3CA6CEB0">
<property name="Ability" valueSource="literal" value="MalGanisCarrionSwarm" />
</node>
<node name="" type="Or" id="F60F052C8E1FFE6E">
<variable name="BestAoEPoint" type="Point" />
<variable name="AbilityRadius" type="Number" valueSource="lookup" value="Effect,MalGanisCarrionSwarmSearch,AreaArray[0].Radius" />
<insertChild id="3226342F396684DB" />
<insertChild id="DF9649D7D71E7A6E" />
<insertChild id="05E45BCF9D60A24D" />
<insertChild id="3BD5D3295AB02742" />
</node>
<node name="" type="And" id="3226342F396684DB">
<insertChild id="E36BE67EE0841735" />
<insertChild id="DA45F5FEF4FF3D59" />
</node>
<node name="1 Ally" type="UnitCount" id="E36BE67EE0841735">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Ally,Heroic" />
<property name="MaxTargetDistance" valueSource="literal" value="10" />
<property name="ExcludeTypes" valueSource="literal" value="Self,Missile,Stasis,Dead,Invulnerable,Benign" />
<insertChild id="9C8B3A7D0DD8D7E8" />
</node>
<node name="" type="Or" id="9C8B3A7D0DD8D7E8">
<insertChild id="DA9E81BFEF00FE9B" />
<insertChild id="D08CC99C127559BF" />
<insertChild id="97C2B3158EF1F8DF" />
</node>
<node name="2 Heroes" type="FindBestAOEPoint" id="DA9E81BFEF00FE9B">
<property name="OutputTarget" value="BestAoEPoint" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="AOERadius" valueSource="variable" value="AbilityRadius" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
</node>
<node name="8 Units" type="FindBestAOEPoint" id="D08CC99C127559BF">
<property name="OutputTarget" value="BestAoEPoint" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="AOERadius" valueSource="variable" value="AbilityRadius" />
<property name="MinTargets" valueSource="literal" value="8" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
</node>
<node name="Self > 20%" type="LifeFraction" id="97C2B3158EF1F8DF">
<property name="LifeFraction" valueSource="literal" value="0.2" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="804B8C3368E0F5F8" />
</node>
<node name="1 Hero" type="FindBestAOEPoint" id="804B8C3368E0F5F8">
<property name="OutputTarget" value="BestAoEPoint" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="AOERadius" valueSource="variable" value="AbilityRadius" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
</node>
<node name="Hit Targets" type="HeroMoveToPoint" id="DA45F5FEF4FF3D59">
<property name="TargetPosition" valueSource="variable" value="BestAoEPoint" />
</node>
<node name="Self > 40%" type="LifeFraction" id="DF9649D7D71E7A6E">
<property name="LifeFraction" valueSource="literal" value="0.4" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="DC15BB5972022EB6" />
</node>
<node name="1 Hero" type="FindBestAOEPoint" id="DC15BB5972022EB6">
<property name="OutputTarget" value="BestAoEPoint" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="AOERadius" valueSource="variable" value="AbilityRadius" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MaxTargetDistance" valueSource="literal" value="8" />
<insertChild id="6148A41D4ED2F568" />
</node>
<node name="Run Away Safely" type="HeroMoveToPoint" id="A5E6A98BD0ADE12D">
<property name="TargetPosition" valueSource="variable" value="BestAoEPoint" />
</node>
<node name="Steer Carrion Swarm" type="And" id="B15C12B149A571D4">
<insertChild id="B6892394F48D1DA7" />
<insertChild id="F60F052C8E1FFE6E" />
</node>
<node name="" type="Or" id="B6892394F48D1DA7">
<insertChild id="1B5A2B59A81D7096" />
<insertChild id="3F1F64EACCA87CF8" />
</node>
<node name="Has Carrion Swarm Delay" type="UnitHasBehavior" id="1B5A2B59A81D7096">
<property name="Behavior" valueSource="literal" value="MalGanisCarrionSwarmDelay" />
<property name="Unit" valueSource="intrinsic" value="Self" />
</node>
<node name="Has Carrion Swarm Caster" type="UnitHasBehavior" id="3F1F64EACCA87CF8">
<property name="Behavior" valueSource="literal" value="MalGanisCarrionSwarmCaster" />
<property name="Unit" valueSource="intrinsic" value="Self" />
</node>
<node name="Hit Targets" type="HeroMoveToPoint" id="6148A41D4ED2F568">
<property name="TargetPosition" valueSource="variable" value="BestAoEPoint" />
</node>
<node name="Blind as a Bat" type="AbilityUsable" id="8EE06C46ACF6FEB4" 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="MalGanisFelClawsBlindAsABat" />
<insertChild id="D75FC504A419D0E7" />
</node>
<node name="Base Node" type="And" id="D75FC504A419D0E7" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" value="10" comment="Range of the Ability" />
<insertChild id="72374C7EC5397124" />
<insertChild id="84FE4C7E69ED2F0D" />
</node>
<node name="Use Ability" type="Ability" id="84FE4C7E69ED2F0D">
<property name="Ability" valueSource="literal" value="MalGanisFelClawsBlindAsABat" />
</node>
<node name="2 Allies" type="UnitCount" id="72374C7EC5397124">
<property name="TargetCount" valueSource="literal" value="2" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Ally,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="ExcludeTypes" valueSource="literal" value="Self,Missile,Stasis,Dead,Invulnerable,Benign" />
<insertChild id="87F83F6E818C3699" />
</node>
<node name="2 Heroes" type="UnitCount" id="87F83F6E818C3699">
<property name="TargetCount" valueSource="literal" value="2" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="FilterTargetsBehindGate" valueSource="literal" value="true" />
<insertChild id="C52377259728F646" />
</node>
<node name="1 Hero Near" type="UnitCount" id="C52377259728F646">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="literal" value="6" />
</node>
<node name="Blind as a Bat" type="UnitHasBehavior" id="EB44A6EBA5ED1071">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="MalGanisFelClawsBlindAsABatBehavior" />
<insertChild id="26613191A70A0BAA" />
</node>
<node name="Any Hero" type="FindBestVector" id="26613191A70A0BAA">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="Blind as a Bat" type="UnitHasBehavior" id="AD0AC138105479AE">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="MalGanisFelClawsBlindAsABatBehavior" />
<insertChild id="862D3D5D2813E92F" />
</node>
<node name="Any Hero" type="FindBestVector" id="862D3D5D2813E92F">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="Blind as a Bat" type="UnitHasBehavior" id="400F39FF97F40A2D">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="MalGanisFelClawsBlindAsABatBehavior" />
<insertChild id="74D24AB917FACE9B" />
</node>
<node name="Any Hero" type="FindBestVector" id="74D24AB917FACE9B">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="Blind as a Bat" type="UnitHasBehavior" id="80BEB301CDF8150D">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="MalGanisFelClawsBlindAsABatBehavior" />
<insertChild id="2CBFDC76DCBCD481" />
</node>
<node name="Any Hero" type="FindBestVector" id="2CBFDC76DCBCD481">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="No Blind as a Bat" type="UnitHasBehavior" id="90B2C0664D09B3AD">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="MalGanisFelClawsBlindAsABatBehavior" />
<property name="StackComparison" valueSource="literal" value="Eq" />
<insertChild id="996EB74E16AE9906" />
</node>
<node name="Black Claws Active" type="UnitHasBehavior" id="3BC0133C21A1E75A">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="MalGanisFelClawsBlackClawsToken" />
<insertChild id="6C9CA21E6E08F00C" />
</node>
<node name="Target Unit" type="FindBestTarget" id="6C9CA21E6E08F00C">
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
<property name="PreferredPoint" valueSource="intrinsic" value="Self" />
<property name="PreferredPointFactor" valueSource="literal" value="10" />
<property name="OutputTarget" value="AttackTarget" />
<property name="MaxTargetDistance" valueSource="variable" value="FightRange" />
<property name="SearchCenter" valueSource="intrinsic" value="Self" />
</node>
<node name="Nightmare Fuel" type="UnitHasTalent" id="A6067EDC89FC1CC1">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Talent" valueSource="literal" value="MalGanisNightmareFuel" />
<insertChild id="1467771ABDE0C6D6" />
</node>
<node name="Fight!" type="HeroFight" id="09A888768C766FCB">
<property name="Target" valueSource="variable" value="AttackTarget" />
<property name="FightRange" valueSource="variable" value="FightRange" />
</node>
<node name="Forced Attack" type="And" id="662E02F42AB7142A">
<variable name="AttackTarget" type="Unit" />
<insertChild id="D27BA6CA0D8F0554" />
<insertChild id="09A888768C766FCB" />
</node>
<node name="" type="Or" id="D27BA6CA0D8F0554">
<insertChild id="3BC0133C21A1E75A" />
<insertChild id="A6067EDC89FC1CC1" />
</node>
<node name="" type="Or" id="1467771ABDE0C6D6">
<insertChild id="ED5FA5B53275B055" />
<insertChild id="0E40EFD7039D724F" />
<insertChild id="BCE22BF6FF6A2F0C" />
<insertChild id="D8766A61982F2BC8" />
</node>
<node name="Sleep (Mal'Ganis)" type="FilterBehavior" id="ED5FA5B53275B055">
<property name="Behavior" valueSource="literal" value="MalGanisNightRushSleep" />
<property name="TimeRemainingComparison" valueSource="literal" value="LE" />
<property name="TimeRemaining" valueSource="literal" value="1.25" />
<insertChild id="A988CB27B9C225CC" />
</node>
<node name="Sleep (Ana)" type="FilterBehavior" id="0E40EFD7039D724F">
<property name="Behavior" valueSource="literal" value="AnaSleepDart" />
<property name="TimeRemainingComparison" valueSource="literal" value="LE" />
<property name="TimeRemaining" valueSource="literal" value="1.5" />
<insertChild id="06327A5094A856FE" />
</node>
<node name="Sleep (Deckard Channeled)" type="FilterBehavior" id="BCE22BF6FF6A2F0C">
<property name="Behavior" valueSource="literal" value="DeckardStayAWhileAndListenChanneledSleepBehavior" />
<property name="TimeRemainingComparison" valueSource="literal" value="LE" />
<property name="TimeRemaining" valueSource="literal" value="1.5" />
<insertChild id="4AFEF9672D8A71FB" />
</node>
<node name="Sleep (Deckard Final)" type="FilterBehavior" id="D8766A61982F2BC8">
<property name="Behavior" valueSource="literal" value="DeckardStayAWhileAndListenFinalSleepBehavior" />
<property name="TimeRemainingComparison" valueSource="literal" value="LE" />
<property name="TimeRemaining" valueSource="literal" value="1" />
<insertChild id="3083E8DC8E726F16" />
</node>
<node name="Target Unit" type="FindBestTarget" id="A988CB27B9C225CC">
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
<property name="PreferredPoint" valueSource="intrinsic" value="Self" />
<property name="PreferredPointFactor" valueSource="literal" value="10" />
<property name="OutputTarget" value="AttackTarget" />
<property name="MaxTargetDistance" valueSource="variable" value="FightRange" />
<property name="SearchCenter" valueSource="intrinsic" value="Self" />
</node>
<node name="Target Unit" type="FindBestTarget" id="06327A5094A856FE">
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
<property name="PreferredPoint" valueSource="intrinsic" value="Self" />
<property name="PreferredPointFactor" valueSource="literal" value="10" />
<property name="OutputTarget" value="AttackTarget" />
<property name="MaxTargetDistance" valueSource="variable" value="FightRange" />
<property name="SearchCenter" valueSource="intrinsic" value="Self" />
</node>
<node name="Target Unit" type="FindBestTarget" id="4AFEF9672D8A71FB">
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
<property name="PreferredPoint" valueSource="intrinsic" value="Self" />
<property name="PreferredPointFactor" valueSource="literal" value="10" />
<property name="OutputTarget" value="AttackTarget" />
<property name="MaxTargetDistance" valueSource="variable" value="FightRange" />
<property name="SearchCenter" valueSource="intrinsic" value="Self" />
</node>
<node name="Target Unit" type="FindBestTarget" id="3083E8DC8E726F16">
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="AddUnitRadiusToMaxTargetDistance" valueSource="intrinsic" value="Self" />
<property name="PreferredPoint" valueSource="intrinsic" value="Self" />
<property name="PreferredPointFactor" valueSource="literal" value="10" />
<property name="OutputTarget" value="AttackTarget" />
<property name="MaxTargetDistance" valueSource="variable" value="FightRange" />
<property name="SearchCenter" valueSource="intrinsic" value="Self" />
</node>
<node name="No Sleep" type="FilterBehaviorCategory" id="56B9EF173CB79F79">
<property name="ExcludeCategories" valueSource="literal" value="Sleeping" />
<insertChild id="3D51AF29E7EEBDBC" />
</node>
<node name="" type="SetNumber" id="E7620940434E9EAD">
<property name="Variable" value="Health_ReturnToSpawn" />
<property name="Value" valueSource="literal" value="0.25" />
<insertChild id="B26F4FAEA6F41663" />
</node>
<node name="" type="SetNumber" id="B26F4FAEA6F41663">
<property name="Variable" value="Health_EndOffensive" />
<property name="Value" valueSource="literal" value="0.3" />
<insertChild id="B104A12577C194A2" />
</node>
<node name="" type="SetNumber" id="B104A12577C194A2">
<property name="Variable" value="Combat Engage Threshhold" />
<property name="Value" valueSource="literal" value="0.5" />
</node>
<node name="Safety Check" type="FindSafePoint" id="05E45BCF9D60A24D">
<property name="FleeCenter" valueSource="intrinsic" value="Self" />
<property name="FleeDistance" valueSource="literal" value="5" />
<property name="PreferredPoint" valueSource="intrinsic" value="SafePos" />
<property name="OutputTarget" value="BestAoEPoint" />
<insertChild id="A5E6A98BD0ADE12D" />
</node>
<node name="Run Away" type="HeroMoveToPoint" id="3BD5D3295AB02742">
<property name="TargetPosition" valueSource="intrinsic" value="SafePos" />
</node>
<node name="Self < 15%" type="LifeFraction" id="504CDC7AC2ED27CF">
<property name="LifeFraction" valueSource="literal" value="0.15" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LE" />
<insertChild id="E0714613C8A96F6A" />
</node>
<node name="1 Hero" type="UnitCount" id="E0714613C8A96F6A">
<property name="TargetCount" valueSource="literal" value="1" />
<property name="TargetTypes" valueSource="literal" value="" />
<property name="RequiredTypes" valueSource="literal" value="Enemy,Heroic" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
</node>
<node name="" type="Or" id="2FBD340D0E3A5EEA">
<variable name="SleepDestination" type="Point" />
<insertChild id="06F818B0C4148646" />
<insertChild id="0A1B7A40EBE31E2A" />
</node>
<node name="Safety Check" type="FindSafePoint" id="06F818B0C4148646">
<property name="FleeCenter" valueSource="intrinsic" value="Self" />
<property name="FleeDistance" valueSource="literal" value="5" />
<property name="PreferredPoint" valueSource="intrinsic" value="SafePos" />
<property name="OutputTarget" value="SleepDestination" />
<insertChild id="16CD6078C90E6B89" />
</node>
<node name="Run Away Safely" type="HeroMoveToPoint" id="16CD6078C90E6B89">
<property name="TargetPosition" valueSource="variable" value="SleepDestination" />
</node>
<node name="Base Node" type="And" id="23CCB6D20E5EF252" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" value="4.5" comment="Range of the Ability" />
<variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
<variable name="AbilityMissileRadius" type="Number" valueSource="lookup" value="Effect,MalGanisFelClawsThirdSearch,AreaArray[0].RectangleWidth" 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.65" comment="High Mana ThreshHold" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.25" comment="Low Mana ThreshHold" />
<variable name="AbilityDamage" type="Number" valueSource="lookup" value="Effect,MalGanisFelClawsDamage,Amount" />
<insertChild id="7E71A13BBAB3C240" />
<insertChild id="E25EAE3C5B671F60" />
</node>
<node name="" type="Or" id="7E71A13BBAB3C240">
<insertChild id="3E75A3BA8FFCDB68" />
<insertChild id="7DD17E75F7F3CF6A" />
</node>
<node name="Elite" type="Difficulty" id="3E75A3BA8FFCDB68">
<insertChild id="C5FBA2552D9FA2FF" />
</node>
<node name="" type="Or" id="C5FBA2552D9FA2FF">
<insertChild id="9D9A7435529308A1" />
<insertChild id="519F2EF9AFCF2826" />
</node>
<node name="Debuffed" type="FilterBehaviorCategory" id="9D9A7435529308A1">
<property name="Categories" valueSource="literal" value="Stun,KnockedOut,DebuffRoot,Taunt" />
<property name="ExcludeCategories" valueSource="literal" value="Sleeping" />
<insertChild id="27A254C232305F10" />
</node>
<node name="Weak Hero" type="FindBestVector" id="27A254C232305F10">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
<property name="MaxLifeFraction" valueSource="literal" value="0.15" />
</node>
<node name="Fatal Damage" type="FilterLife" id="519F2EF9AFCF2826">
<property name="MaxLife" valueSource="variable" value="AbilityDamage" />
<insertChild id="A598C9B66EF86BBD" />
</node>
<node name="Kill Hero" type="FindBestVector" id="A598C9B66EF86BBD">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
</node>
<node name="PvP/PvE" type="IfElse" id="7DD17E75F7F3CF6A">
<insertChild id="F2CC1C61E9E2EA3E" />
<insertChild id="FB3574099C73D425" />
<insertChild id="433757E9A5DB383A" />
</node>
<node name="Enemy Is Nearby" type="CompareNumber" id="F2CC1C61E9E2EA3E">
<property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
<property name="Comparison" valueSource="literal" value="GE" />
<property name="RightHandSide" valueSource="literal" value="1" />
</node>
<node name="No Sleep" type="FilterBehaviorCategory" id="FB3574099C73D425">
<property name="ExcludeCategories" valueSource="literal" value="Sleeping" />
<insertChild id="B4CED7EC9C391503" />
</node>
<node name="PVP Targeting Node" type="Or" id="B4CED7EC9C391503">
<insertChild id="C042535B6498D09B" />
<insertChild id="F0972DA1B51FD041" />
</node>
<node name="GE 85%" type="LifeFraction" id="C042535B6498D09B">
<property name="LifeFraction" valueSource="literal" value="0.85" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="D7DA68748F32A4FA" />
</node>
<node name="" type="Or" id="D7DA68748F32A4FA">
<insertChild id="593FC3E00D705985" />
<insertChild id="4A496BDD2D18B347" />
<insertChild id="E793B3962959FC79" />
<insertChild id="925E21DCE08456EF" />
<insertChild id="FCF4BDF90A1BEB05" />
</node>
<node name="Weak Hero" type="FindBestVector" id="593FC3E00D705985">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="MaxLifeFraction" valueSource="literal" value="0.3" />
</node>
<node name="2 Heroes" type="FindBestVector" id="4A496BDD2D18B347">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="PredictionSeconds" valueSource="literal" value="0.125" />
</node>
<node name="Blind as a Bat" type="UnitHasBehavior" id="E793B3962959FC79">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="MalGanisFelClawsBlindAsABatBehavior" />
<insertChild id="BFAB7EC687A2F7CF" />
</node>
<node name="Any Hero" type="FindBestVector" id="BFAB7EC687A2F7CF">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="5 Units" type="FindBestVector" id="925E21DCE08456EF">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="5" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="PredictionSeconds" valueSource="literal" value="0.125" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature" />
</node>
<node name="LT 5 Units" type="UnitCount" id="FCF4BDF90A1BEB05">
<property name="Comparison" valueSource="literal" value="LT" />
<property name="TargetCount" valueSource="literal" value="5" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<insertChild id="B49C169FEB5B13BE" />
</node>
<node name="Any Hero" type="FindBestVector" id="B49C169FEB5B13BE">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="PredictionSeconds" valueSource="literal" value="0.125" />
</node>
<node name="LT 85%" type="LifeFraction" id="F0972DA1B51FD041">
<property name="LifeFraction" valueSource="literal" value="0.85" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="964786E2561D0016" />
</node>
<node name="" type="Or" id="964786E2561D0016">
<insertChild id="A89AC73585B8BF70" />
<insertChild id="C2A843D0821DA5DE" />
<insertChild id="3EB4628627EE85C4" />
<insertChild id="FADC476333402FA8" />
<insertChild id="DCC3860A03C40A97" />
<insertChild id="8C45B31C16A8D9F3" />
</node>
<node name="GE 30%" type="LifeFraction" id="A89AC73585B8BF70">
<property name="LifeFraction" valueSource="literal" value="0.3" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="1AA475AA18C1DA9C" />
</node>
<node name="Weak Hero" type="FindBestVector" id="1AA475AA18C1DA9C">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="MaxLifeFraction" valueSource="literal" value="0.3" />
</node>
<node name="3 Heroes" type="FindBestVector" id="C2A843D0821DA5DE">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="3" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="LT 55%" type="LifeFraction" id="3EB4628627EE85C4">
<property name="LifeFraction" valueSource="literal" value="0.55" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="60A360681FD744AC" />
</node>
<node name="2 Heroes" type="FindBestVector" id="60A360681FD744AC">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="Blind as a Bat" type="UnitHasBehavior" id="FADC476333402FA8">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="MalGanisFelClawsBlindAsABatBehavior" />
<insertChild id="66D5EF8BD3704C1E" />
</node>
<node name="Any Hero" type="FindBestVector" id="66D5EF8BD3704C1E">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="6 Units" type="FindBestVector" id="DCC3860A03C40A97">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="6" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature" />
</node>
<node name="LT 5 Units" type="UnitCount" id="8C45B31C16A8D9F3">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetCount" valueSource="literal" value="5" />
<property name="Comparison" valueSource="literal" value="LE" />
<insertChild id="225346547129FAAD" />
</node>
<node name="Any Hero" type="FindBestVector" id="225346547129FAAD">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="PVE Targeting Node" type="Or" id="433757E9A5DB383A">
<insertChild id="D940AAC3B308D3F8" />
</node>
<node name="Find 4 Anything" type="FindBestVector" id="D940AAC3B308D3F8">
<property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,Structure,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="4" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="Use Ability" type="Ability" id="E25EAE3C5B671F60">
<property name="Ability" valueSource="literal" value="MalGanisFelClawsSecond" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="Base Node" type="And" id="1ADDD64F3BB0CA98" comment="This Node links targeting Logic, ability use and talent modifications">
<variable name="AbilityRange" type="Number" value="4.5" comment="Range of the Ability" />
<variable name="AbilityTargetPoint" type="Point" comment="Target Point of the ability" />
<variable name="AbilityMissileRadius" type="Number" valueSource="lookup" value="Effect,MalGanisFelClawsThirdSearch,AreaArray[0].RectangleWidth" 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.65" comment="High Mana ThreshHold" />
<variable name="AbilityLowManaThreshHold" type="Number" value="0.25" comment="Low Mana ThreshHold" />
<variable name="AbilityDamage" type="Number" valueSource="lookup" value="Effect,MalGanisFelClawsThirdDamage,Amount" />
<insertChild id="6DC902BA15A17A58" />
<insertChild id="5ED9F3A0D7CEA574" />
</node>
<node name="" type="Or" id="6DC902BA15A17A58">
<insertChild id="D6F67887AD934856" />
<insertChild id="F01D346A959705FE" />
</node>
<node name="Elite" type="Difficulty" id="D6F67887AD934856">
<insertChild id="D682AF6EF42B09D9" />
</node>
<node name="" type="Or" id="D682AF6EF42B09D9">
<insertChild id="CF9519E0CD4D9439" />
<insertChild id="09FB7F85B5D5F79C" />
</node>
<node name="Debuffed" type="FilterBehaviorCategory" id="CF9519E0CD4D9439">
<property name="Categories" valueSource="literal" value="Stun,KnockedOut,DebuffRoot,Taunt" />
<property name="ExcludeCategories" valueSource="literal" value="Sleeping" />
<insertChild id="EB4E7613C12013CE" />
</node>
<node name="Weak Hero" type="FindBestVector" id="EB4E7613C12013CE">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
<property name="MaxLifeFraction" valueSource="literal" value="0.15" />
</node>
<node name="Fatal Damage" type="FilterLife" id="09FB7F85B5D5F79C">
<property name="MaxLife" valueSource="variable" value="AbilityDamage" />
<insertChild id="F18C9C1E12F3812A" />
</node>
<node name="Kill Hero" type="FindBestVector" id="F18C9C1E12F3812A">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="TargetBlockingTypes" valueSource="literal" value="Structure" />
</node>
<node name="PvP/PvE" type="IfElse" id="F01D346A959705FE">
<insertChild id="01C62ABA97254ABC" />
<insertChild id="D21E3983C28A8544" />
<insertChild id="F3A1A694C82CDA5E" />
</node>
<node name="Enemy Is Nearby" type="CompareNumber" id="01C62ABA97254ABC">
<property name="LeftHandSide" valueSource="variable" value="Enemy Hero Count" />
<property name="Comparison" valueSource="literal" value="GE" />
<property name="RightHandSide" valueSource="literal" value="1" />
</node>
<node name="No Sleep" type="FilterBehaviorCategory" id="D21E3983C28A8544">
<property name="ExcludeCategories" valueSource="literal" value="Sleeping" />
<insertChild id="A7961572B78F3737" />
</node>
<node name="PVP Targeting Node" type="Or" id="A7961572B78F3737">
<insertChild id="328F6C8844A2FE6F" />
<insertChild id="583CA26EDCB78183" />
</node>
<node name="GE 85%" type="LifeFraction" id="328F6C8844A2FE6F">
<property name="LifeFraction" valueSource="literal" value="0.85" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="CC7C648A5CD7BE0D" />
</node>
<node name="" type="Or" id="CC7C648A5CD7BE0D">
<insertChild id="473E374205713C8F" />
<insertChild id="73B543F1FF2FCB3E" />
<insertChild id="086C058167EECDE2" />
<insertChild id="DEA3B381FC0C70A1" />
<insertChild id="43E106398AA9689B" />
</node>
<node name="Weak Hero" type="FindBestVector" id="473E374205713C8F">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="MaxLifeFraction" valueSource="literal" value="0.3" />
</node>
<node name="2 Heroes" type="FindBestVector" id="73B543F1FF2FCB3E">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="PredictionSeconds" valueSource="literal" value="0.125" />
</node>
<node name="Blind as a Bat" type="UnitHasBehavior" id="086C058167EECDE2">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="MalGanisFelClawsBlindAsABatBehavior" />
<insertChild id="CA6AAB9BB45F456D" />
</node>
<node name="Any Hero" type="FindBestVector" id="CA6AAB9BB45F456D">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="5 Units" type="FindBestVector" id="DEA3B381FC0C70A1">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="5" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="PredictionSeconds" valueSource="literal" value="0.125" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature" />
</node>
<node name="LT 5 Units" type="UnitCount" id="43E106398AA9689B">
<property name="Comparison" valueSource="literal" value="LT" />
<property name="TargetCount" valueSource="literal" value="5" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<insertChild id="D9AA3FD66B61D659" />
</node>
<node name="Any Hero" type="FindBestVector" id="D9AA3FD66B61D659">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="PredictionSeconds" valueSource="literal" value="0.125" />
</node>
<node name="LT 85%" type="LifeFraction" id="583CA26EDCB78183">
<property name="LifeFraction" valueSource="literal" value="0.85" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="67E64BDE85E187DD" />
</node>
<node name="" type="Or" id="67E64BDE85E187DD">
<insertChild id="5F18144586B43FC7" />
<insertChild id="D097CB10755F6751" />
<insertChild id="8C80CA93F16745A7" />
<insertChild id="130C6AABA959FCC7" />
<insertChild id="7F5C8661F169C980" />
<insertChild id="AEB3338D8EAAFD4A" />
</node>
<node name="GE 30%" type="LifeFraction" id="5F18144586B43FC7">
<property name="LifeFraction" valueSource="literal" value="0.3" />
<property name="Target" valueSource="intrinsic" value="Self" />
<insertChild id="C9B21A3B2B94EC3A" />
</node>
<node name="Weak Hero" type="FindBestVector" id="C9B21A3B2B94EC3A">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="MaxLifeFraction" valueSource="literal" value="0.3" />
</node>
<node name="3 Heroes" type="FindBestVector" id="D097CB10755F6751">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="3" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="LT 55%" type="LifeFraction" id="8C80CA93F16745A7">
<property name="LifeFraction" valueSource="literal" value="0.55" />
<property name="Target" valueSource="intrinsic" value="Self" />
<property name="Comparison" valueSource="literal" value="LT" />
<insertChild id="EDB29A83BEA84B9E" />
</node>
<node name="2 Heroes" type="FindBestVector" id="EDB29A83BEA84B9E">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="2" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="Blind as a Bat" type="UnitHasBehavior" id="130C6AABA959FCC7">
<property name="Unit" valueSource="intrinsic" value="Self" />
<property name="Behavior" valueSource="literal" value="MalGanisFelClawsBlindAsABatBehavior" />
<insertChild id="DB16E562B03CD432" />
</node>
<node name="Any Hero" type="FindBestVector" id="DB16E562B03CD432">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="6 Units" type="FindBestVector" id="7F5C8661F169C980">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="6" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Structure,Heroic,Summoned,MapBoss,MapCreature" />
</node>
<node name="LT 5 Units" type="UnitCount" id="AEB3338D8EAAFD4A">
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="TargetTypes" valueSource="literal" value="Minion,Merc,Heroic,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="MaxTargetDistance" valueSource="variable" value="AbilityRange" />
<property name="TargetCount" valueSource="literal" value="5" />
<property name="Comparison" valueSource="literal" value="LE" />
<insertChild id="107B369FCF488DD8" />
</node>
<node name="Any Hero" type="FindBestVector" id="107B369FCF488DD8">
<property name="TargetTypes" valueSource="literal" value="Heroic" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="1" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="PVE Targeting Node" type="Or" id="F3A1A694C82CDA5E">
<insertChild id="9A5D745118A4AC84" />
</node>
<node name="Find 4 Anything" type="FindBestVector" id="9A5D745118A4AC84">
<property name="TargetTypes" valueSource="literal" value="Creep,Minion,Merc,Structure,Summoned,MapBoss,MapCreature,AITargetableStructure" />
<property name="RequiredTypes" valueSource="literal" value="Enemy" />
<property name="OutputEndPoint" value="AbilityTargetPoint" />
<property name="MaxVectorLength" valueSource="variable" value="AbilityRange" />
<property name="MinTargets" valueSource="literal" value="4" />
<property name="MissileRadius" valueSource="literal" value="1.5" />
</node>
<node name="Use Ability" type="Ability" id="5ED9F3A0D7CEA574">
<property name="Ability" valueSource="literal" value="MalGanisFelClawsThird" />
<property name="TargetPoint" valueSource="variable" value="AbilityTargetPoint" />
</node>
<node name="No Sleep" type="FilterBehaviorCategory" id="5EA84AF008B35AF3">
<property name="ExcludeCategories" valueSource="literal" value="Sleeping" />
<insertChild id="C4A73D183B6BDDF3" />
</node>
</tree>