Skip to content

Commit

Permalink
Merge pull request #3312 from Merwini/ARoMPatch
Browse files Browse the repository at this point in the history
Update Patch for A RimWorld of Magic
  • Loading branch information
N7Huntsman authored Aug 1, 2024
2 parents de2ada1 + 3caf1ee commit e09d792
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<!-- ==================== Wand Projectiles ==================== -->

<ThingDef Name="WandBoltProjectile" ParentName="Base6x24mmChargedBullet" Class="AbilityUser.ProjectileDef_Ability">
<ThingDef Name="WandBoltProjectile" ParentName="Base6x24mmChargedBullet" Class="AbilityUser.ProjectileDef_Ability" Abstract="true">
<graphicData>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>TransparentPostLight</shaderType>
Expand All @@ -15,7 +15,7 @@
</ThingDef>

<ThingDef ParentName="WandBoltProjectile" Class="AbilityUser.ProjectileDef_Ability">
<defName>Projectile_IceWand</defName>
<defName>Projectile_CE_IceWand</defName>
<label>ice shard</label>
<graphicData>
<texPath>Spells/Icebolt</texPath>
Expand All @@ -29,7 +29,7 @@
</ThingDef>

<ThingDef ParentName="WandBoltProjectile" Class="AbilityUser.ProjectileDef_Ability">
<defName>Projectile_FireWand</defName>
<defName>Projectile_CE_FireWand</defName>
<label>fire blast</label>
<graphicData>
<texPath>Spells/seer_ring_fire</texPath>
Expand All @@ -46,7 +46,7 @@
</ThingDef>

<ThingDef ParentName="WandBoltProjectile" Class="AbilityUser.ProjectileDef_Ability">
<defName>Projectile_LightningWand</defName>
<defName>Projectile_CE_LightningWand</defName>
<label>lightning bolt</label>
<graphicData>
<texPath>Spells/LightningBolt</texPath>
Expand All @@ -64,7 +64,7 @@
</ThingDef>

<ThingDef ParentName="WandBoltProjectile" Class="AbilityUser.ProjectileDef_Ability">
<defName>Projectile_BlazingPower</defName>
<defName>Projectile_CE_BlazingPower</defName>
<label>blazing power</label>
<graphicData>
<texPath>Spells/blazingpower</texPath>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</capacities>
<power>2</power>
<cooldownTime>0.5</cooldownTime>
<armorPenetrationBlunt>.2</armorPenetrationBlunt>
<armorPenetrationBlunt>0.2</armorPenetrationBlunt>
</li>
</tools>
</value>
Expand All @@ -50,7 +50,6 @@
<xpath>Defs/ThingDef[defName="Projectile_IceWand"]</xpath>
</Operation>


<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="Projectile_FireWand"]</xpath>
</Operation>
Expand All @@ -67,13 +66,13 @@
<SwayFactor>1.01</SwayFactor>
<Bulk>1</Bulk>
<Mass>1</Mass>
<RangedWeapon_Cooldown>.6</RangedWeapon_Cooldown>
<RangedWeapon_Cooldown>0.6</RangedWeapon_Cooldown>
</statBases>
<Properties>
<recoilAmount>1.53</recoilAmount>
<verbClass>CombatExtended.Verb_ShootCE</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Projectile_IceWand</defaultProjectile>
<defaultProjectile>Projectile_CE_IceWand</defaultProjectile>
<warmupTime>0.5</warmupTime>
<range>40</range>
<soundCast>TM_Woosh</soundCast>
Expand All @@ -93,12 +92,12 @@
<SwayFactor>0.10</SwayFactor>
<Bulk>0.5</Bulk>
<Mass>1</Mass>
<RangedWeapon_Cooldown>.3</RangedWeapon_Cooldown>
<RangedWeapon_Cooldown>0.3</RangedWeapon_Cooldown>
</statBases>
<Properties>
<verbClass>CombatExtended.Verb_ShootCE</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Projectile_IceWand</defaultProjectile>
<defaultProjectile>Projectile_CE_IceWand</defaultProjectile>
<warmupTime>0.25</warmupTime>
<range>40</range>
<soundCast>Shot_ChargeRifle</soundCast>
Expand All @@ -124,7 +123,7 @@
<recoilAmount>1.53</recoilAmount>
<verbClass>CombatExtended.Verb_ShootCE</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Projectile_LightningWand</defaultProjectile>
<defaultProjectile>Projectile_CE_LightningWand</defaultProjectile>
<warmupTime>2.8</warmupTime>
<range>32</range>
<soundCast>TM_Thunder_OnMap</soundCast>
Expand All @@ -144,12 +143,12 @@
<SwayFactor>0.10</SwayFactor>
<Bulk>0.5</Bulk>
<Mass>1</Mass>
<RangedWeapon_Cooldown>.8</RangedWeapon_Cooldown>
<RangedWeapon_Cooldown>0.8</RangedWeapon_Cooldown>
</statBases>
<Properties>
<verbClass>CombatExtended.Verb_ShootCE</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Projectile_LightningWand</defaultProjectile>
<defaultProjectile>Projectile_CE_LightningWand</defaultProjectile>
<warmupTime>1.4</warmupTime>
<range>32</range>
<soundCast>TM_Thunder_OnMap</soundCast>
Expand All @@ -175,7 +174,7 @@
<recoilAmount>1.53</recoilAmount>
<verbClass>CombatExtended.Verb_ShootCE</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Projectile_FireWand</defaultProjectile>
<defaultProjectile>Projectile_CE_FireWand</defaultProjectile>
<warmupTime>1.5</warmupTime>
<range>32</range>
<burstShotCount>3</burstShotCount>
Expand All @@ -197,12 +196,12 @@
<SwayFactor>0.10</SwayFactor>
<Bulk>0.5</Bulk>
<Mass>1</Mass>
<RangedWeapon_Cooldown>.95</RangedWeapon_Cooldown>
<RangedWeapon_Cooldown>0.95</RangedWeapon_Cooldown>
</statBases>
<Properties>
<verbClass>CombatExtended.Verb_ShootCE</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Projectile_FireWand</defaultProjectile>
<defaultProjectile>Projectile_CE_FireWand</defaultProjectile>
<warmupTime>0.75</warmupTime>
<range>32</range>
<burstShotCount>3</burstShotCount>
Expand All @@ -224,6 +223,13 @@
<xpath>Defs/ThingDef[defName="TM_DefenderStaff" or defName="TM_BlazingPowerStaff"]/verbs/li[verbClass="TorannMagic.Weapon.Verb_BlazingPower"]</xpath>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName= "TM_Ruunbled" or defName="TM_BlazingPowerStaff" or defName="TM_DefenderStaff"]/comps/li[@Class="CompDeflector.CompProperties_Deflector"]/DeflectVerb/defaultProjectile</xpath>
<value>
<defaultProjectile>Projectile_CE_BlazingPower</defaultProjectile>
</value>
</Operation>

<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
<defName>TM_DefenderStaff</defName>
<statBases>
Expand All @@ -238,7 +244,7 @@
<recoilAmount>1.53</recoilAmount>
<verbClass>CombatExtended.Verb_ShootCE</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Projectile_BlazingPower</defaultProjectile>
<defaultProjectile>Projectile_CE_BlazingPower</defaultProjectile>
<warmupTime>0.5</warmupTime>
<range>40</range>
<soundCast>TM_Woosh</soundCast>
Expand Down Expand Up @@ -267,7 +273,7 @@
<recoilAmount>1.53</recoilAmount>
<verbClass>CombatExtended.Verb_ShootCE</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Projectile_BlazingPower</defaultProjectile>
<defaultProjectile>Projectile_CE_BlazingPower</defaultProjectile>
<warmupTime>1</warmupTime>
<range>40</range>
<soundCast>TM_Woosh</soundCast>
Expand Down

0 comments on commit e09d792

Please sign in to comment.