From afdd1440bbbdbd97f0caa236ba0c08677c888129 Mon Sep 17 00:00:00 2001
From: Merwini <86023141+Merwini@users.noreply.github.com>
Date: Sun, 28 Jul 2024 10:21:56 -0400
Subject: [PATCH 1/3] Update Patch for A RimWorld of Magic
---
.../A Rimworld of Magic/Defs_Projectiles.xml | 8 +++----
.../A Rimworld of Magic/Patch_Ranged.xml | 23 ++++++++++++-------
2 files changed, 19 insertions(+), 12 deletions(-)
diff --git a/ModPatches/A Rimworld of Magic/Defs/A Rimworld of Magic/Defs_Projectiles.xml b/ModPatches/A Rimworld of Magic/Defs/A Rimworld of Magic/Defs_Projectiles.xml
index bb08f1d889..21598d29ed 100644
--- a/ModPatches/A Rimworld of Magic/Defs/A Rimworld of Magic/Defs_Projectiles.xml
+++ b/ModPatches/A Rimworld of Magic/Defs/A Rimworld of Magic/Defs_Projectiles.xml
@@ -15,7 +15,7 @@
- Projectile_IceWand
+ Projectile_IceWandCE
Spells/Icebolt
@@ -29,7 +29,7 @@
- Projectile_FireWand
+ Projectile_FireWandCE
Spells/seer_ring_fire
@@ -46,7 +46,7 @@
- Projectile_LightningWand
+ Projectile_LightningWandCE
Spells/LightningBolt
@@ -64,7 +64,7 @@
- Projectile_BlazingPower
+ Projectile_BlazingPowerCE
Spells/blazingpower
diff --git a/ModPatches/A Rimworld of Magic/Patches/A Rimworld of Magic/Patch_Ranged.xml b/ModPatches/A Rimworld of Magic/Patches/A Rimworld of Magic/Patch_Ranged.xml
index 163f5a3f3e..15e7eb424a 100644
--- a/ModPatches/A Rimworld of Magic/Patches/A Rimworld of Magic/Patch_Ranged.xml
+++ b/ModPatches/A Rimworld of Magic/Patches/A Rimworld of Magic/Patch_Ranged.xml
@@ -73,7 +73,7 @@
1.53
CombatExtended.Verb_ShootCE
true
- Projectile_IceWand
+ Projectile_IceWandCE
0.5
40
TM_Woosh
@@ -98,7 +98,7 @@
CombatExtended.Verb_ShootCE
true
- Projectile_IceWand
+ Projectile_IceWandCE
0.25
40
Shot_ChargeRifle
@@ -124,7 +124,7 @@
1.53
CombatExtended.Verb_ShootCE
true
- Projectile_LightningWand
+ Projectile_LightningWandCE
2.8
32
TM_Thunder_OnMap
@@ -149,7 +149,7 @@
CombatExtended.Verb_ShootCE
true
- Projectile_LightningWand
+ Projectile_LightningWandCE
1.4
32
TM_Thunder_OnMap
@@ -175,7 +175,7 @@
1.53
CombatExtended.Verb_ShootCE
true
- Projectile_FireWand
+ Projectile_FireWandCE
1.5
32
3
@@ -202,7 +202,7 @@
CombatExtended.Verb_ShootCE
true
- Projectile_FireWand
+ Projectile_FireWandCE
0.75
32
3
@@ -224,6 +224,13 @@
Defs/ThingDef[defName="TM_DefenderStaff" or defName="TM_BlazingPowerStaff"]/verbs/li[verbClass="TorannMagic.Weapon.Verb_BlazingPower"]
+
+ Defs/ThingDef[defName= "TM_Ruunbled" or defName="TM_BlazingPowerStaff" or defName="TM_DefenderStaff"]/comps/li[@Class="CompDeflector.CompProperties_Deflector"]/DeflectVerb/defaultProjectile
+
+ Projectile_BlazingPowerCE
+
+
+
TM_DefenderStaff
@@ -238,7 +245,7 @@
1.53
CombatExtended.Verb_ShootCE
true
- Projectile_BlazingPower
+ Projectile_BlazingPowerCE
0.5
40
TM_Woosh
@@ -267,7 +274,7 @@
1.53
CombatExtended.Verb_ShootCE
true
- Projectile_BlazingPower
+ Projectile_BlazingPowerCE
1
40
TM_Woosh
From 3e56a608df07f2446782cbfbd731fbfd64c9a17d Mon Sep 17 00:00:00 2001
From: n7huntsman
Date: Sun, 28 Jul 2024 17:55:56 -0400
Subject: [PATCH 2/3] Make base wand projectile abstract
---
.../Defs/A Rimworld of Magic/Defs_Projectiles.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ModPatches/A Rimworld of Magic/Defs/A Rimworld of Magic/Defs_Projectiles.xml b/ModPatches/A Rimworld of Magic/Defs/A Rimworld of Magic/Defs_Projectiles.xml
index 21598d29ed..92c8c173e9 100644
--- a/ModPatches/A Rimworld of Magic/Defs/A Rimworld of Magic/Defs_Projectiles.xml
+++ b/ModPatches/A Rimworld of Magic/Defs/A Rimworld of Magic/Defs_Projectiles.xml
@@ -3,7 +3,7 @@
-
+
Graphic_Single
TransparentPostLight
From 3caf1ee905848b800ebdba828e89072014490558 Mon Sep 17 00:00:00 2001
From: n7huntsman
Date: Mon, 29 Jul 2024 04:28:37 -0400
Subject: [PATCH 3/3] Reformat proj defnames
---
.../A Rimworld of Magic/Defs_Projectiles.xml | 8 ++---
.../A Rimworld of Magic/Patch_Ranged.xml | 29 +++++++++----------
2 files changed, 18 insertions(+), 19 deletions(-)
diff --git a/ModPatches/A Rimworld of Magic/Defs/A Rimworld of Magic/Defs_Projectiles.xml b/ModPatches/A Rimworld of Magic/Defs/A Rimworld of Magic/Defs_Projectiles.xml
index 92c8c173e9..8ad9737655 100644
--- a/ModPatches/A Rimworld of Magic/Defs/A Rimworld of Magic/Defs_Projectiles.xml
+++ b/ModPatches/A Rimworld of Magic/Defs/A Rimworld of Magic/Defs_Projectiles.xml
@@ -15,7 +15,7 @@
- Projectile_IceWandCE
+ Projectile_CE_IceWand
Spells/Icebolt
@@ -29,7 +29,7 @@
- Projectile_FireWandCE
+ Projectile_CE_FireWand
Spells/seer_ring_fire
@@ -46,7 +46,7 @@
- Projectile_LightningWandCE
+ Projectile_CE_LightningWand
Spells/LightningBolt
@@ -64,7 +64,7 @@
- Projectile_BlazingPowerCE
+ Projectile_CE_BlazingPower
Spells/blazingpower
diff --git a/ModPatches/A Rimworld of Magic/Patches/A Rimworld of Magic/Patch_Ranged.xml b/ModPatches/A Rimworld of Magic/Patches/A Rimworld of Magic/Patch_Ranged.xml
index 15e7eb424a..a88a9de7f4 100644
--- a/ModPatches/A Rimworld of Magic/Patches/A Rimworld of Magic/Patch_Ranged.xml
+++ b/ModPatches/A Rimworld of Magic/Patches/A Rimworld of Magic/Patch_Ranged.xml
@@ -40,7 +40,7 @@
2
0.5
- .2
+ 0.2
@@ -50,7 +50,6 @@
Defs/ThingDef[defName="Projectile_IceWand"]
-
Defs/ThingDef[defName="Projectile_FireWand"]
@@ -67,13 +66,13 @@
1.01
1
1
- .6
+ 0.6
1.53
CombatExtended.Verb_ShootCE
true
- Projectile_IceWandCE
+ Projectile_CE_IceWand
0.5
40
TM_Woosh
@@ -93,12 +92,12 @@
0.10
0.5
1
- .3
+ 0.3
CombatExtended.Verb_ShootCE
true
- Projectile_IceWandCE
+ Projectile_CE_IceWand
0.25
40
Shot_ChargeRifle
@@ -124,7 +123,7 @@
1.53
CombatExtended.Verb_ShootCE
true
- Projectile_LightningWandCE
+ Projectile_CE_LightningWand
2.8
32
TM_Thunder_OnMap
@@ -144,12 +143,12 @@
0.10
0.5
1
- .8
+ 0.8
CombatExtended.Verb_ShootCE
true
- Projectile_LightningWandCE
+ Projectile_CE_LightningWand
1.4
32
TM_Thunder_OnMap
@@ -175,7 +174,7 @@
1.53
CombatExtended.Verb_ShootCE
true
- Projectile_FireWandCE
+ Projectile_CE_FireWand
1.5
32
3
@@ -197,12 +196,12 @@
0.10
0.5
1
- .95
+ 0.95
CombatExtended.Verb_ShootCE
true
- Projectile_FireWandCE
+ Projectile_CE_FireWand
0.75
32
3
@@ -227,7 +226,7 @@
Defs/ThingDef[defName= "TM_Ruunbled" or defName="TM_BlazingPowerStaff" or defName="TM_DefenderStaff"]/comps/li[@Class="CompDeflector.CompProperties_Deflector"]/DeflectVerb/defaultProjectile
- Projectile_BlazingPowerCE
+ Projectile_CE_BlazingPower
@@ -245,7 +244,7 @@
1.53
CombatExtended.Verb_ShootCE
true
- Projectile_BlazingPowerCE
+ Projectile_CE_BlazingPower
0.5
40
TM_Woosh
@@ -274,7 +273,7 @@
1.53
CombatExtended.Verb_ShootCE
true
- Projectile_BlazingPowerCE
+ Projectile_CE_BlazingPower
1
40
TM_Woosh