Skip to content

Commit

Permalink
Merge pull request #3253 from SaltyKarl/EnchantedSword
Browse files Browse the repository at this point in the history
Enchanted Sword patch
  • Loading branch information
N7Huntsman authored Jul 17, 2024
2 parents c1c20c1 + d65a5c6 commit 24a3801
Show file tree
Hide file tree
Showing 5 changed files with 258 additions and 0 deletions.
1 change: 1 addition & 0 deletions LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
<li IfModActive="Rabbit.EoDVanguard">ModPatches/Edge of Descension - Vanguard</li>
<li IfModActive="Nazgul.EisenhansPowerArmor">ModPatches/Eisenhans Power Armor</li>
<li IfModActive="Macca.eltexsuit">ModPatches/Eltex Bodysuit</li>
<li IfModActive="BlackMarket420.EnchantedSword">ModPatches/Enchanted Sword</li>
<li IfModActive="Ykara.EPOE">ModPatches/EPOE</li>
<li IfModActive="vat.epoeforked">ModPatches/EPOE Forked</li>
<li IfModActive="vat.epoeforkedroyalty">ModPatches/EPOE Forked Royalty DLC expansion</li>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<Operation Class="PatchOperationReplace">
<xpath>Defs/AbilityDef[defName="TripleStrike"]/comps/li[@Class="EnchantedSword.CompProperties_AbilityMultiStrike"]/armourPentration</xpath>
<value>
<armourPentration>48</armourPentration>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/AbilityDef[defName="TorrentBlade"]/comps/li[@Class="EnchantedSword.CompProperties_AbilityTorrentBlade"]/armourPentration</xpath>
<value>
<armourPentration>24</armourPentration>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/AbilityDef[defName="Decapitation"]/comps/li[@Class="EnchantedSword.CompProperties_AbilityDestroyBodypart"]/armourPentration</xpath>
<value>
<armourPentration>24</armourPentration>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/AbilityDef[defName="HeavensWrath"]/verbProperties/range</xpath>
<value>
<range>36</range>
</value>
</Operation>

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

<Operation Class="PatchOperationReplace">
<xpath>Defs/DamageDef[defName="Slash_EnchantedSword"]/defaultArmorPenetration</xpath>
<value>
<defaultArmorPenetration>24</defaultArmorPenetration>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/DamageDef[defName="SwordBolt"]</xpath>
<value>
<li Class="CombatExtended.DamageDefExtensionCE">
<harmOnlyOutsideLayers>true</harmOnlyOutsideLayers>
<isAmbientDamage>true</isAmbientDamage>
</li>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/DamageDef[defName="SwordBolt"]/defaultArmorPenetration</xpath>
<value>
<defaultArmorPenetration>1</defaultArmorPenetration>
</value>
</Operation>

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

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="EnchantedRing"]/apparel/layers</xpath>
<value>
<layers>
<li>OnSkin</li>
</layers>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Melee_EnchantedSword"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>edge</label>
<capacities>
<li>Cut</li>
</capacities>
<power>25</power>
<armorPenetrationBlunt>24</armorPenetrationBlunt>
<armorPenetrationSharp>60</armorPenetrationSharp>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
<cooldownTime>1.0</cooldownTime>
<soundMeleeHit>Impact_EnchantedSword</soundMeleeHit>
<soundMeleeMiss>Miss_EnchantedSword</soundMeleeMiss>
</li>
<li Class="CombatExtended.ToolCE">
<label>blade tip</label>
<capacities>
<li>Stab</li>
</capacities>
<power>30</power>
<cooldownTime>0.75</cooldownTime>
<armorPenetrationBlunt>32</armorPenetrationBlunt>
<armorPenetrationSharp>72</armorPenetrationSharp>
<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
<soundMeleeHit>Impact_EnchantedSword</soundMeleeHit>
<soundMeleeMiss>Miss_EnchantedSword</soundMeleeMiss>
</li>
<li Class="CombatExtended.ToolCE">
<label>handle</label>
<capacities>
<li>Poke</li>
</capacities>
<power>12</power>
<chanceFactor>0.33</chanceFactor>
<cooldownTime>1.5</cooldownTime>
<armorPenetrationBlunt>2.4</armorPenetrationBlunt>
<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
</li>
</tools>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Melee_EnchantedSword"]/statBases</xpath>
<value>
<Bulk>4</Bulk>
<MeleeCounterParryBonus>1.8</MeleeCounterParryBonus>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Melee_EnchantedSword"]/equippedStatOffsets</xpath>
<value>
<MeleeCritChance>1.0</MeleeCritChance>
<MeleeParryChance>1.5</MeleeParryChance>
<MeleeDodgeChance>1.0</MeleeDodgeChance>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Melee_EnchantedSword_Awakened"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>edge</label>
<capacities>
<li>Cut</li>
</capacities>
<power>25</power>
<armorPenetrationBlunt>24</armorPenetrationBlunt>
<armorPenetrationSharp>60</armorPenetrationSharp>
<cooldownTime>1.0</cooldownTime>
<soundMeleeHit>Impact_EnchantedSword</soundMeleeHit>
<soundMeleeMiss>Miss_EnchantedSword</soundMeleeMiss>
<extraMeleeDamages>
<li>
<def>Flame</def>
<amount>15</amount>
<chance>0.5</chance>
</li>
</extraMeleeDamages>
</li>
<li Class="CombatExtended.ToolCE">
<label>blade tip</label>
<capacities>
<li>Stab</li>
</capacities>
<power>30</power>
<cooldownTime>0.75</cooldownTime>
<armorPenetrationBlunt>32</armorPenetrationBlunt>
<armorPenetrationSharp>72</armorPenetrationSharp>
<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
<soundMeleeHit>Impact_EnchantedSword</soundMeleeHit>
<soundMeleeMiss>Miss_EnchantedSword</soundMeleeMiss>
<extraMeleeDamages>
<li>
<def>Flame</def>
<amount>15</amount>
<chance>0.5</chance>
</li>
</extraMeleeDamages>
</li>
<li Class="CombatExtended.ToolCE">
<label>handle</label>
<capacities>
<li>Poke</li>
</capacities>
<power>12</power>
<chanceFactor>0.33</chanceFactor>
<cooldownTime>1.5</cooldownTime>
<armorPenetrationBlunt>2.4</armorPenetrationBlunt>
<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
</li>
</tools>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Melee_EnchantedSword_Awakened"]/statBases</xpath>
<value>
<Bulk>4</Bulk>
<MeleeCounterParryBonus>1.8</MeleeCounterParryBonus>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Melee_EnchantedSword_Awakened"]/equippedStatOffsets</xpath>
<value>
<MeleeCritChance>1.2</MeleeCritChance>
<MeleeParryChance>2.2</MeleeParryChance>
<MeleeDodgeChance>1.2</MeleeDodgeChance>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Melee_EnchantedSword_Ranged_Awakened"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<capacities>
<li>Blunt</li>
</capacities>
<power>12</power>
<cooldownTime>1.6</cooldownTime>
<armorPenetrationBlunt>2.65</armorPenetrationBlunt>
</li>
</tools>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Melee_EnchantedSword_Ranged_Awakened"]/statBases</xpath>
<value>
<Bulk>5</Bulk>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "Melee_EnchantedSword_Ranged_Awakened"]</xpath>
<value>
<weaponTags>
<li>Patched</li>
</weaponTags>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[defName = "Melee_EnchantedSword_Ranged_Awakened"]/verbs/li[@Class="Pandora.Verb_Properties_ClusterShot"]/range</xpath>
<value>
<range>36</range>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[defName = "Bullet_MagicArrow"]/projectile/armorPenetrationBase</xpath>
<value>
<armorPenetrationBase>35</armorPenetrationBase>
</value>
</Operation>

</Patch>
1 change: 1 addition & 0 deletions SupportedThirdPartyMods.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ Edge of Descension - Hovercraft |
Edge of Descension - Monoblades |
Edge of Descension - Vanguard |
Eltex Bodysuit |
Enchanted Sword |
Epona The centaur race |
Equiums Horse Race |
Erin's Au Ra |
Expand Down

0 comments on commit 24a3801

Please sign in to comment.