Skip to content

Commit

Permalink
Stats balance pass
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Nov 28, 2024
1 parent 5dfb13d commit 5eb1256
Showing 1 changed file with 11 additions and 30 deletions.
Original file line number Diff line number Diff line change
@@ -1,82 +1,62 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>
<!-- Changes the parent of chitin/shells from LeatherBase to ResourceBase-->
<Operation Class="PatchOperationAttributeSet">
<xpath>Defs/ThingDef[@Name="BiomesCore_ChitinBase"]</xpath>
<attribute>ParentName</attribute>
<value>ResourceBase</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="BiomesCore_ChitinBase"]</xpath>
<value>
<thingCategories>
<li>ResourcesRaw</li>
</thingCategories>
</value>
</Operation>

<!-- Removes the Leathery tag from chitin/shells-->
<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[@Name="BiomesCore_ChitinBase"]/stuffProps/categories/li[text()="Leathery"]</xpath>
</Operation>

<!-- Crab leather -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BiomesCore_CrabShell"]/statBases/StuffPower_Armor_Sharp</xpath>
<value>
<StuffPower_Armor_Sharp>1.0</StuffPower_Armor_Sharp>
<StuffPower_Armor_Sharp>0.17</StuffPower_Armor_Sharp>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BiomesCore_CrabShell"]/statBases/StuffPower_Armor_Blunt</xpath>
<value>
<StuffPower_Armor_Blunt>0.2</StuffPower_Armor_Blunt>
<StuffPower_Armor_Blunt>0.085</StuffPower_Armor_Blunt>
</value>
</Operation>

<!--greenchitin -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BiomesCore_GreenChitin"]/statBases/StuffPower_Armor_Sharp</xpath>
<value>
<StuffPower_Armor_Sharp>0.6</StuffPower_Armor_Sharp>
<StuffPower_Armor_Sharp>0.16</StuffPower_Armor_Sharp>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BiomesCore_GreenChitin"]/statBases/StuffPower_Armor_Blunt</xpath>
<value>
<StuffPower_Armor_Blunt>0.6</StuffPower_Armor_Blunt>
<StuffPower_Armor_Blunt>0.08</StuffPower_Armor_Blunt>
</value>
</Operation>
<!-- gray chitin -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BMT_GrayChitin"]/statBases/StuffPower_Armor_Sharp</xpath>
<value>
<StuffPower_Armor_Sharp>0.4</StuffPower_Armor_Sharp>
<StuffPower_Armor_Sharp>0.12</StuffPower_Armor_Sharp>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BMT_GrayChitin"]/statBases/StuffPower_Armor_Blunt</xpath>
<value>
<StuffPower_Armor_Blunt>0.7</StuffPower_Armor_Blunt>
<StuffPower_Armor_Blunt>0.06</StuffPower_Armor_Blunt>
</value>
</Operation>

<!-- mollusk Leather -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BMT_Molluskshell"]/statBases/StuffPower_Armor_Sharp</xpath>
<value>
<StuffPower_Armor_Sharp>1.3</StuffPower_Armor_Sharp>
<StuffPower_Armor_Sharp>0.2</StuffPower_Armor_Sharp>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BMT_Molluskshell"]/statBases/StuffPower_Armor_Blunt</xpath>
<value>
<StuffPower_Armor_Blunt>0.4</StuffPower_Armor_Blunt>
<StuffPower_Armor_Blunt>0.1</StuffPower_Armor_Blunt>
</value>
</Operation>

Expand All @@ -91,7 +71,7 @@
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BMT_Leather_Gastropoda"]/statBases/StuffPower_Armor_Blunt</xpath>
<value>
<StuffPower_Armor_Blunt>0.032</StuffPower_Armor_Blunt>
<StuffPower_Armor_Blunt>0.015</StuffPower_Armor_Blunt>
</value>
</Operation>

Expand Down Expand Up @@ -152,4 +132,5 @@
<StuffPower_Armor_Blunt>0.03</StuffPower_Armor_Blunt>
</value>
</Operation>
</Patch>

</Patch>

0 comments on commit 5eb1256

Please sign in to comment.