Skip to content

Commit

Permalink
Patch more weapons
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Jan 11, 2024
1 parent b724f64 commit 3ba22f0
Show file tree
Hide file tree
Showing 8 changed files with 572 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Warhammer 40.000: Imperium Weaponry</li>
</mods>
<match Class="PatchOperationAdd">
<xpath>Defs</xpath>
<value>

<!-- ==================== AmmoSet ========================== -->

<!-- ================== Projectiles ================== -->

<ThingDef ParentName="BaseRPG7Grenade">
<defName>Bullet_Braizer</defName>
<label>brazier fireball</label>
<graphicData>
<texPath>Things/Projectile/Fireball</texPath>
<shaderType>TransparentPostLight</shaderType>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<speed>38</speed>
<damageDef>Bullet</damageDef>
<damageAmountBase>16</damageAmountBase>
<armorPenetrationSharp>18</armorPenetrationSharp>
<armorPenetrationBlunt>8</armorPenetrationBlunt>
<dropsCasings>false</dropsCasings>
</projectile>
<comps>
<li Class="CombatExtended.CompProperties_ExplosiveCE">
<damageAmountBase>9</damageAmountBase>
<explosiveDamageType>Flame</explosiveDamageType>
<explosiveRadius>0.9</explosiveRadius>
<explosionSound>MortarBomb_Explode</explosionSound>
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
</li>
</comps>
</ThingDef>

<ThingDef ParentName="BaseRPG7Grenade">
<defName>Bullet_Braizer_Relic</defName>
<label>brazier fireball</label>
<graphicData>
<texPath>Things/Projectile/Fireball</texPath>
<shaderType>TransparentPostLight</shaderType>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<speed>38</speed>
<damageDef>Bullet</damageDef>
<damageAmountBase>20</damageAmountBase>
<armorPenetrationSharp>22</armorPenetrationSharp>
<armorPenetrationBlunt>10</armorPenetrationBlunt>
<dropsCasings>false</dropsCasings>
</projectile>
<comps>
<li Class="CombatExtended.CompProperties_ExplosiveCE">
<damageAmountBase>12</damageAmountBase>
<explosiveDamageType>Flame</explosiveDamageType>
<explosiveRadius>1.4</explosiveRadius>
<explosionSound>MortarBomb_Explode</explosionSound>
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
</li>
</comps>
</ThingDef>

</value>
</match>
</Operation>
</Patch>
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,52 @@
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GF40K_ForceTome"]</xpath>
<value>
<equippedStatOffsets>
<MeleeCritChance>0.5</MeleeCritChance>
<MeleeParryChance>1.25</MeleeParryChance>
<MeleeDodgeChance>0.75</MeleeDodgeChance>
</equippedStatOffsets>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GF40K_ForceTome"]/statBases</xpath>
<value>
<Bulk>3</Bulk>
<MeleeCounterParryBonus>1</MeleeCounterParryBonus>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GF40K_ForceTome"]</xpath>
<value>
<weaponTags>
<li>CE_OneHandedWeapon</li>
</weaponTags>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GF40K_ForceTome"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<labelUsedInLogging>false</labelUsedInLogging>
<label>tome</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>8</power>
<cooldownTime>3.5</cooldownTime>
<armorPenetrationBlunt>10</armorPenetrationBlunt>
</li>
</tools>
</value>
</li>

</operations>
</match>
</Operation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
<MeleeParryChance>0.3</MeleeParryChance>
<MeleeDodgeChance>0.3</MeleeDodgeChance>
</equippedStatOffsets>
<weaponTags>
<li>CE_OneHandedWeapon</li>
</weaponTags>
</value>
</li>

Expand All @@ -34,24 +37,14 @@
<li>Blunt</li>
</capacities>
<power>60</power>
<cooldownTime>2.5</cooldownTime>
<armorPenetrationBlunt>200</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>head</label>
<capacities>
<li>Cut</li>
</capacities>
<power>40</power>
<extraMeleeDamages>
<li>
<def>EMP</def>
<amount>2</amount>
</li>
</extraMeleeDamages>
<cooldownTime>2.2</cooldownTime>
<armorPenetrationBlunt>7</armorPenetrationBlunt>
<armorPenetrationSharp>30</armorPenetrationSharp>
</extraMeleeDamages>
<cooldownTime>2.5</cooldownTime>
<armorPenetrationBlunt>200</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>handle</label>
Expand All @@ -71,7 +64,7 @@
<value>
<statBases>
<Bulk>12</Bulk>
<MeleeCounterParryBonus>0.25</MeleeCounterParryBonus>
<MeleeCounterParryBonus>1.5</MeleeCounterParryBonus>
</statBases>
<equippedStatOffsets>
<MeleeCritChance>0.5</MeleeCritChance>
Expand Down Expand Up @@ -136,6 +129,9 @@
<MeleeParryChance>0.75</MeleeParryChance>
<MeleeDodgeChance>0.5</MeleeDodgeChance>
</equippedStatOffsets>
<weaponTags>
<li>CE_OneHandedWeapon</li>
</weaponTags>
</value>
</li>

Expand Down Expand Up @@ -194,6 +190,9 @@
<MeleeParryChance>0.5</MeleeParryChance>
<MeleeDodgeChance>0.5</MeleeDodgeChance>
</equippedStatOffsets>
<weaponTags>
<li>CE_OneHandedWeapon</li>
</weaponTags>
</value>
</li>

Expand All @@ -211,21 +210,13 @@
<li>
<def>Stun</def>
<amount>2</amount>
<chance>0.33</chance>
</li>
</extraMeleeDamages>
<cooldownTime>2.1</cooldownTime>
<armorPenetrationBlunt>4</armorPenetrationBlunt>
<armorPenetrationSharp>30</armorPenetrationSharp>
</li>
<li Class="CombatExtended.ToolCE">
<label>shaft</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>40</power>
<cooldownTime>2</cooldownTime>
<armorPenetrationBlunt>20</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>handle</label>
<capacities>
Expand All @@ -251,6 +242,9 @@
<MeleeParryChance>0.75</MeleeParryChance>
<MeleeDodgeChance>0.5</MeleeDodgeChance>
</equippedStatOffsets>
<weaponTags>
<li>CE_OneHandedWeapon</li>
</weaponTags>
</value>
</li>

Expand Down Expand Up @@ -295,14 +289,17 @@
<xpath>Defs/ThingDef[defName="GF40K_MechanicusTransonicRazor"]</xpath>
<value>
<statBases>
<Bulk>8</Bulk>
<MeleeCounterParryBonus>1.0</MeleeCounterParryBonus>
<Bulk>4</Bulk>
<MeleeCounterParryBonus>0.3</MeleeCounterParryBonus>
</statBases>
<equippedStatOffsets>
<MeleeCritChance>1.0</MeleeCritChance>
<MeleeParryChance>0.5</MeleeParryChance>
<MeleeCritChance>1.2</MeleeCritChance>
<MeleeParryChance>0.15</MeleeParryChance>
<MeleeDodgeChance>0.3</MeleeDodgeChance>
</equippedStatOffsets>
<weaponTags>
<li>CE_OneHandedWeapon</li>
</weaponTags>
</value>
</li>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
<MeleeParryChance>0.85</MeleeParryChance>
<MeleeDodgeChance>0.6</MeleeDodgeChance>
</equippedStatOffsets>
<weaponTags>
<li>CE_OneHandedWeapon</li>
</weaponTags>
</value>
</li>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
<MeleeParryChance>0.3</MeleeParryChance>
<MeleeDodgeChance>0.3</MeleeDodgeChance>
</equippedStatOffsets>
<weaponTags>
<li>CE_OneHandedWeapon</li>
</weaponTags>
</value>
</li>

Expand Down Expand Up @@ -61,6 +64,52 @@
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GF40K_ChainAxe"]</xpath>
<value>
<statBases>
<Bulk>8</Bulk>
<MeleeCounterParryBonus>0.65</MeleeCounterParryBonus>
</statBases>
<equippedStatOffsets>
<MeleeCritChance>1.65</MeleeCritChance>
<MeleeParryChance>0.2</MeleeParryChance>
<MeleeDodgeChance>0.2</MeleeDodgeChance>
</equippedStatOffsets>
<weaponTags>
<li>CE_OneHandedWeapon</li>
</weaponTags>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GF40K_ChainAxe"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>chain</label>
<capacities>
<li>Cut</li>
</capacities>
<power>35</power>
<cooldownTime>2.5</cooldownTime>
<armorPenetrationBlunt>8</armorPenetrationBlunt>
<armorPenetrationSharp>35</armorPenetrationSharp>
<soundMeleeHit>40_ChainSword</soundMeleeHit>
</li>
<li Class="CombatExtended.ToolCE">
<label>handle</label>
<capacities>
<li>Poke</li>
</capacities>
<power>10</power>
<cooldownTime>2.3</cooldownTime>
<armorPenetrationBlunt>4</armorPenetrationBlunt>
</li>
</tools>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GF40K_Eviscerator"]</xpath>
<value>
Expand Down Expand Up @@ -113,6 +162,49 @@
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GF40K_Chainspear"]</xpath>
<value>
<statBases>
<Bulk>12</Bulk>
<MeleeCounterParryBonus>1.8</MeleeCounterParryBonus>
</statBases>
<equippedStatOffsets>
<MeleeCritChance>1.5</MeleeCritChance>
<MeleeParryChance>1.5</MeleeParryChance>
<MeleeDodgeChance>0.8</MeleeDodgeChance>
</equippedStatOffsets>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GF40K_Chainspear"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>chain</label>
<capacities>
<li>Cut</li>
</capacities>
<power>45</power>
<cooldownTime>2.20</cooldownTime>
<armorPenetrationBlunt>7</armorPenetrationBlunt>
<armorPenetrationSharp>37</armorPenetrationSharp>
<soundMeleeHit>40_ChainSword</soundMeleeHit>
</li>
<li Class="CombatExtended.ToolCE">
<label>handle</label>
<capacities>
<li>Poke</li>
</capacities>
<power>12</power>
<cooldownTime>2.4</cooldownTime>
<armorPenetrationBlunt>5</armorPenetrationBlunt>
</li>
</tools>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GF40K_PowerSabre"]</xpath>
<value>
Expand All @@ -125,6 +217,9 @@
<MeleeParryChance>0.2</MeleeParryChance>
<MeleeDodgeChance>0.2</MeleeDodgeChance>
</equippedStatOffsets>
<weaponTags>
<li>CE_OneHandedWeapon</li>
</weaponTags>
</value>
</li>

Expand Down Expand Up @@ -177,6 +272,9 @@
<MeleeParryChance>0.25</MeleeParryChance>
<MeleeDodgeChance>0.15</MeleeDodgeChance>
</equippedStatOffsets>
<weaponTags>
<li>CE_OneHandedWeapon</li>
</weaponTags>
</value>
</li>

Expand Down
Loading

0 comments on commit 3ba22f0

Please sign in to comment.