Skip to content

Commit

Permalink
Update Biotech and Biological warfare patches
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhinous committed Jun 6, 2024
1 parent 951cee1 commit e5c8dfa
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Biotech/Patches/DamageDefs/Damages_Misc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,15 @@
</value>
</Operation>

<!-- ========== ToxGas ========== -->

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/DamageDef[defName="ToxGas"]</xpath>
<value>
<li Class="CombatExtended.DamageDefExtensionCE">
<isHarmful>true</isHarmful>
</li>
</value>
</Operation>

</Patch>
64 changes: 64 additions & 0 deletions ModPatches/BiologicalWarfare/Patches/Patches.xml
Original file line number Diff line number Diff line change
Expand Up @@ -289,4 +289,68 @@
defName="USH_SleepingSicknessGrenadeLauncher" or
defName="USH_SleepingSicknessGrenadeBullet"]</xpath>
</Operation>

<!-- ========== Patch DamageDefs to allow sieges to use mortars ========== -->
<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/DamageDef[defName="USH_FleshBreakerDamage"]</xpath>
<value>
<li Class="CombatExtended.DamageDefExtensionCE">
<isHarmful>true</isHarmful>
</li>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/DamageDef[defName="USH_FluDamage"]</xpath>
<value>
<li Class="CombatExtended.DamageDefExtensionCE">
<isHarmful>true</isHarmful>
</li>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/DamageDef[defName="USH_MalariaDamage"]</xpath>
<value>
<li Class="CombatExtended.DamageDefExtensionCE">
<isHarmful>true</isHarmful>
</li>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/DamageDef[defName="USH_NecroaDamage"]</xpath>
<value>
<li Class="CombatExtended.DamageDefExtensionCE">
<isHarmful>true</isHarmful>
</li>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/DamageDef[defName="USH_PlagueDamage"]</xpath>
<value>
<li Class="CombatExtended.DamageDefExtensionCE">
<isHarmful>true</isHarmful>
</li>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/DamageDef[defName="USH_ScariaDamage"]</xpath>
<value>
<li Class="CombatExtended.DamageDefExtensionCE">
<isHarmful>true</isHarmful>
</li>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/DamageDef[defName="USH_SleepingSicknessDamage"]</xpath>
<value>
<li Class="CombatExtended.DamageDefExtensionCE">
<isHarmful>true</isHarmful>
</li>
</value>
</Operation>
</Patch>

0 comments on commit e5c8dfa

Please sign in to comment.