Skip to content

Commit

Permalink
Dragon Descent Natural Armor
Browse files Browse the repository at this point in the history
  • Loading branch information
ViralReaction committed Sep 22, 2023
1 parent 6ae4eef commit 4280a51
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
<mods>
<li>Dragons Descent</li>
</mods>

<match Class="PatchOperationSequence">
<operations>

<!-- ======== BaseDragon (Dragon Base) ======== -->
<!-- ====== ModExtension ====== -->
<li Class="PatchOperationAddModExtension">
Expand All @@ -17,6 +19,7 @@
</li>
</value>
</li>

<!-- ======== DragonRaceBase (Common Dragon Base) ======== -->
<!-- ====== statBases ====== -->
<li Class="PatchOperationAdd">
Expand All @@ -28,24 +31,41 @@
<ShootingAccuracyPawn>1.5</ShootingAccuracyPawn>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="DragonRaceBase"]/statBases/MeleeDodgeChance</xpath>
<value>
<MeleeDodgeChance>0.13</MeleeDodgeChance>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="DragonRaceBase"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>40</ArmorRating_Blunt>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="DragonRaceBase"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>16</ArmorRating_Sharp>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="DragonRaceBase"]/comps</xpath>
<value>
<li Class="CombatExtended.CompProperties_ArmorDurability">
<Durability>4250</Durability>
<Regenerates>true</Regenerates>
<RegenInterval>600</RegenInterval>
<RegenValue>5</RegenValue>
<MinArmorPct>0.5</MinArmorPct>
</li>
</value>
</li>

<!-- ======== RDragonRaceBase (Rare Dragon Base) ======== -->
<!-- ====== statBases ====== -->
<li Class="PatchOperationAdd">
Expand Down Expand Up @@ -76,7 +96,21 @@
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="RDragonRaceBase"]/comps</xpath>
<value>
<li Class="CombatExtended.CompProperties_ArmorDurability">
<Durability>5075</Durability>
<Regenerates>true</Regenerates>
<RegenInterval>600</RegenInterval>
<RegenValue>5</RegenValue>
<MinArmorPct>0.5</MinArmorPct>
</li>
</value>
</li>

</operations>
</match>
</Operation>

</Patch>
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,46 @@
</value>
</li>

<!-- Natural Armor Comp -->
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="VoidDragonRaceBase" or @Name="VoidDragonWWRaceBase"]/comps</xpath>
<value>
<li Class="CombatExtended.CompProperties_ArmorDurability">
<Durability>16500</Durability>
<Regenerates>true</Regenerates>
<RegenInterval>600</RegenInterval>
<RegenValue>5</RegenValue>
<MinArmorPct>0.5</MinArmorPct>
</li>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="NebulaDragonRaceBase"]/comps</xpath>
<value>
<li Class="CombatExtended.CompProperties_ArmorDurability">
<Durability>15250</Durability>
<Regenerates>true</Regenerates>
<RegenInterval>600</RegenInterval>
<RegenValue>5</RegenValue>
<MinArmorPct>0.5</MinArmorPct>
</li>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="StarDragonRaceBase"]/comps</xpath>
<value>
<li Class="CombatExtended.CompProperties_ArmorDurability">
<Durability>14000</Durability>
<Regenerates>true</Regenerates>
<RegenInterval>600</RegenInterval>
<RegenValue>5</RegenValue>
<MinArmorPct>0.5</MinArmorPct>
</li>
</value>
</li>

<!-- ====== race (Race Properties) ====== -->
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="VoidDragonRaceBase"]/race/manhunterOnTameFailChance</xpath>
Expand Down

0 comments on commit 4280a51

Please sign in to comment.