Skip to content

Commit

Permalink
Update Skeletal Legion FindMod + Housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Nov 9, 2023
1 parent a72eeea commit 7262572
Show file tree
Hide file tree
Showing 3 changed files with 300 additions and 305 deletions.
18 changes: 9 additions & 9 deletions Patches/Jernalk's Skeletal Legion/Bodies/Bodies_Skeleton.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@

<Operation Class="PatchOperationFindMod">
<mods>
<li>Jernfalk's Skeletal Legion (Continued)</li>
<li>Jernalk's Skeletal Legion (continued)</li>
<li>Jernalk's Skeletal Legion</li>
</mods>

<match Class="PatchOperationSequence">
<operations>
<!--All bones should be covered-->
<li Class="PatchOperationAdd">
<xpath>
Defs/BodyDef[defName="Skeletal"]//*/groups
</xpath>

<value>
<li>CoveredByNaturalArmor</li>
</value>
</li>
<!--All bones should be covered-->
<li Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="Skeletal"]//*/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</li>

</operations>
</match>
</Operation>
Expand Down
202 changes: 100 additions & 102 deletions Patches/Jernalk's Skeletal Legion/PawnKindDefs/Skeleton_PawnKind.xml
Original file line number Diff line number Diff line change
@@ -1,118 +1,116 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>
<Operation Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationFindMod">

<mods>
<li>Jernalk's Skeletal Legion (continued)</li>
<li>Jernalk's Skeletal Legion</li>
</mods>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Jernfalk's Skeletal Legion (Continued)</li>
<li>Jernalk's Skeletal Legion (continued)</li>
<li>Jernalk's Skeletal Legion</li>
</mods>
<match Class="PatchOperationSequence">
<operations>

<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationReplace">
<xpath>Defs/PawnKindDef[
defName="SL_Peon" or
defName="SL_Archer" or
defName="SL_Runner"
]/combatPower </xpath>
<value>
<combatPower>28</combatPower>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/PawnKindDef[
defName="SL_Peon" or
defName="SL_Archer" or
defName="SL_Runner"
]/combatPower </xpath>
<value>
<combatPower>28</combatPower>
</value>
<li Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[defName="SL_Peon"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<shieldMoney>
<min>100</min>
<max>150</max>
</shieldMoney>
<shieldTags>
<li>TribalShield</li>
</shieldTags>
<shieldChance>0.9</shieldChance>
</li>
</value>
</li>

<li Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[defName="SL_Peon"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<shieldMoney>
<min>100</min>
<max>150</max>
</shieldMoney>
<shieldTags>
<li>TribalShield</li>
</shieldTags>
<shieldChance>0.9</shieldChance>
<li Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[defName="SL_Archer"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>20</min>
<max>40</max>
</primaryMagazineCount>
<shieldMoney>
<min>100</min>
<max>130</max>
</shieldMoney>
<shieldTags>
<li>TribalShield</li>
</shieldTags>
<shieldChance>0.6</shieldChance>
<sidearms>
<li>
<sidearmMoney>
<min>80</min>
<max>160</max>
</sidearmMoney>
<weaponTags>
<li>CE_Sidearm_Tribal</li>
</weaponTags>
</li>
</value>
</sidearms>
</li>
</value>
</li>

<li Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[defName="SL_Archer"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>20</min>
<max>40</max>
</primaryMagazineCount>
<shieldMoney>
<min>100</min>
<max>130</max>
</shieldMoney>
<shieldTags>
<li>TribalShield</li>
</shieldTags>
<shieldChance>0.6</shieldChance>
<sidearms>
<li>
<sidearmMoney>
<min>80</min>
<max>160</max>
</sidearmMoney>
<weaponTags>
<li>CE_Sidearm_Tribal</li>
</weaponTags>
</li>
</sidearms>
</li>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/PawnKindDef[
defName="SL_Hero"
]/combatPower </xpath>
<value>
<combatPower>90</combatPower>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/PawnKindDef[
defName="SL_Hero"
]/combatPower </xpath>
<value>
<combatPower>90</combatPower>
</value>
</li>

<li Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[defName="SL_Hero"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>20</min>
<max>40</max>
</primaryMagazineCount>
<shieldMoney>
<min>500</min>
<li Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[defName="SL_Hero"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>20</min>
<max>40</max>
</primaryMagazineCount>
<shieldMoney>
<min>500</min>
<max>2000</max>
</shieldMoney>
<shieldTags>
<li>TribalShield</li>
</shieldTags>
<shieldChance>1</shieldChance>
<sidearms>
<li>
<sidearmMoney>
<min>200</min>
<max>2000</max>
</shieldMoney>
<shieldTags>
<li>TribalShield</li>
</shieldTags>
<shieldChance>1</shieldChance>
<sidearms>
<li>
<sidearmMoney>
<min>200</min>
<max>2000</max>
</sidearmMoney>
<weaponTags>
<li>MedievalMeleeAdvanced</li>
<li>NeolithicMeleeAdvanced</li>
</weaponTags>
</li>
</sidearms>
</sidearmMoney>
<weaponTags>
<li>MedievalMeleeAdvanced</li>
<li>NeolithicMeleeAdvanced</li>
</weaponTags>
</li>
</value>
</sidearms>
</li>
</operations>
</match>
</li>
</operations>
</value>
</li>

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

</Patch>
Loading

0 comments on commit 7262572

Please sign in to comment.