Skip to content

Commit

Permalink
Possessed Weapons patch fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SamaelGray committed Jul 22, 2024
1 parent 1e85bf5 commit 3d3204a
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 97 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@
</projectile>
</ThingDef>


<!-- Ammo for Ghostly Flintlock -->

<!-- Ghostly Flintlock -->
Expand Down Expand Up @@ -150,35 +149,4 @@
</projectile>
</ThingDef>


<!-- Ammo for Ghostly Flintlock -->

<!-- Ghostly Flintlock -->
<CombatExtended.AmmoSetDef>
<defName>AmmoSet_GhostFlintlock_MusketBall</defName>
<label>musket ball</label>
<ammoTypes>
<Ammo_MusketBall>Projectile_GhostFlintlock_MusketBall</Ammo_MusketBall>
</ammoTypes>
</CombatExtended.AmmoSetDef>

<ThingDef ParentName="BaseStreamlinedArrowProjectile">
<defName>Projectile_GhostFlintlock_MusketBall</defName>
<label>musket ball</label>
<graphicData>
<texPath>Things/Projectile/BotchJob_GhostBullet</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageDef>BotchJob_GhostBlast</damageDef>
<speed>30</speed>
<damageAmountBase>6</damageAmountBase>
<pelletCount>6</pelletCount>
<armorPenetrationSharp>3.5</armorPenetrationSharp>
<armorPenetrationBlunt>3.14</armorPenetrationBlunt>
<spreadMult>5</spreadMult>
<explosionRadius>1</explosionRadius>
</projectile>
</ThingDef>

</Defs>
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>



<ThingDef ParentName="BaseStreamlinedArrowProjectile">
<defName>Projectile_EarthenGauntlet_RockBlast</defName>
<label>rock blast</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<AmmoUser>
<ammoSet>AmmoSet_DragonFireArrow</ammoSet>
</AmmoUser>
<FireModes/>
<FireModes />
<weaponTags>
<li>BotchJob_PossessedDragonfireGreatbow</li>
</weaponTags>
Expand Down Expand Up @@ -123,7 +123,7 @@
</tools>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BotchJob_PossessedLightningJavelin"]/description</xpath>
<value>
Expand Down Expand Up @@ -291,7 +291,7 @@
<AmmoUser>
<ammoSet>AmmoSet_VerdantArrow</ammoSet>
</AmmoUser>
<FireModes/>
<FireModes />
<weaponTags>
<li>BotchJob_PossessedVerdantBow</li>
</weaponTags>
Expand Down Expand Up @@ -489,66 +489,66 @@
<match Class="PatchOperationSequence">
<operations>

<!--=============================== Possessed Acolyte Staff ================================-->
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="BotchJob_PossessedAcolyteStaff"]/statBases</xpath>
<value>
<Bulk>10.00</Bulk>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BotchJob_PossessedAcolyteStaff"]/statBases/RangedWeapon_Cooldown</xpath>
<value>
<RangedWeapon_Cooldown>1.53</RangedWeapon_Cooldown>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BotchJob_PossessedAcolyteStaff"]/verbs/li/warmupTime</xpath>
<value>
<warmupTime>2.7</warmupTime>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BotchJob_PossessedAcolyteStaff"]/verbs/li/range</xpath>
<value>
<range>30</range>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BotchJob_PossessedAcolyteStaff"]/verbs/li/burstShotCount</xpath>
<value>
<burstShotCount>14</burstShotCount>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BotchJob_PossessedAcolyteStaff"]/verbs/li/ticksBetweenBurstShots</xpath>
<value>
<ticksBetweenBurstShots>10</ticksBetweenBurstShots>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BotchJob_PossessedAcolyteStaff"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>limb</label>
<capacities>
<li>Blunt</li>
<li>Poke</li>
</capacities>
<power>6</power>
<cooldownTime>1.2</cooldownTime>
<armorPenetrationBlunt>0.4</armorPenetrationBlunt>
</li>
</tools>
</value>
</li>
<!--=============================== Possessed Acolyte Staff ================================-->
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="BotchJob_PossessedAcolyteStaff"]/statBases</xpath>
<value>
<Bulk>10.00</Bulk>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BotchJob_PossessedAcolyteStaff"]/statBases/RangedWeapon_Cooldown</xpath>
<value>
<RangedWeapon_Cooldown>1.53</RangedWeapon_Cooldown>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BotchJob_PossessedAcolyteStaff"]/verbs/li/warmupTime</xpath>
<value>
<warmupTime>2.7</warmupTime>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BotchJob_PossessedAcolyteStaff"]/verbs/li/range</xpath>
<value>
<range>30</range>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BotchJob_PossessedAcolyteStaff"]/verbs/li/burstShotCount</xpath>
<value>
<burstShotCount>14</burstShotCount>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BotchJob_PossessedAcolyteStaff"]/verbs/li/ticksBetweenBurstShots</xpath>
<value>
<ticksBetweenBurstShots>10</ticksBetweenBurstShots>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BotchJob_PossessedAcolyteStaff"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>limb</label>
<capacities>
<li>Blunt</li>
<li>Poke</li>
</capacities>
<power>6</power>
<cooldownTime>1.2</cooldownTime>
<armorPenetrationBlunt>0.4</armorPenetrationBlunt>
</li>
</tools>
</value>
</li>

</operations>
</match>
Expand Down

0 comments on commit 3d3204a

Please sign in to comment.