This repository has been archived by the owner on Apr 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch to damagetype to use muscle spasms instead of pain Hediff Reduction in arm damage.
- Loading branch information
Showing
2 changed files
with
37 additions
and
8 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
Patches/Vanilla Bionics Expansion/DamageDefs/FSFAdvBionics_Damage_FSFTaser.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters