Skip to content

Commit

Permalink
Patching MO Barbs
Browse files Browse the repository at this point in the history
  • Loading branch information
ViralReaction committed Aug 30, 2024
1 parent 8d2b45e commit b54387a
Show file tree
Hide file tree
Showing 7 changed files with 251 additions and 370 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>

<!-- Projectile -->
<ThingDef ParentName="BasePilumProjectile">
<defName>pphhyy_RustedJavalin_Thrown_CE</defName>
<label>javelin (thrown)</label>
<graphicData>
<texPath>Weapons/Ranged/projectiles/Barbarian_RustedJavalin</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1.5</drawSize>
</graphicData>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageAmountBase>13</damageAmountBase>
<speed>14</speed>
<armorPenetrationBlunt>6.54</armorPenetrationBlunt>
<armorPenetrationSharp>2.75</armorPenetrationSharp>
<preExplosionSpawnChance>0.5</preExplosionSpawnChance>
<preExplosionSpawnThingDef>pphhyy_Barbarian_RustedJavalin</preExplosionSpawnThingDef>
</projectile>
</ThingDef>

<ThingDef ParentName="BasePilumProjectile">
<defName>pphhyy_RustedThrowingAxe_Thrown_CE</defName>
<label>thrown axe</label>
<graphicData>
<texPath>Weapons/Ranged/projectiles/Barbarian_RustedThrowingAxe</texPath>
<graphicClass>Graphic_Flicker</graphicClass>
</graphicData>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageDef>Cut</damageDef>
<damageAmountBase>13</damageAmountBase>
<speed>18</speed>
<armorPenetrationSharp>1.1</armorPenetrationSharp>
<armorPenetrationBlunt>22</armorPenetrationBlunt>
<preExplosionSpawnChance>0.60</preExplosionSpawnChance>
<preExplosionSpawnThingDef>pphhyy_Barbarian_RustedThrowingAxe</preExplosionSpawnThingDef>
</projectile>
</ThingDef>

</Defs>
Original file line number Diff line number Diff line change
Expand Up @@ -347,43 +347,37 @@
<li>
<ArmorRating_Sharp>0.90</ArmorRating_Sharp>
<parts>
<li>Leg
</li>
<li>Leg</li>
</parts>
</li>
<li>
<ArmorRating_Blunt>0.90</ArmorRating_Blunt>
<parts>
<li>Leg
</li>
<li>Leg</li>
</parts>
</li>
<li>
<ArmorRating_Sharp>0.80</ArmorRating_Sharp>
<parts>
<li>Arm
</li>
<li>Arm</li>
</parts>
</li>
<li>
<ArmorRating_Blunt>0.80</ArmorRating_Blunt>
<parts>
<li>Arm
</li>
<li>Arm</li>
</parts>
</li>
<li>
<ArmorRating_Sharp>0.60</ArmorRating_Sharp>
<parts>
<li>Hand
</li>
<li>Hand</li>
</parts>
</li>
<li>
<ArmorRating_Blunt>0.60</ArmorRating_Blunt>
<parts>
<li>Hand
</li>
<li>Hand</li>
</parts>
</li>
</stats>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="pphhyy_Barbarian_BarbBannerI"]</xpath>
<xpath>Defs/ThingDef[defName="pphhyy_Barbarian_BarbBannerII"]</xpath>
<value>
<apparel>
<tags>
Expand Down Expand Up @@ -174,7 +174,7 @@
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="pphhyy_Barbarian_BarbBannerI"]</xpath>
<xpath>Defs/ThingDef[defName="pphhyy_Barbarian_BarbBannerIII"]</xpath>
<value>
<apparel>
<tags>
Expand Down Expand Up @@ -215,7 +215,7 @@
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="pphhyy_Barbarian_BarbBannerI"]</xpath>
<xpath>Defs/ThingDef[defName="pphhyy_Barbarian_BarbBannerIV"]</xpath>
<value>
<apparel>
<tags>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,12 @@
defName="pphhyy_Barbarian_MetalShieldII" or
defName="pphhyy_Barbarian_MetalShieldIII"]</xpath>
<value>
<apparel>
<countsAsClothingForNudity>false</countsAsClothingForNudity>
<careIfWornByCorpse>false</careIfWornByCorpse>
<bodyPartGroups>
<li>LeftShoulder</li>
</bodyPartGroups>
<layers>
<li>Shield</li>
</layers>
</apparel>
<tradeTags>
<li>Armor</li>
</tradeTags>
<costList>
<Steel>50</Steel>
</costList>
</value>
</Operation>

Expand All @@ -49,6 +42,30 @@
</equippedStatOffsets>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="pphhyy_Barbarian_MetalShield"]/equippedStatOffsets</xpath>
<value>
<ArmorRating_Sharp>2.5</ArmorRating_Sharp>
<ArmorRating_Blunt>3.75</ArmorRating_Blunt>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="pphhyy_Barbarian_MetalShieldII"]/equippedStatOffsets</xpath>
<value>
<ArmorRating_Sharp>2.75</ArmorRating_Sharp>
<ArmorRating_Blunt>4</ArmorRating_Blunt>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="pphhyy_Barbarian_MetalShieldIII"]/equippedStatOffsets</xpath>
<value>
<ArmorRating_Sharp>3</ArmorRating_Sharp>
<ArmorRating_Blunt>4.25</ArmorRating_Blunt>
</value>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,12 @@
defName="pphhyy_Barbarian_RoundShieldII" or
defName="pphhyy_Barbarian_RoundShieldIII"]</xpath>
<value>
<apparel>
<countsAsClothingForNudity>false</countsAsClothingForNudity>
<careIfWornByCorpse>false</careIfWornByCorpse>
<bodyPartGroups>
<li>LeftShoulder</li>
</bodyPartGroups>
<layers>
<li>Shield</li>
</layers>
</apparel>
<tradeTags>
<li>Armor</li>
</tradeTags>
<costList>
<Steel>50</Steel>
</costList>
</value>
</Operation>

Expand All @@ -49,6 +42,30 @@
</equippedStatOffsets>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="pphhyy_Barbarian_RoundShield"]/equippedStatOffsets</xpath>
<value>
<ArmorRating_Sharp>2.5</ArmorRating_Sharp>
<ArmorRating_Blunt>3.75</ArmorRating_Blunt>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="pphhyy_Barbarian_RoundShieldII"]/equippedStatOffsets</xpath>
<value>
<ArmorRating_Sharp>2.75</ArmorRating_Sharp>
<ArmorRating_Blunt>4</ArmorRating_Blunt>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="pphhyy_Barbarian_RoundShieldIII"]/equippedStatOffsets</xpath>
<value>
<ArmorRating_Sharp>3</ArmorRating_Sharp>
<ArmorRating_Blunt>4.25</ArmorRating_Blunt>
</value>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[
Expand Down
Loading

0 comments on commit b54387a

Please sign in to comment.