Skip to content

Commit

Permalink
Make biotech turrets not stunned by stun damage
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed May 22, 2024
1 parent 52ad784 commit c460cde
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Royalty/Patches/ThingDefs_Buildings/Buildings_Mechanoid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@
</value>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="Turret_AutoMiniTurret"]/comps/li[@Class="CompProperties_Stunnable"]/affectedDamageDefs/li[.="Stun"]</xpath>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Turret_AutoMiniTurret"]/thingClass</xpath>
<value>
Expand Down Expand Up @@ -121,6 +125,10 @@
</value>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="Turret_AutoChargeBlaster"]/comps/li[@Class="CompProperties_Stunnable"]/affectedDamageDefs/li[.="Stun"]</xpath>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Turret_AutoChargeBlaster"]/statBases</xpath>
<value>
Expand Down Expand Up @@ -177,6 +185,10 @@
</value>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="Turret_AutoInferno"]/comps/li[@Class="CompProperties_Stunnable"]/affectedDamageDefs/li[.="Stun"]</xpath>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Turret_AutoInferno"]/statBases</xpath>
<value>
Expand Down Expand Up @@ -235,6 +247,10 @@
</value>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="Turret_AutoMortar"]/comps/li[@Class="CompProperties_Stunnable"]/affectedDamageDefs/li[.="Stun"]</xpath>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Turret_AutoMortar"]/statBases/MaxHitPoints</xpath>
<value>
Expand Down

0 comments on commit c460cde

Please sign in to comment.