Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.

Commit

Permalink
Merge pull request #909 from Tostov/Cybernet-CE-Update
Browse files Browse the repository at this point in the history
Update for Cybernet patch
  • Loading branch information
LockdownX7 authored Nov 17, 2019
2 parents 3fefb42 + 08460e3 commit 3f7022f
Showing 1 changed file with 170 additions and 0 deletions.
170 changes: 170 additions & 0 deletions Patches/Cybernet/HediffDefs/Hediffs_CyberNet_Brain.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>

<Operation Class="PatchOperationFindMod">
<mods>
<li>CyberNet</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<!--Combat Implant-->


<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="disconnected"]/statOffsets/MeleeArmorPenetration</xpath>
<value>
<MeleeCritChance>-0.05</MeleeCritChance>
<MeleeParryChance>-0.0625</MeleeParryChance>
<Suppressability>0.25</Suppressability>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="disconnected"]/statOffsets/MeleeDodgeChance</xpath>
<value>
<MeleeDodgeChance>-0.2</MeleeDodgeChance>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="disconnected"]/statOffsets/ShootingAccuracyPawn</xpath>
<value>
<ShootingAccuracyPawn>-0.4</ShootingAccuracyPawn>
<AimingAccuracy>-0.2</AimingAccuracy>
</value>
</li>



<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="throttled"]/statOffsets/MeleeArmorPenetration</xpath>
<value>
<MeleeCritChance>0.025</MeleeCritChance>
<MeleeParryChance>0.03125</MeleeParryChance>
<Suppressability>0</Suppressability>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="throttled"]/statOffsets/MeleeDodgeChance</xpath>
<value>
<MeleeDodgeChance>0</MeleeDodgeChance>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="throttled"]/statOffsets/ShootingAccuracyPawn</xpath>
<value>
<ShootingAccuracyPawn>0</ShootingAccuracyPawn>
<AimingAccuracy>0</AimingAccuracy>
</value>
</li>



<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="sluggish"]/statOffsets/MeleeArmorPenetration</xpath>
<value>
<MeleeCritChance>0.075</MeleeCritChance>
<MeleeParryChance>0.09375</MeleeParryChance>
<Suppressability>-0.25</Suppressability>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="sluggish"]/statOffsets/MeleeDodgeChance</xpath>
<value>
<MeleeDodgeChance>0.2</MeleeDodgeChance>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="sluggish"]/statOffsets/ShootingAccuracyPawn</xpath>
<value>
<ShootingAccuracyPawn>0.4</ShootingAccuracyPawn>
<AimingAccuracy>0.2</AimingAccuracy>
</value>
</li>



<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="connected"]/statOffsets/MeleeArmorPenetration</xpath>
<value>
<MeleeCritChance>0.15</MeleeCritChance>
<MeleeParryChance>0.1875</MeleeParryChance>
<Suppressability>-0.50</Suppressability>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="connected"]/statOffsets/MeleeDodgeChance</xpath>
<value>
<MeleeDodgeChance>0.5</MeleeDodgeChance>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="connected"]/statOffsets/ShootingAccuracyPawn</xpath>
<value>
<ShootingAccuracyPawn>1</ShootingAccuracyPawn>
<AimingAccuracy>0.5</AimingAccuracy>
</value>
</li>



<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="overclocked"]/statOffsets/MeleeArmorPenetration</xpath>
<value>
<MeleeCritChance>0.175</MeleeCritChance>
<MeleeParryChance>0.219</MeleeParryChance>
<Suppressability>-0.75</Suppressability>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="overclocked"]/statOffsets/MeleeDodgeChance</xpath>
<value>
<MeleeDodgeChance>0.65</MeleeDodgeChance>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="overclocked"]/statOffsets/ShootingAccuracyPawn</xpath>
<value>
<ShootingAccuracyPawn>1.3</ShootingAccuracyPawn>
<AimingAccuracy>0.65</AimingAccuracy>
</value>
</li>



<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="supercharged"]/statOffsets/MeleeArmorPenetration</xpath>
<value>
<MeleeCritChance>0.2</MeleeCritChance>
<MeleeParryChance>0.25</MeleeParryChance>
<Suppressability>-1</Suppressability>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="supercharged"]/statOffsets/MeleeDodgeChance</xpath>
<value>
<MeleeDodgeChance>0.8</MeleeDodgeChance>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="CNCombatOptimizationImplant"]/stages/li[label="supercharged"]/statOffsets/ShootingAccuracyPawn</xpath>
<value>
<ShootingAccuracyPawn>1.6</ShootingAccuracyPawn>
<AimingAccuracy>0.8</AimingAccuracy>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>

0 comments on commit 3f7022f

Please sign in to comment.