-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3570 from SolariusScorch/Development
Add Xen's Spirit Wolf support
- Loading branch information
Showing
4 changed files
with
136 additions
and
1 deletion.
There are no files selected for viewing
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
133 changes: 133 additions & 0 deletions
133
ModPatches/Xen's Spirit Wolf/Patches/Xen's Spirit Wolf/ThingDefs_Races.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,133 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Patch> | ||
|
||
<!-- ========== Spirit Wolf ========== --> | ||
|
||
<Operation Class="PatchOperationAddModExtension"> | ||
<xpath>Defs/ThingDef[defName="XenSpiritWolf"]</xpath> | ||
<value> | ||
<li Class="CombatExtended.RacePropertiesExtensionCE"> | ||
<bodyShape>Quadruped</bodyShape> | ||
</li> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationReplace"> | ||
<xpath>Defs/ThingDef[defName="XenSpiritWolf"]/statBases/MoveSpeed</xpath> | ||
<value> | ||
<MoveSpeed>7.2</MoveSpeed> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/ThingDef[defName="XenSpiritWolf"]/statBases</xpath> | ||
<value> | ||
<ArmorRating_Blunt>0.24</ArmorRating_Blunt> | ||
<ArmorRating_Sharp>0.16</ArmorRating_Sharp> | ||
<MeleeDodgeChance>0.24</MeleeDodgeChance> | ||
<MeleeCritChance>0.24</MeleeCritChance> | ||
<MeleeParryChance>0.13</MeleeParryChance> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationReplace"> | ||
<xpath>Defs/ThingDef[defName="XenSpiritWolf"]/tools</xpath> | ||
<value> | ||
<tools> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>left claw</label> | ||
<capacities> | ||
<li>Scratch</li> | ||
</capacities> | ||
<power>16</power> | ||
<cooldownTime>0.75</cooldownTime> | ||
<linkedBodyPartsGroup>FrontLeftPaw</linkedBodyPartsGroup> | ||
<surpriseAttack> | ||
<extraMeleeDamages> | ||
<li> | ||
<def>Stun</def> | ||
<amount>20</amount> | ||
</li> | ||
</extraMeleeDamages> | ||
</surpriseAttack> | ||
<armorPenetrationBlunt>3.350</armorPenetrationBlunt> | ||
<armorPenetrationSharp>1</armorPenetrationSharp> | ||
</li> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>right claw</label> | ||
<capacities> | ||
<li>Scratch</li> | ||
</capacities> | ||
<power>16</power> | ||
<cooldownTime>0.75</cooldownTime> | ||
<linkedBodyPartsGroup>FrontRightPaw</linkedBodyPartsGroup> | ||
<surpriseAttack> | ||
<extraMeleeDamages> | ||
<li> | ||
<def>Stun</def> | ||
<amount>20</amount> | ||
</li> | ||
</extraMeleeDamages> | ||
</surpriseAttack> | ||
<armorPenetrationBlunt>3.350</armorPenetrationBlunt> | ||
<armorPenetrationSharp>1</armorPenetrationSharp> | ||
</li> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>fangs</label> | ||
<capacities> | ||
<li>Bite</li> | ||
</capacities> | ||
<power>30</power> | ||
<cooldownTime>1.72</cooldownTime> | ||
<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup> | ||
<surpriseAttack> | ||
<extraMeleeDamages> | ||
<li> | ||
<def>Stun</def> | ||
<amount>20</amount> | ||
</li> | ||
</extraMeleeDamages> | ||
</surpriseAttack> | ||
<chanceFactor>0.9</chanceFactor> | ||
<armorPenetrationSharp>1.75</armorPenetrationSharp> | ||
<armorPenetrationBlunt>9.15</armorPenetrationBlunt> | ||
</li> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>head</label> | ||
<capacities> | ||
<li>Blunt</li> | ||
</capacities> | ||
<power>8</power> | ||
<cooldownTime>3.2</cooldownTime> | ||
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup> | ||
<chanceFactor>0.2</chanceFactor> | ||
<armorPenetrationBlunt>2.350</armorPenetrationBlunt> | ||
</li> | ||
</tools> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationConditional"> | ||
<xpath>Defs/ThingDef[defName="XenSpiritWolf"]/comps</xpath> | ||
<nomatch Class="PatchOperationAdd"> | ||
<xpath>Defs/ThingDef[defName="XenSpiritWolf"]</xpath> | ||
<value> | ||
<comps /> | ||
</value> | ||
</nomatch> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/ThingDef[defName="XenSpiritWolf"]/comps</xpath> | ||
<value> | ||
<li Class="CombatExtended.CompProperties_ArmorDurability"> | ||
<Durability>4035</Durability> | ||
<Regenerates>true</Regenerates> | ||
<RegenInterval>600</RegenInterval> | ||
<RegenValue>5</RegenValue> | ||
<MinArmorPct>0.5</MinArmorPct> | ||
</li> | ||
</value> | ||
</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
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