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

Commit

Permalink
Further Adjustments
Browse files Browse the repository at this point in the history
Patch to damagetype to use muscle spasms instead of pain Hediff
Reduction in arm damage.
  • Loading branch information
Tostov authored Mar 29, 2020
1 parent c2d9743 commit 0a08b99
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>

<Operation Class="PatchOperationFindMod">
<mods>
<li>[FSF] Advanced Bionics Expansion</li>
<li>[FSF] Advanced Bionics Expansion Legacy Version</li>
</mods>
<match Class="PatchOperationSequence">
<operations>

<li Class="PatchOperationReplace">
<xpath>Defs/DamageDef[defName="FSFEffectTaser"]/additionalHediffs/li</xpath>
<value>
<li>
<hediff>MuscleSpasms</hediff>
<severityPerDamageDealt>0.035</severityPerDamageDealt>
</li>
</value>
</li>

<li Class="PatchOperationAddModExtension">
<xpath>Defs/DamageDef[defName="FSFEffectTaser"]</xpath>
<value>
<li Class="CombatExtended.DamageDefExtensionCE">
<isAmbientDamage>true</isAmbientDamage>
</li>
</value>
</li>

</operations>
</match>
</Operation>

</Patch>

Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,9 @@
<capacities>
<li>FSFEffectTaser</li>
</capacities>
<power>5</power>
<power>2</power>
<cooldownTime>1.84</cooldownTime>
<armorPenetrationBlunt>2.43</armorPenetrationBlunt>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
<extraMeleeDamages>
<li>
<def>EMP</def>
<amount>12.5</amount>
</li>
</extraMeleeDamages>
</li>
</tools>
</value>
Expand Down

0 comments on commit 0a08b99

Please sign in to comment.