Skip to content

Commit

Permalink
Alpha Animals black hive update
Browse files Browse the repository at this point in the history
  • Loading branch information
SamaelGray committed Sep 2, 2024
1 parent ce0ad0b commit 775a29a
Show file tree
Hide file tree
Showing 11 changed files with 355 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Factions Expanded - Insectoids 2</li>
</mods>

<match Class="PatchOperationSequence">
<operations>

<li Class="PatchOperationReplace">
<xpath>Defs/AbilityDef[defName="AA_GreaterVileSpit"]/verbProperties/range</xpath>
<value>
<range>30.9</range>
</value>
</li>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="AA_GreaterBlackHiveBolt"]/projectile</xpath>
<value>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageDef>AA_BlackHiveBolt</damageDef>
<speed>30</speed>
<damageAmountBase>20</damageAmountBase>
<armorPenetrationSharp>9</armorPenetrationSharp>
<armorPenetrationBlunt>12</armorPenetrationBlunt>
<numExtraHitCells>5</numExtraHitCells>
<filthCount>1</filthCount>
<shadowSize>0</shadowSize>
<filth>AA_FilthSlimyPuke</filth>
</projectile>
</value>
</Operation>

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

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

<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Factions Expanded - Insectoids 2</li>
</mods>

<match Class="PatchOperationSequence">
<operations>

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="AA_MechanoidRendingClaws"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>mechanoid rending claws</label>
<capacities>
<li>AA_EMPSlash</li>
</capacities>
<power>16</power>
<cooldownTime>1.5</cooldownTime>
<armorPenetrationSharp>2.0</armorPenetrationSharp>
<armorPenetrationBlunt>1.5</armorPenetrationBlunt>
</li>
</tools>
</value>
</Operation>

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

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

<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Factions Expanded - Insectoids 2</li>
</mods>

<match Class="PatchOperationSequence">
<operations>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VFEI2_BlackEmpress"]/statBases</xpath>
<value>
<MeleeDodgeChance>0.05</MeleeDodgeChance>
<MeleeCritChance>0.33</MeleeCritChance>
<MeleeParryChance>0.57</MeleeParryChance>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFEI2_BlackEmpress"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>25</ArmorRating_Blunt>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFEI2_BlackEmpress"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>14</ArmorRating_Sharp>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFEI2_BlackEmpress"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>head claw</label>
<capacities>
<li>AA_ExtraDamageMechanoidsClaws</li>
</capacities>
<power>25</power>
<cooldownTime>1.48</cooldownTime>
<linkedBodyPartsGroup>HeadClaw</linkedBodyPartsGroup>
<armorPenetrationSharp>50</armorPenetrationSharp>
<armorPenetrationBlunt>30</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>front claw</label>
<capacities>
<li>AA_ExtraDamageMechanoidsClaws</li>
</capacities>
<power>51</power>
<cooldownTime>1.65</cooldownTime>
<linkedBodyPartsGroup>HeadClaw</linkedBodyPartsGroup>
<armorPenetrationSharp>7.5</armorPenetrationSharp>
<armorPenetrationBlunt>15</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>head</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>12</power>
<cooldownTime>2.64</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<chanceFactor>0.2</chanceFactor>
<armorPenetrationBlunt>5.1</armorPenetrationBlunt>
</li>
</tools>
</value>
</li>

<li Class="PatchOperationConditional">
<xpath>Defs/ThingDef[defName="VFEI2_BlackEmpress"]/comps</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VFEI2_BlackEmpress"]</xpath>
<value>
<comps />
</value>
</nomatch>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VFEI2_BlackEmpress"]/comps</xpath>
<value>
<li Class="CombatExtended.CompProperties_ArmorDurability">
<Durability>2750</Durability>
<Regenerates>true</Regenerates>
<RegenInterval>400</RegenInterval>
<RegenValue>5</RegenValue>
<MinArmorPct>0.25</MinArmorPct>
</li>
</value>
</li>

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

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

<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Factions Expanded - Insectoids 2</li>
</mods>

<match Class="PatchOperationSequence">
<operations>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VFEI2_BlackQueen"]/statBases</xpath>
<value>
<MeleeDodgeChance>0.03</MeleeDodgeChance>
<MeleeCritChance>0.30</MeleeCritChance>
<MeleeParryChance>0.57</MeleeParryChance>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFEI2_BlackQueen"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>30</ArmorRating_Blunt>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFEI2_BlackQueen"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>12</ArmorRating_Sharp>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFEI2_BlackQueen"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>head claw</label>
<capacities>
<li>AA_ExtraDamageMechanoidsClaws</li>
</capacities>
<power>37</power>
<cooldownTime>1.48</cooldownTime>
<linkedBodyPartsGroup>HeadClaw</linkedBodyPartsGroup>
<armorPenetrationSharp>50</armorPenetrationSharp>
<armorPenetrationBlunt>30</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>head claw</label>
<capacities>
<li>Cut</li>
</capacities>
<power>65</power>
<cooldownTime>1.65</cooldownTime>
<linkedBodyPartsGroup>HeadClaw</linkedBodyPartsGroup>
<armorPenetrationSharp>5</armorPenetrationSharp>
<armorPenetrationBlunt>10</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>head</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>34</power>
<cooldownTime>2.64</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<chanceFactor>0.2</chanceFactor>
<armorPenetrationBlunt>14.4</armorPenetrationBlunt>
</li>
</tools>
</value>
</li>

<li Class="PatchOperationConditional">
<xpath>Defs/ThingDef[defName="VFEI2_BlackQueen"]/comps</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VFEI2_BlackQueen"]</xpath>
<value>
<comps />
</value>
</nomatch>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VFEI2_BlackQueen"]/comps</xpath>
<value>
<li Class="CombatExtended.CompProperties_ArmorDurability">
<Durability>3000</Durability>
<Regenerates>true</Regenerates>
<RegenInterval>400</RegenInterval>
<RegenValue>5</RegenValue>
<MinArmorPct>0.25</MinArmorPct>
</li>
</value>
</li>

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

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

<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Factions Expanded - Insectoids 2</li>
</mods>

<match Class="PatchOperationSequence">
<operations>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFEI2_BlackSwarmling"]/statBases/MoveSpeed</xpath>
<value>
<MoveSpeed>1.9</MoveSpeed>
<MeleeDodgeChance>0.1</MeleeDodgeChance>
<MeleeCritChance>0.02</MeleeCritChance>
<MeleeParryChance>0.01</MeleeParryChance>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFEI2_BlackSwarmling"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>mouth</label>
<capacities>
<li>Bite</li>
</capacities>
<power>3</power>
<cooldownTime>1.5</cooldownTime>
<linkedBodyPartsGroup>Mouth</linkedBodyPartsGroup>
<armorPenetrationSharp>0.1</armorPenetrationSharp>
<armorPenetrationBlunt>0.25</armorPenetrationBlunt>
</li>
</tools>
</value>
</li>

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

</Patch>
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
<armorPenetrationBlunt>30</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>AAVPE_InfectedMandibles</label>
<label>infected mandibles</label>
<capacities>
<li>Cut</li>
<li>AAVPE_InfectedMandibles</li>
</capacities>
<power>65</power>
<cooldownTime>1.65</cooldownTime>
Expand Down Expand Up @@ -78,7 +78,7 @@
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="AAVPE_BlackQueen"]</xpath>
<value>
<comps/>
<comps />
</value>
</nomatch>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
<xpath>Defs/DamageDef[defName="AA_ToxicSting" or
defName="AA_InfectedClaws" or
defName="AA_ToxicBite" or
defName="AA_ToxicBolt"]/additionalHediffs/li[hediff="AA_ToxicBuildup"]/severityPerDamageDealt </xpath>
defName="AA_ToxicBolt" or
defName="AA_BlackHiveBolt"]/additionalHediffs/li[hediff="AA_ToxicBuildup"]/severityPerDamageDealt </xpath>
<value>
<severityPerDamageDealt>0.01</severityPerDamageDealt>
</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
defName="AA_FrostWeb" or
defName="AA_Plasma" or
defName="AA_PoisonBolt" or
defName="AA_BlackHiveBolt" or
defName="AA_Quill" or
defName="AA_RedPoisonBolt" or
defName="AA_Web" or
Expand Down Expand Up @@ -120,6 +121,20 @@
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<flyOverhead>false</flyOverhead>
<damageDef>AA_ToxicBolt</damageDef>
<damageAmountBase>9</damageAmountBase>
<speed>25</speed>
<armorPenetrationSharp>2.3</armorPenetrationSharp>
<armorPenetrationBlunt>1.5</armorPenetrationBlunt>
</projectile>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="AA_BlackHiveBolt"]/projectile</xpath>
<value>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<flyOverhead>false</flyOverhead>
<damageDef>AA_BlackHiveBolt</damageDef>
<damageAmountBase>10</damageAmountBase>
<speed>27</speed>
<armorPenetrationSharp>2.5</armorPenetrationSharp>
Expand Down
Loading

0 comments on commit 775a29a

Please sign in to comment.