Skip to content

Commit

Permalink
Lancier Helmet patch
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltyKarl committed Dec 7, 2024
1 parent 6f70974 commit 62693c7
Showing 1 changed file with 106 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[
defName="AC_Apparel_ChrysalisHelmet" or
defName="AC_Apparel_FusilierHelmet"]/statBases/VEF_RangedCooldownFactor</xpath>
defName="AC_Apparel_FusilierHelmet" or
defName="AC_Apparel_LancierHelmet"]/statBases/VEF_RangedCooldownFactor</xpath>
</Operation>

<Operation Class="PatchOperationRemove">
Expand Down Expand Up @@ -385,6 +386,110 @@
</value>
</Operation>

<!-- Lancier Helmet -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="AC_Apparel_LancierHelmet"]/statBases</xpath>
<value>
<Bulk>4</Bulk>
<WornBulk>1</WornBulk>
<NightVisionEfficiency_Apparel>0.7</NightVisionEfficiency_Apparel>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="AC_Apparel_LancierHelmet"]/statBases/Flammability</xpath>
<value>
<Flammability>0</Flammability>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="AC_Apparel_LancierHelmet"]/statBases/MaxHitPoints</xpath>
<value>
<MaxHitPoints>220</MaxHitPoints>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="AC_Apparel_LancierHelmet"]/statBases/Mass</xpath>
<value>
<Mass>3</Mass>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="AC_Apparel_LancierHelmet"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>12.5</ArmorRating_Sharp>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="AC_Apparel_LancierHelmet"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>28</ArmorRating_Blunt>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="AC_Apparel_LancierHelmet"]/equippedStatOffsets</xpath>
<value>
<AimingAccuracy>0.25</AimingAccuracy>
<ToxicEnvironmentResistance>0.50</ToxicEnvironmentResistance>
<SmokeSensitivity>-1</SmokeSensitivity>
<AimingDelayFactor>-0.25</AimingDelayFactor>
<ShootingAccuracyPawn>2.5</ShootingAccuracyPawn>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="AC_Apparel_LancierHelmet"]/costList/ComponentSpacer</xpath>
<value>
<ComponentSpacer>2</ComponentSpacer>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="AC_Apparel_LancierHelmet"]/costList</xpath>
<value>
<DevilstrandCloth>15</DevilstrandCloth>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/ThingDef[defName="AC_Apparel_LancierHelmet"]</xpath>
<value>
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<ArmorRating_Sharp>0.75</ArmorRating_Sharp>
<parts>
<li>Eye</li>
</parts>
</li>
<li>
<ArmorRating_Blunt>0.75</ArmorRating_Blunt>
<parts>
<li>Eye</li>
</parts>
</li>
<li>
<ArmorRating_Sharp>0.7</ArmorRating_Sharp>
<parts>
<li>Jaw</li>
</parts>
</li>
<li>
<ArmorRating_Blunt>0.7</ArmorRating_Blunt>
<parts>
<li>Jaw</li>
</parts>
</li>
</stats>
</li>
</value>
</Operation>

<!-- Fusilier Armor -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="AC_Apparel_FusilierArmor"]/statBases</xpath>
Expand Down

0 comments on commit 62693c7

Please sign in to comment.