Skip to content

Commit

Permalink
Fixes to Archotech Weaponry.
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Nov 21, 2023
1 parent 09777b5 commit fa5d75a
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Patches/Archotech Weaponry/ArchoDamageDefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<DamageDef ParentName="Bullet">
<defName>CE_ArchoNL</defName>
<label>advanced ballistics that deploys archonanites(less Lethal verion)</label>
<label>archonanites (non-lethal)</label>
<additionalHediffs>
<li>
<hediff>VoidToxin</hediff>
Expand All @@ -28,7 +28,7 @@

<DamageDef ParentName="Bullet">
<defName>CE_ArchoL</defName>
<label>advanced ballistics that deploys archonanites(Lethal verion)</label>
<label>archonanites (lethal)</label>
<additionalHediffs>
<li>
<hediff>VoidNecrosisTemp</hediff>
Expand Down
50 changes: 47 additions & 3 deletions Patches/Archotech Weaponry/RangedArchotech.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,48 @@
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[
defName = "AW_ArchotechRifle" or
defName = "AW_ArchotechSniper"
]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>stock</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>8</power>
<cooldownTime>1.55</cooldownTime>
<chanceFactor>1.5</chanceFactor>
<armorPenetrationBlunt>2.755</armorPenetrationBlunt>
<linkedBodyPartsGroup>Stock</linkedBodyPartsGroup>
</li>
<li Class="CombatExtended.ToolCE">
<label>barrel</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>5</power>
<cooldownTime>2.02</cooldownTime>
<armorPenetrationBlunt>1.630</armorPenetrationBlunt>
<linkedBodyPartsGroup>Barrel</linkedBodyPartsGroup>
</li>
<li Class="CombatExtended.ToolCE">
<label>muzzle</label>
<capacities>
<li>Poke</li>
</capacities>
<power>8</power>
<cooldownTime>1.55</cooldownTime>
<armorPenetrationBlunt>2.755</armorPenetrationBlunt>
<linkedBodyPartsGroup>Muzzle</linkedBodyPartsGroup>
</li>
</tools>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[
defName = "AW_ArchotechMinigun" or
Expand Down Expand Up @@ -95,12 +137,14 @@
defName = "AW_ArchotechCrossbow" or
defName = "AW_ArchotechBow" or
defName = "AW_ArchotechPistol" or
defName = "AW_ArchotechSMG"]/modExtensions/li[@Class="ArchotechWeaponry.Defs.ArchotechDamageExtension"] </xpath>
defName = "AW_ArchotechSMG" or
defName = "AW_ArchotechRifle" or
defName = "AW_ArchotechSniper"
]/modExtensions/li[@Class="ArchotechWeaponry.Defs.ArchotechDamageExtension"] </xpath>
</li>

<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[
defName = "AW_ArchotechVoidlauncher"]/weaponTags </xpath>
<xpath>/Defs/ThingDef[defName = "AW_ArchotechVoidlauncher"]/weaponTags</xpath>
<value>
<li>Patched</li>
</value>
Expand Down

0 comments on commit fa5d75a

Please sign in to comment.