Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patches - Medieval Overhaul Arcane Archaeologists #3666

Open
wants to merge 9 commits into
base: Development
Choose a base branch
from
1 change: 1 addition & 0 deletions LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@
<li IfModActive="Mlie.MedicalSupplements">ModPatches/Medicine Supplements (Continued)</li>
<li IfModActive="JoeDaly.MedMeds.MO">ModPatches/Medieval Medicines 1.4 Medieval Overhaul Edition</li>
<li IfModActive="DankPyon.Medieval.Overhaul">ModPatches/Medieval Overhaul</li>
<li IfModActive="Turkler.MedievalOverhaul.ArcaneArchaeologists">ModPatches/Medieval Overhaul Arcane Archaeologists</li>
<li IfModActive="pphhyy.BarbariansMOSubmod">ModPatches/Medieval Overhaul Barbarians</li>
<li IfModActive="DankPyon.Medieval.Overhaul.House.Roxmont">ModPatches/Medieval Overhaul House Roxmont</li>
<li IfModActive="Arisher.Medieval.Tailor">ModPatches/Medieval Tailor</li>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- === Capes === -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="Ogam_SimpleCapeBase" or @Name="Ogam_CapeBase"]/statBases</xpath>
<value>
<Bulk>8</Bulk>
<WornBulk>1</WornBulk>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="Ogam_SimpleCapeBase" or @Name="Ogam_CapeBase"]/statBases/Mass</xpath>
<value>
<Mass>2</Mass>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="Ogam_SimpleCapeBase" or @Name="Ogam_CapeBase"]/statBases/StuffEffectMultiplierArmor</xpath>
<value>
<StuffEffectMultiplierArmor>2</StuffEffectMultiplierArmor>
</value>
</Operation>

<!-- Caster Armor -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="Ogam_CasterArmorBase"]/statBases</xpath>
<value>
<Bulk>60</Bulk>
<WornBulk>10</WornBulk>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="Ogam_CasterArmorBase"]/statBases/Mass</xpath>
<value>
<Mass>9</Mass>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="Ogam_CasterArmorBase"]/statBases/StuffEffectMultiplierArmor</xpath>
<value>
<StuffEffectMultiplierArmor>2.35</StuffEffectMultiplierArmor>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="Ogam_CasterArmorBase"]/apparel/bodyPartGroups</xpath>
<value>
<bodyPartGroups>
<li>Torso</li>
<li>Shoulders</li>
<li>Arms</li>
<li>Legs</li>
</bodyPartGroups>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="Ogam_CasterArmorBase"]/equippedStatOffsets/MoveSpeed</xpath>
<value>
<MeleeDodgeChance>-0.10</MeleeDodgeChance>
</value>
</Operation>

<!-- Guardian Armor -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="Ogam_GuardianBase" or @Name="Ogam_RoyalGuardBase"]/statBases</xpath>
<value>
<Bulk>70</Bulk>
<WornBulk>10</WornBulk>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="Ogam_GuardianBase"]/statBases/StuffEffectMultiplierArmor</xpath>
<value>
<StuffEffectMultiplierArmor>2.65</StuffEffectMultiplierArmor>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="Ogam_RoyalGuardBase"]/statBases/StuffEffectMultiplierArmor</xpath>
<value>
<StuffEffectMultiplierArmor>2.75</StuffEffectMultiplierArmor>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="Ogam_GuardianBase" or @Name="Ogam_RoyalGuardBase"]/statBases/Mass</xpath>
<value>
<Mass>14</Mass>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="Ogam_GuardianBase" or @Name="Ogam_RoyalGuardBase"]/equippedStatOffsets/MoveSpeed</xpath>
<value>
<MeleeDodgeChance>-0.10</MeleeDodgeChance>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/ThingDef[@Name="Ogam_GuardianBase" or @Name="Ogam_RoyalGuardBase"]</xpath>
<value>
<li Class="CombatExtended.PartialArmorExt">
<stats>
<li>
<ArmorRating_Sharp>0.60</ArmorRating_Sharp>
<parts>
<li>Neck</li>
</parts>
</li>
<li>
<ArmorRating_Blunt>0.60</ArmorRating_Blunt>
<parts>
<li>Neck</li>
</parts>
</li>
<li>
<ArmorRating_Sharp>0.80</ArmorRating_Sharp>
<parts>
<li>Leg</li>
</parts>
</li>
<li>
<ArmorRating_Blunt>0.80</ArmorRating_Blunt>
<parts>
<li>Leg</li>
</parts>
</li>
<li>
<ArmorRating_Sharp>0.70</ArmorRating_Sharp>
<parts>
<li>Arm</li>
</parts>
</li>
<li>
<ArmorRating_Blunt>0.70</ArmorRating_Blunt>
<parts>
<li>Arm</li>
</parts>
</li>
<li>
<ArmorRating_Sharp>0.50</ArmorRating_Sharp>
<parts>
<li>Hand</li>
</parts>
</li>
<li>
<ArmorRating_Blunt>0.50</ArmorRating_Blunt>
<parts>
<li>Hand</li>
</parts>
</li>
</stats>
</li>
</value>
</Operation>

<!-- Scout Padded Armor -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="Ogam_ScoutArmorBase"]/statBases</xpath>
<value>
<Bulk>50</Bulk>
<WornBulk>10</WornBulk>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="Ogam_ScoutArmorBase"]/statBases/Mass</xpath>
<value>
<Mass>8</Mass>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="Ogam_ScoutArmorBase"]/statBases/StuffEffectMultiplierArmor</xpath>
<value>
<StuffEffectMultiplierArmor>2.45</StuffEffectMultiplierArmor>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="Ogam_ScoutArmorBase"]/apparel/bodyPartGroups</xpath>
<value>
<bodyPartGroups>
<li>Torso</li>
<li>Shoulders</li>
<li>Arms</li>
<li>Legs</li>
</bodyPartGroups>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="Ogam_ScoutArmorBase"]/equippedStatOffsets/MoveSpeed</xpath>
<value>
<MeleeDodgeChance>-0.10</MeleeDodgeChance>
</value>
</Operation>

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

<!-- === Hats === -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Ogam_Cloak" or defName="Ogam_CloakB" or @Name="Ogam_WizzardHatBase"]/statBases</xpath>
<value>
<Bulk>2</Bulk>
<WornBulk>1</WornBulk>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Ogam_Cloak" or defName="Ogam_CloakB" or @Name="Ogam_WizzardHatBase"]/statBases/StuffEffectMultiplierArmor</xpath>
<value>
<StuffEffectMultiplierArmor>3</StuffEffectMultiplierArmor>
</value>
</Operation>

<!-- Guardian Helmet -->
<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="Ogam_GuardianHelmet"]/equippedStatOffsets/ShootingAccuracyPawn</xpath>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Ogam_GuardianHelmet"]/statBases</xpath>
<value>
<Bulk>4</Bulk>
<WornBulk>1</WornBulk>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Ogam_GuardianHelmet"]/statBases/StuffEffectMultiplierArmor</xpath>
<value>
<StuffEffectMultiplierArmor>3.5</StuffEffectMultiplierArmor>
</value>
</Operation>

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

<!-- Guild Cloth -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Ogam_GuildCloth"]/statBases/StuffPower_Armor_Sharp</xpath>
<value>
<StuffPower_Armor_Sharp>0.03</StuffPower_Armor_Sharp>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Ogam_GuildCloth"]/statBases/StuffPower_Armor_Blunt</xpath>
<value>
<StuffPower_Armor_Blunt>0.02</StuffPower_Armor_Blunt>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Ogam_GuildCloth"]/statBases/StuffPower_Armor_Heat</xpath>
<value>
<StuffPower_Armor_Heat>0.044</StuffPower_Armor_Heat>
</value>
</Operation>

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

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

<!-- Give Shields -->
<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[@Name="Ogam_MagicalAcademyPawnBase"] </xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<shieldMoney>
<min>100</min>
<max>350</max>
</shieldMoney>
<shieldTags>
<li>Ogam_ShieldHeater_MagicalAcademy</li>
</shieldTags>
<shieldChance>0.35</shieldChance>
</li>
</value>
</Operation>

</Patch>
Loading