diff --git a/.gitignore b/.gitignore
index d2b12a03..9c01e652 100644
--- a/.gitignore
+++ b/.gitignore
@@ -157,3 +157,4 @@ nwn/nwnprc/trunk/makefile.temp
nwn/nwnprc/trunk/makefile.temp
nwn/nwnprc/trunk/scripts/old_lich_alter.nss
nwn/nwnprc/trunk/makefile.temp
+*.temp
diff --git a/Release/PRC8_20240807.7z b/Release/PRC8_20240807.7z
new file mode 100644
index 00000000..6562bd4d
Binary files /dev/null and b/Release/PRC8_20240807.7z differ
diff --git a/Release/PRC8_20240806.7z b/_backup/PRC8_20240806.7z
similarity index 100%
rename from Release/PRC8_20240806.7z
rename to _backup/PRC8_20240806.7z
diff --git a/nwn/nwnprc/trunk/2das/des_crft_scroll.2da b/nwn/nwnprc/trunk/2das/des_crft_scroll.2da
index 87376abc..3199948f 100644
--- a/nwn/nwnprc/trunk/2das/des_crft_scroll.2da
+++ b/nwn/nwnprc/trunk/2das/des_crft_scroll.2da
@@ -2480,7 +2480,7 @@
2476 ForestMaster_DeepRoots **** **** **** **** **** ****
2477 ResistEnergyCold **** **** **** **** **** ****
2478 ResistEnergyElec **** **** **** **** **** ****
-2479 ResistEnergyAcid **** **** **** **** **** ****
+2479 SPELL_CHASING_PERFECTION prc_scr_997 prc_scr_997 **** prc_scr_997 **** ****
2480 SPELL_FORCE_MISSILES prc_scr_995 **** **** **** **** ****
2481 SYMBOL_OF_DEATH prc_scr_967 prc_scr_967 **** **** **** ****
2482 SYMBOL_OF_FEAR prc_scr_968 prc_scr_968 **** **** **** ****
diff --git a/nwn/nwnprc/trunk/2das/des_crft_spells.2da b/nwn/nwnprc/trunk/2das/des_crft_spells.2da
index d55b2e99..ec0f579e 100644
--- a/nwn/nwnprc/trunk/2das/des_crft_spells.2da
+++ b/nwn/nwnprc/trunk/2das/des_crft_spells.2da
@@ -2478,9 +2478,9 @@
2474 ForestMaster_IcyMallet **** 1 1 1 2 0
2475 ForestMaster_ShockMallet **** 1 1 1 2 0
2476 ForestMaster_DeepRoots **** 1 1 1 4 0
-2477 ResistEnergyCold **** 1 1 1 **** 0
-2478 ResistEnergyElec **** 1 1 1 **** 0
-2479 ResistEnergyAcid **** 1 1 1 **** 0
+2477 **** **** 1 1 1 **** 0
+2478 **** **** 1 1 1 **** 0
+2479 SPELL_CHASING_PERFECTION 997 1 1 0 6 0
2480 SPELL_FORCE_MISSILES 995 1 0 0 4 0
2481 SYMBOL_OF_DEATH 967 1 1 0 8 0
2482 SYMBOL_OF_FEAR 968 1 1 0 6 0
diff --git a/nwn/nwnprc/trunk/2das/iprp_spellcost.2DA b/nwn/nwnprc/trunk/2das/iprp_spellcost.2DA
index 32fba2a4..0321900a 100644
--- a/nwn/nwnprc/trunk/2das/iprp_spellcost.2DA
+++ b/nwn/nwnprc/trunk/2das/iprp_spellcost.2DA
@@ -1,251 +1,252 @@
2DA V2.0
- Label Name SpellIndex Cost
-0 Acid_Fog 750 0 6
-1 Aid 751 1 2
-2 Barkskin 753 3 2
-3 Bestow_Curse 754 4 3
-4 Bless **** **** ****
-5 Bless_Weapon **** **** ****
-6 Blindness_and_Deafness 758 8 2
-7 Bulls_Strength **** **** ****
-8 Burning_Hands 760 10 1
-9 Call_Lightning 761 11 3
-10 Calm_Emotions **** **** ****
-11 Cats_Grace **** **** ****
-12 Chain_Lightning 764 14 6
-13 Charm_Monster 765 15 3
-14 Charm_Person 766 16 1
-15 Charm_Person_or_Animal 767 17 2
-16 Circle_of_Death 768 18 6
-17 Circle_of_Doom 769 19 5
-18 Clairaudience_and_Clairvoyance **** **** ****
-19 Clarity **** **** ****
-20 Cloak_of_Chaos **** **** ****
-21 Cloudkill 773 23 5
-22 Color_Spray 774 24 1
-23 Cone_of_Cold 775 25 5
-24 Confusion 776 26 3
-25 Contagion 777 27 3
-26 Control_Undead 778 28 7
-27 Cure_Critical_Wounds 781 31 4
-28 Cure_Light_Wounds 782 32 1
-29 Cure_Minor_Wounds 783 33 0.5
-30 Cure_Moderate_Wounds 784 34 2
-31 Cure_Serious_Wounds 785 35 3
-32 Darkness 786 36 2
-33 Daze 787 37 0.5
-34 Death_Ward 788 38 4
-35 Delayed_Blast_Fireball 789 39 7
-36 Dismissal 790 40 4
-37 Dispel_Magic 791 41 3
-38 Divine_Power **** **** ****
-39 Dominate_Animal 793 43 3
-40 Dominate_Monster 794 44 9
-41 Dominate_Person 795 45 4
-42 Doom 796 46 1
-43 Elemental_Shield **** **** ****
-44 Endurance **** **** ****
-45 Endure_Elements **** **** ****
-46 Energy_Drain 801 51 9
-47 Enervation 802 52 4
-48 Entangle 803 53 1
-49 Fear 804 54 3
-50 Feeblemind 805 55 5
-51 Finger_of_Death 806 56 7
-52 Fire_Storm 807 57 7
-53 Fireball 808 58 3
-54 Flame_Arrow 809 59 3
-55 Flame_Lash 810 60 2
-56 Flame_Strike 811 61 4
-57 Freedom_of_Movement 812 62 4
-58 Globe_of_Invulnerability **** **** ****
-59 Grease 816 66 1
-60 Greater_Dispelling 817 67 5
-61 Greater_Magic_Weapon **** **** ****
-62 Greater_Planar_Binding 819 69 8
-63 Greater_Restoration **** **** ****
-64 Greater_Shadow_Conjuration 821 71 5
-65 Greater_Spell_Breach 822 72 6
-66 Greater_Spell_Mantle **** **** ****
-67 Greater_Stoneskin **** **** ****
-68 Hammer_of_the_Gods 826 76 4
-69 Harm 827 77 6
-70 Haste **** **** ****
-71 Heal 829 79 6
-72 Healing_Circle 830 80 5
-73 Hold_Animal 831 81 2
-74 Hold_Monster 832 82 4
-75 Hold_Person 833 83 2
-76 Holy_Aura **** **** ****
-77 Holy_Sword **** **** ****
-78 Implosion 837 87 9
-79 Improved_Invisibility 838 88 4
-80 Incendiary_Cloud 839 89 8
-81 Invisibility **** **** ****
-82 Invisibility_Purge 841 91 3
-83 Invisibility_Sphere **** **** ****
-84 Lesser_Dispel 844 94 1
-85 Lesser_Mind_Blank **** **** ****
-86 Lesser_Planar_Binding 846 96 5
-87 Lesser_Restoration **** **** ****
-88 Lesser_Spell_Breach 848 98 4
-89 Lesser_Spell_Mantle **** **** ****
-90 Light **** **** ****
-91 Lightning_Bolt 851 101 3
-92 Mage_Armor **** **** ****
-93 Magic_Circle_against_Chaos **** **** ****
-94 Magic_Circle_against_Evil **** **** ****
-95 Magic_Circle_against_Good **** **** ****
-96 Magic_Circle_against_Law **** **** ****
-97 Magic_Missile 857 107 1
-98 Magic_Vestment **** **** ****
-99 Magic_Weapon **** **** ****
-100 Mass_Blindness_and_Deafness 860 110 8
-101 Mass_Charm 861 111 8
-102 Mass_Domination **** **** ****
-103 Mass_Haste **** **** ****
-104 Mass_Heal 864 114 8
-105 Melfs_Acid_Arrow 865 115 2
-106 Meteor_Swarm 866 116 9
-107 Mind_Blank **** **** ****
-108 Mind_Fog 868 118 5
-109 Minor_Globe_of_Invulnerability **** **** ****
-110 Ghostly_Visage **** **** ****
-111 Ethereal_Visage **** **** ****
-112 Mordenkainens_Disjunction 872 122 9
-113 Natures_Balance **** **** ****
-114 Negative_Energy_Protection **** **** ****
-115 Neutralize_Poison **** **** ****
-116 Phantasmal_Killer 877 127 4
-117 Planar_Binding 878 128 6
-118 Poison 879 129 3
-119 Polymorph_Self **** **** ****
-120 Power_Word,_Kill 881 131 9
-121 Power_Word,_Stun 882 132 7
-122 Prayer **** **** ****
-123 Premonition **** **** ****
-124 Prismatic_Spray 885 135 7
-125 Protection__from_Chaos **** **** ****
-126 Protection_from_Elements **** **** ****
-127 Protection_from_Evil **** **** ****
-128 Protection_from_Good **** **** ****
-129 Protection_from_Law **** **** ****
-130 Protection_from_Spells **** **** ****
-131 Ray_of_Enfeeblement 893 143 1
-132 Ray_of_Frost 894 144 0.5
-133 Remove_Blindness_and_Deafness **** **** ****
-134 Remove_Curse **** **** ****
-135 Remove_Disease **** **** ****
-136 Remove_Fear **** **** ****
-137 Remove_Paralysis **** **** ****
-138 Resist_Elements **** **** ****
-139 Resistance **** **** ****
-140 Restoration **** **** ****
-141 Sanctuary **** **** ****
-142 Scare 905 155 1
-143 Searing_Light 906 156 3
-144 See_Invisibility **** **** ****
-145 Shades 908 158 6
-146 Shadow_Conjuration 909 159 4
-147 Shadow_Shield **** **** ****
-148 Shapechange **** **** ****
-149 Shield_of_Law **** **** ****
-150 Silence 913 163 2
-151 Slay_Living 914 164 5
-152 Sleep 915 165 1
-153 Slow 916 166 3
-154 Sound_Burst 917 167 2
-155 Spell_Resistance **** **** ****
-156 Spell_Mantle **** **** ****
-157 Sphere_of_Chaos **** **** ****
-158 Stinking_Cloud 921 171 3
-159 Stoneskin 922 172 4
-160 Storm_of_Vengeance 923 173 9
-161 Sunbeam 933 183 7
-162 Tensers_Transformation **** **** ****
-163 True_Seeing **** **** ****
-164 Unholy_Aura **** **** ****
-165 Virtue 939 189 0.5
-166 Wail_of_the_Banshee 940 190 9
-167 Web 942 192 2
-168 Weird 943 193 9
-169 Word_of_Faith 944 194 7
-170 Protection_from_Alignment **** **** ****
-171 Magic_Circle_against_Alignment 5135 322 3
-172 Aura_versus_Alignment **** **** ****
-173 Eagle_Spledor 5371 354 2
-174 Owls_Wisdom 5370 355 2
-175 Foxs_Cunning 5369 356 2
-176 Greater_Eagles_Splendor 5372 357 6
-177 Greater_Owls_Wisdom 5373 358 6
-178 Greater_Foxs_Cunning 5374 359 6
-179 Greater_Bulls_Strength 5375 360 6
-180 Greater_Cats_Grace 5376 361 6
-181 Greater_Endurance 5377 362 6
-182 Aura_of_Vitality 6362 372 7
-183 War_Cry 6363 373 3
-184 Regenerate 6364 374 7
-185 Evards_Black_Tentacles 6365 375 4
-186 Legend_Lore 6367 376 5
-187 Find_Traps 6368 377 2
-188 Divine_Favor 53 414 1
-189 True_Strike 55 415 1
-190 Flare 56 416 0.5
-191 Shield 57 417 1
-192 Acid_Splash 383 424 1
-193 Quillfire 1773 425 3
-194 Sunburst 385 427 8
-195 Banishment 387 430 6
-196 Inflict_Minor_Wounds 388 431 0.5
-197 Inflict_Light_Wounds 389 432 1
-198 Inflict_Moderate_Wounds 390 433 2
-199 Inflict_Serious_Wounds 391 434 3
-200 Inflict_Critical_Wounds 392 435 4
-201 Drown 508 437 6
-202 Electric_Jolt 1852 439 0
-203 Firebrand 1895 440 5
-204 Dirge 2366 445 6
-205 Inferno 2368 446 5
-206 Isaacs_Lesser_Missile_Storm 2377 447 4
-207 Isaacs_Greater_Missile_Storm 2378 448 6
-208 Bane 2663 449 1
-209 Spike_Growth 2671 454 3
-210 Tashas_Hideous_Laughter 2678 457 2
-211 Bigbys_Forceful_Hand 2684 460 6
-212 Bigbys_Grasping_Hand 2685 461 7
-213 Bigbys_Clenched_Fist 2686 462 8
-214 Bigbys_Crushing_Hand 2687 463 9
-215 Sleep 915 480 1
-216 Flesh_to_stone 3044 485 6
-217 Stone_to_flesh 3046 486 6
-218 Breath_Petrify 3800 495 5
-219 Touch_Petrify 3801 496 5
-220 Gaze_Petrify 3799 497 5
-221 Crumble 3837 512 6
-222 Infestation_of_Maggots 3844 513 3
-223 Healing_Sting 3848 514 3
-224 Great_Thunderclap 3850 515 7
-225 Ball_Lightning 3853 516 5
-226 Battletide 3857 517 5
-227 Combust 3859 518 2
-228 Gedlees_Electric_Loop 3863 520 2
-229 Horizikauls_Boom 3865 521 1
-230 Mestils_Acid_Breath 3869 523 3
-231 Scintillating_Sphere 3879 526 3
-232 Undeath_to_Death 2796 528 6
-233 Vine_Mine 3881 529 5
-234 Ice_Dagger 3765 543 1
-235 Stonehold 3778 547 6
-236 Glyph_of_Warding 3783 549 3
-237 Cloud_of_Bewilderment 3794 569 2
-238 CaptivatingSong 83574 686 4
-239 Mindblast10 83840 713 7
-240 Bolt_Web 5259 228 7
-241 GR_SHADOW_CON_Web 6311 352 9
-242 Bebelith_Web 84178 731 9
-243 SPELL_NS_WEB 942 2130 9
-244 Epic_Spell_Audience_of_Stone 16833338 4007 10
-245 Crystallize 16823673 14202 6
-246 BasiliskMask 16836737 18708 8
-247 GorgonMask 16836803 18729 8
+ Label Name SpellIndex Cost
+0 Acid_Fog 750 0 6
+1 Aid 751 1 2
+2 Barkskin 753 3 2
+3 Bestow_Curse 754 4 3
+4 Bless **** **** ****
+5 Bless_Weapon **** **** ****
+6 Blindness_and_Deafness 758 8 2
+7 Bulls_Strength **** **** ****
+8 Burning_Hands 760 10 1
+9 Call_Lightning 761 11 3
+10 Calm_Emotions **** **** ****
+11 Cats_Grace **** **** ****
+12 Chain_Lightning 764 14 6
+13 Charm_Monster 765 15 3
+14 Charm_Person 766 16 1
+15 Charm_Person_or_Animal 767 17 2
+16 Circle_of_Death 768 18 6
+17 Circle_of_Doom 769 19 5
+18 Clairaudience_and_Clairvoyance **** **** ****
+19 Clarity **** **** ****
+20 Cloak_of_Chaos **** **** ****
+21 Cloudkill 773 23 5
+22 Color_Spray 774 24 1
+23 Cone_of_Cold 775 25 5
+24 Confusion 776 26 3
+25 Contagion 777 27 3
+26 Control_Undead 778 28 7
+27 Cure_Critical_Wounds 781 31 4
+28 Cure_Light_Wounds 782 32 1
+29 Cure_Minor_Wounds 783 33 0.5
+30 Cure_Moderate_Wounds 784 34 2
+31 Cure_Serious_Wounds 785 35 3
+32 Darkness 786 36 2
+33 Daze 787 37 0.5
+34 Death_Ward 788 38 4
+35 Delayed_Blast_Fireball 789 39 7
+36 Dismissal 790 40 4
+37 Dispel_Magic 791 41 3
+38 Divine_Power **** **** ****
+39 Dominate_Animal 793 43 3
+40 Dominate_Monster 794 44 9
+41 Dominate_Person 795 45 4
+42 Doom 796 46 1
+43 Elemental_Shield **** **** ****
+44 Endurance **** **** ****
+45 Endure_Elements **** **** ****
+46 Energy_Drain 801 51 9
+47 Enervation 802 52 4
+48 Entangle 803 53 1
+49 Fear 804 54 3
+50 Feeblemind 805 55 5
+51 Finger_of_Death 806 56 7
+52 Fire_Storm 807 57 7
+53 Fireball 808 58 3
+54 Flame_Arrow 809 59 3
+55 Flame_Lash 810 60 2
+56 Flame_Strike 811 61 4
+57 Freedom_of_Movement 812 62 4
+58 Globe_of_Invulnerability **** **** ****
+59 Grease 816 66 1
+60 Greater_Dispelling 817 67 5
+61 Greater_Magic_Weapon **** **** ****
+62 Greater_Planar_Binding 819 69 8
+63 Greater_Restoration **** **** ****
+64 Greater_Shadow_Conjuration 821 71 5
+65 Greater_Spell_Breach 822 72 6
+66 Greater_Spell_Mantle **** **** ****
+67 Greater_Stoneskin **** **** ****
+68 Hammer_of_the_Gods 826 76 4
+69 Harm 827 77 6
+70 Haste **** **** ****
+71 Heal 829 79 6
+72 Healing_Circle 830 80 5
+73 Hold_Animal 831 81 2
+74 Hold_Monster 832 82 4
+75 Hold_Person 833 83 2
+76 Holy_Aura **** **** ****
+77 Holy_Sword **** **** ****
+78 Implosion 837 87 9
+79 Improved_Invisibility 838 88 4
+80 Incendiary_Cloud 839 89 8
+81 Invisibility **** **** ****
+82 Invisibility_Purge 841 91 3
+83 Invisibility_Sphere **** **** ****
+84 Lesser_Dispel 844 94 1
+85 Lesser_Mind_Blank **** **** ****
+86 Lesser_Planar_Binding 846 96 5
+87 Lesser_Restoration **** **** ****
+88 Lesser_Spell_Breach 848 98 4
+89 Lesser_Spell_Mantle **** **** ****
+90 Light **** **** ****
+91 Lightning_Bolt 851 101 3
+92 Mage_Armor **** **** ****
+93 Magic_Circle_against_Chaos **** **** ****
+94 Magic_Circle_against_Evil **** **** ****
+95 Magic_Circle_against_Good **** **** ****
+96 Magic_Circle_against_Law **** **** ****
+97 Magic_Missile 857 107 1
+98 Magic_Vestment **** **** ****
+99 Magic_Weapon **** **** ****
+100 Mass_Blindness_and_Deafness 860 110 8
+101 Mass_Charm 861 111 8
+102 Mass_Domination **** **** ****
+103 Mass_Haste **** **** ****
+104 Mass_Heal 864 114 8
+105 Melfs_Acid_Arrow 865 115 2
+106 Meteor_Swarm 866 116 9
+107 Mind_Blank **** **** ****
+108 Mind_Fog 868 118 5
+109 Minor_Globe_of_Invulnerability **** **** ****
+110 Ghostly_Visage **** **** ****
+111 Ethereal_Visage **** **** ****
+112 Mordenkainens_Disjunction 872 122 9
+113 Natures_Balance **** **** ****
+114 Negative_Energy_Protection **** **** ****
+115 Neutralize_Poison **** **** ****
+116 Phantasmal_Killer 877 127 4
+117 Planar_Binding 878 128 6
+118 Poison 879 129 3
+119 Polymorph_Self **** **** ****
+120 Power_Word,_Kill 881 131 9
+121 Power_Word,_Stun 882 132 7
+122 Prayer **** **** ****
+123 Premonition **** **** ****
+124 Prismatic_Spray 885 135 7
+125 Protection__from_Chaos **** **** ****
+126 Protection_from_Elements **** **** ****
+127 Protection_from_Evil **** **** ****
+128 Protection_from_Good **** **** ****
+129 Protection_from_Law **** **** ****
+130 Protection_from_Spells **** **** ****
+131 Ray_of_Enfeeblement 893 143 1
+132 Ray_of_Frost 894 144 0.5
+133 Remove_Blindness_and_Deafness **** **** ****
+134 Remove_Curse **** **** ****
+135 Remove_Disease **** **** ****
+136 Remove_Fear **** **** ****
+137 Remove_Paralysis **** **** ****
+138 Resist_Elements **** **** ****
+139 Resistance **** **** ****
+140 Restoration **** **** ****
+141 Sanctuary **** **** ****
+142 Scare 905 155 1
+143 Searing_Light 906 156 3
+144 See_Invisibility **** **** ****
+145 Shades 908 158 6
+146 Shadow_Conjuration 909 159 4
+147 Shadow_Shield **** **** ****
+148 Shapechange **** **** ****
+149 Shield_of_Law **** **** ****
+150 Silence 913 163 2
+151 Slay_Living 914 164 5
+152 Sleep 915 165 1
+153 Slow 916 166 3
+154 Sound_Burst 917 167 2
+155 Spell_Resistance **** **** ****
+156 Spell_Mantle **** **** ****
+157 Sphere_of_Chaos **** **** ****
+158 Stinking_Cloud 921 171 3
+159 Stoneskin 922 172 4
+160 Storm_of_Vengeance 923 173 9
+161 Sunbeam 933 183 7
+162 Tensers_Transformation **** **** ****
+163 True_Seeing **** **** ****
+164 Unholy_Aura **** **** ****
+165 Virtue 939 189 0.5
+166 Wail_of_the_Banshee 940 190 9
+167 Web 942 192 2
+168 Weird 943 193 9
+169 Word_of_Faith 944 194 7
+170 Protection_from_Alignment **** **** ****
+171 Magic_Circle_against_Alignment 5135 322 3
+172 Aura_versus_Alignment **** **** ****
+173 Eagle_Spledor 5371 354 2
+174 Owls_Wisdom 5370 355 2
+175 Foxs_Cunning 5369 356 2
+176 Greater_Eagles_Splendor 5372 357 6
+177 Greater_Owls_Wisdom 5373 358 6
+178 Greater_Foxs_Cunning 5374 359 6
+179 Greater_Bulls_Strength 5375 360 6
+180 Greater_Cats_Grace 5376 361 6
+181 Greater_Endurance 5377 362 6
+182 Aura_of_Vitality 6362 372 7
+183 War_Cry 6363 373 3
+184 Regenerate 6364 374 7
+185 Evards_Black_Tentacles 6365 375 4
+186 Legend_Lore 6367 376 5
+187 Find_Traps 6368 377 2
+188 Divine_Favor 53 414 1
+189 True_Strike 55 415 1
+190 Flare 56 416 0.5
+191 Shield 57 417 1
+192 Acid_Splash 383 424 1
+193 Quillfire 1773 425 3
+194 Sunburst 385 427 8
+195 Banishment 387 430 6
+196 Inflict_Minor_Wounds 388 431 0.5
+197 Inflict_Light_Wounds 389 432 1
+198 Inflict_Moderate_Wounds 390 433 2
+199 Inflict_Serious_Wounds 391 434 3
+200 Inflict_Critical_Wounds 392 435 4
+201 Drown 508 437 6
+202 Electric_Jolt 1852 439 0
+203 Firebrand 1895 440 5
+204 Dirge 2366 445 6
+205 Inferno 2368 446 5
+206 Isaacs_Lesser_Missile_Storm 2377 447 4
+207 Isaacs_Greater_Missile_Storm 2378 448 6
+208 Bane 2663 449 1
+209 Spike_Growth 2671 454 3
+210 Tashas_Hideous_Laughter 2678 457 2
+211 Bigbys_Forceful_Hand 2684 460 6
+212 Bigbys_Grasping_Hand 2685 461 7
+213 Bigbys_Clenched_Fist 2686 462 8
+214 Bigbys_Crushing_Hand 2687 463 9
+215 Sleep 915 480 1
+216 Flesh_to_stone 3044 485 6
+217 Stone_to_flesh 3046 486 6
+218 Breath_Petrify 3800 495 5
+219 Touch_Petrify 3801 496 5
+220 Gaze_Petrify 3799 497 5
+221 Crumble 3837 512 6
+222 Infestation_of_Maggots 3844 513 3
+223 Healing_Sting 3848 514 3
+224 Great_Thunderclap 3850 515 7
+225 Ball_Lightning 3853 516 5
+226 Battletide 3857 517 5
+227 Combust 3859 518 2
+228 Gedlees_Electric_Loop 3863 520 2
+229 Horizikauls_Boom 3865 521 1
+230 Mestils_Acid_Breath 3869 523 3
+231 Scintillating_Sphere 3879 526 3
+232 Undeath_to_Death 2796 528 6
+233 Vine_Mine 3881 529 5
+234 Ice_Dagger 3765 543 1
+235 Stonehold 3778 547 6
+236 Glyph_of_Warding 3783 549 3
+237 Cloud_of_Bewilderment 3794 569 2
+238 CaptivatingSong 83574 686 4
+239 Mindblast10 83840 713 7
+240 Bolt_Web 5259 228 7
+241 GR_SHADOW_CON_Web 6311 352 9
+242 Bebelith_Web 84178 731 9
+243 SPELL_NS_WEB 942 2130 9
+244 Epic_Spell_Audience_of_Stone 16833338 4007 10
+245 Crystallize 16823673 14202 6
+246 BasiliskMask 16836737 18708 8
+247 GorgonMask 16836803 18729 8
+248 SPELL_FORCE_MISSILES 16790488 2480 4
diff --git a/nwn/nwnprc/trunk/2das/iprp_spells.2da b/nwn/nwnprc/trunk/2das/iprp_spells.2da
index b445d5f9..723a22a9 100644
--- a/nwn/nwnprc/trunk/2das/iprp_spells.2da
+++ b/nwn/nwnprc/trunk/2das/iprp_spells.2da
@@ -996,10 +996,10 @@
992 Greater_Resistance 16790119 7 4 21000 3457 1 1 1 iss_gr_resis
993 Superior_Resistance 16790122 11 6 49500 3458 0 0 1 iss_sup_resis
994 Faerie_Fire 16793699 1 1 750 2924 0 1 1 iss_faerie_fire
-995 SPELL_FORCE_MISSILES 16790488 12 4 21000 2480 0 1 1 iss_X1LesMis
-996 **** **** **** **** **** **** **** **** **** ****
-997 **** **** **** **** **** **** **** **** **** ****
-998 **** **** **** **** **** **** **** **** **** ****
+995 SPELL_FORCE_MISSILES_8 16790491 8 4 21000 2480 0 1 1 iss_X1LesMis
+996 SPELL_FORCE_MISSILES_12 16790488 12 4 33750 2480 0 1 1 iss_X1LesMis
+997 SPELL_CHASING_PERFECTION_12 16790495 12 6 33750 2479 0 0 1 fot_strengthone
+998 SPELL_CHASING_PERFECTION_16 16790496 16 6 45000 2479 0 0 1 fot_strengthone
999 **** **** **** **** **** **** **** **** **** ****
1000 Acid_Orb 16830292 7 4 21000 3100 0 1 1 iss_acidorb
1001 Acid_Orb 16830293 15 4 45000 3100 0 1 1 iss_acidorb
diff --git a/nwn/nwnprc/trunk/2das/prc_spells.2da b/nwn/nwnprc/trunk/2das/prc_spells.2da
index c86ab2b7..0cd8940b 100644
--- a/nwn/nwnprc/trunk/2das/prc_spells.2da
+++ b/nwn/nwnprc/trunk/2das/prc_spells.2da
@@ -2480,7 +2480,7 @@
2476 **** **** **** **** **** **** **** **** **** **** **** **** **** ****
2477 **** **** **** **** **** **** **** **** **** **** **** **** **** ****
2478 **** **** **** **** **** **** **** **** **** **** **** **** **** ****
-2479 **** **** **** **** **** **** **** **** **** **** **** **** **** ****
+2479 SPELL_CHASING_PERFECTION **** **** **** 50 **** mc_planarstatue Planar_Statuette **** **** **** **** **** ****
2480 SPELL_FORCE_MISSILES **** 0x00800 **** **** **** **** **** **** **** **** **** **** ****
2481 SYMBOL_OF_DEATH **** 0x00020 **** 5000 **** mc_mercury Mercury mc_phosphorus Phosphorus mc_diamonddust Diamond_Dust **** ****
2482 SYMBOL_OF_FEAR **** 0x10200 **** 1000 **** mc_mercury Mercury mc_phosphorus Phosphorus mc_diamonddust Diamond_Dust **** ****
diff --git a/nwn/nwnprc/trunk/2das/spells.2da b/nwn/nwnprc/trunk/2das/spells.2da
index 99931efc..a79dcd74 100644
--- a/nwn/nwnprc/trunk/2das/spells.2da
+++ b/nwn/nwnprc/trunk/2das/spells.2da
@@ -2480,7 +2480,7 @@
2476 ForestMaster_DeepRoots 16793751 is_x2vinemine T P 0 0x00 0x01 prc_fm_deeproots **** **** **** **** **** **** 4 500 head **** **** **** **** **** **** self 500 **** **** vca_uphexnatr01 sca_outnatr01 0 **** **** **** **** **** **** 1 **** **** **** **** **** 10 **** 3 16793759 0 0 16778866 0 5446 **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
2477 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
2478 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
-2479 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
+2479 SPELL_CHASING_PERFECTION 16790493 fot_strengthone T T vs 0x02 0x0b sp_chasperfect **** 6 6 **** **** 6 6 1500 hand **** vco_mehannatr03 **** sco_mehannatr01 vs_chant_ench_lm vs_chant_ench_hf out 1000 **** **** **** **** 0 **** **** **** **** **** **** 0 **** **** **** **** **** 7 **** 1 16790494 1 0 **** 0 **** **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
2480 SPELL_FORCE_MISSILES 16790488 is_X1LesMis V L vs 0x3d 0x1E sp_forcemissiles **** **** **** **** **** 4 4 1500 hand **** vco_mehancold03 **** sco_mehancold03 vs_chant_evoc_lm vs_chant_evoc_lf out 1900 **** vca_outsonic **** sca_outsonic 0 **** **** **** **** path **** 1 **** **** **** **** **** 2 **** 1 16790489 1 0 **** 1 **** **** **** 1 sphere 8.33 **** 2 **** **** **** **** **** **** **** **** **** **** **** **** ****
2481 SYMBOL_OF_DEATH 16790080 is_symb_death N S vs 0x3f 0x3E sp_symbol **** 8 **** **** **** 8 8 1500 head **** **** vco_megrdevil01 sco_megrdevil01 vs_chant_necr_hm vs_chant_necr_hf area 1000 **** **** **** **** 1 vpr_ectoevil01 homing hand spr_ectoevil01 path Death 1 **** **** **** **** **** 11 **** 1 16790082 1 0 **** 1 **** **** **** 1 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
2482 SYMBOL_OF_FEAR 16790083 is_symb_fear N S vs 0x3f 0x3E sp_symbol **** 6 **** **** **** 6 6 1500 head **** **** vco_lgsprevil01 sco_lgsprevil01 vs_chant_necr_hm vs_chant_necr_hf area 1000 **** **** **** **** 1 vpr_ectoevil01 homing hand spr_ectoevil01 path Fear 1 **** **** **** **** **** 11 **** 1 16790085 1 0 **** 1 **** **** **** 1 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
diff --git a/nwn/nwnprc/trunk/include/prc_craft_inc.nss b/nwn/nwnprc/trunk/include/prc_craft_inc.nss
index 6833a8ef..ff950cc3 100644
--- a/nwn/nwnprc/trunk/include/prc_craft_inc.nss
+++ b/nwn/nwnprc/trunk/include/prc_craft_inc.nss
@@ -1365,7 +1365,6 @@ int GetWeaponType(int nBaseItem)
case BASE_ITEM_SCIMITAR:
case BASE_ITEM_THROWINGAXE:
case BASE_ITEM_TRIDENT:
- case BASE_ITEM_KATAR:
case BASE_ITEM_HEAVY_PICK:
case BASE_ITEM_LIGHT_PICK:
case BASE_ITEM_FALCHION:
@@ -1385,6 +1384,7 @@ int GetWeaponType(int nBaseItem)
case BASE_ITEM_HEAVYCROSSBOW:
case BASE_ITEM_CLUB:
case BASE_ITEM_QUARTERSTAFF:
+ case BASE_ITEM_KATAR:
case BASE_ITEM_HEAVY_MACE:
case BASE_ITEM_GOAD:
return PRC_CRAFT_SIMPLE_WEAPON;
diff --git a/nwn/nwnprc/trunk/include/prc_spell_const.nss b/nwn/nwnprc/trunk/include/prc_spell_const.nss
index c8ad719a..da5f6c37 100644
--- a/nwn/nwnprc/trunk/include/prc_spell_const.nss
+++ b/nwn/nwnprc/trunk/include/prc_spell_const.nss
@@ -427,8 +427,9 @@ const int SPELL_SUDDEN_STALAGMITE = 3827;
const int SPELL_BONES_OF_THE_EARTH = 3828;
const int SPELL_PHANTOM_STEED = 2347;
const int SPELL_GASEOUS_FORM = 2348;
+const int SPELL_CHASING_PERFECTION = 2479;
-//racial spell additions
+//:: Racial spell additions
const int SPIRETOP_FOG_CLOUD_BREATH = 1487; //:: Spiretop Dragon
const int MEPHLING_BREATH_WEAPON = 1488; //:: Mephlings
const int SPELL_ARANEA_ALTER = 1489; //:: Aranea
diff --git a/nwn/nwnprc/trunk/include/prc_x2_craft.nss b/nwn/nwnprc/trunk/include/prc_x2_craft.nss
index 0f7e906d..3934039e 100644
--- a/nwn/nwnprc/trunk/include/prc_x2_craft.nss
+++ b/nwn/nwnprc/trunk/include/prc_x2_craft.nss
@@ -395,7 +395,7 @@ object CICraftCraftWand(object oCreator, int nSpellID )
AddItemProperty(DURATION_TYPE_PERMANENT,ipLevel,oTarget);
itemproperty ipMeta = ItemPropertyCastSpellMetamagic(nSpellID, PRCGetMetaMagicFeat());
AddItemProperty(DURATION_TYPE_PERMANENT,ipMeta,oTarget);
- itemproperty ipDC = ItemPropertyCastSpellDC(nSpellID, PRCGetSaveDC(PRCGetSpellTargetObject(), OBJECT_SELF));
+ itemproperty ipDC = ItemPropertyCastSpellDC(nSpellID, PRCGetSaveDC(PRCGetSpellTargetObject(), OBJECT_SELF));
AddItemProperty(DURATION_TYPE_PERMANENT,ipDC,oTarget);
}
@@ -993,7 +993,7 @@ int CICraftCheckCraftStaff(object oSpellTarget, object oCaster, int nSpellID = 0
int nMetaMagic = PRCGetMetaMagicFeat();
if(nMetaMagic && !GetHasFeat(X2_CI_CRAFTSTAFF_EPIC_FEAT_ID, oCaster))
{
- FloatingTextStringOnCreature("* Failure - You must be able to craft epic staffs to apply metamagic *", oCaster);
+ FloatingTextStringOnCreature("* Failure - You must be able to craft epic staves to apply metamagic *", oCaster);
return TRUE; // tried item creation but do not know how to do it
}
if(CIGetIsSpellRestrictedFromCraftFeat(nSpellID, X2_CI_CRAFTSTAFF_FEAT_ID))
diff --git a/nwn/nwnprc/trunk/makefile.temp b/nwn/nwnprc/trunk/makefile.temp
index a51bdf97..52f67b3e 100644
--- a/nwn/nwnprc/trunk/makefile.temp
+++ b/nwn/nwnprc/trunk/makefile.temp
@@ -2305,6 +2305,7 @@ spells\sp_celest_bld.nss \
spells\sp_chaavs_lgh.nss \
spells\sp_chan_pyrob.nss \
spells\sp_changestaff.nss \
+spells\sp_chasperfect.nss \
spells\sp_chilltouch.nss \
spells\sp_chngshp_lern.nss \
spells\sp_chngshp_opts.nss \
@@ -4906,6 +4907,7 @@ spellobjs\sp_celest_bld.ncs \
spellobjs\sp_chaavs_lgh.ncs \
spellobjs\sp_chan_pyrob.ncs \
spellobjs\sp_changestaff.ncs \
+spellobjs\sp_chasperfect.ncs \
spellobjs\sp_chilltouch.ncs \
spellobjs\sp_chngshp_lern.ncs \
spellobjs\sp_chngshp_opts.ncs \
@@ -21297,6 +21299,7 @@ others\prc_scr_992.uti \
others\prc_scr_993.uti \
others\prc_scr_994.uti \
others\prc_scr_995.uti \
+others\prc_scr_997.uti \
others\prc_scrolls.utm \
others\prc_serparrow.uti \
others\prc_serpbolt.uti \
@@ -31930,6 +31933,8 @@ spellobjs\sp_chan_pyrob.ncs: spells\sp_chan_pyrob.nss include\prc_inc_spells.nss
spellobjs\sp_changestaff.ncs: spells\sp_changestaff.nss include\prc_inc_spells.nss include\inc_newspellbook.nss include\inc_vfx_const.nss include\spinc_necro_cyst.nss include\true_utter_const.nss include\prc_inc_sneak.nss include\prcsp_engine.nss include\inc_item_props.nss include\prc_inc_core.nss include\inc_sp_gain_mem.nss include\lookup_2da_spell.nss include\inc_lookups.nss include\prc_inc_damage.nss include\prc_inc_sb_const.nss include\inc_2dacache.nss include\inc_debug.nss include\prc_inc_switch.nss include\prc_inc_array.nss include\prc_class_const.nss include\prc_effect_inc.nss include\prc_inc_castlvl.nss include\prc_inc_newip.nss include\prc_inc_descrptr.nss include\prc_x2_itemprop.nss include\prc_ipfeat_const.nss include\inc_utility.nss include\prc_inc_nwscript.nss include\inc_target_list.nss include\inc_logmessage.nss include\inc_threads.nss include\prc_inc_actions.nss include\inc_time.nss include\inc_draw_prc.nss include\inc_eventhook.nss include\inc_metalocation.nss include\inc_array_sort.nss include\inc_uniqueid.nss include\inc_set.nss include\prc_misc_const.nss include\prc_spell_const.nss include\inv_invoc_const.nss include\psi_power_const.nss include\prc_inc_racial.nss include\moi_meld_const.nss include\bnd_vestig_const.nss include\prc_feat_const.nss include\prc_racial_const.nss include\inc_persist_loca.nss include\prc_inc_skin.nss include\inc_persistsql.nss include\inc_draw.nss include\inc_draw_tools.nss include\inc_pers_array.nss include\inc_area.nss include\inc_heap.nss include\inc_prc_npc.nss include\tob_move_const.nss include\prcsp_archmaginc.nss include\prc_add_spl_pen.nss include\prcsp_reputation.nss
+spellobjs\sp_chasperfect.ncs: spells\sp_chasperfect.nss include\prc_inc_sp_tch.nss include\prc_sp_func.nss include\prc_add_spell_dc.nss include\prc_inc_combat.nss include\prc_inc_unarmed.nss include\prc_inc_onhit.nss include\prc_misc_const.nss include\prc_inc_fork.nss include\prc_inc_natweap.nss include\inc_utility.nss include\prc_inc_spells.nss include\prc_inc_nwscript.nss include\prc_class_const.nss include\inc_target_list.nss include\inc_logmessage.nss include\inc_threads.nss include\prc_inc_actions.nss include\inc_time.nss include\inc_draw_prc.nss include\inc_eventhook.nss include\inc_metalocation.nss include\inc_array_sort.nss include\inc_uniqueid.nss include\inc_set.nss include\prc_spell_const.nss include\inv_invoc_const.nss include\psi_power_const.nss include\prc_inc_racial.nss include\prc_inc_array.nss include\moi_meld_const.nss include\bnd_vestig_const.nss include\inc_2dacache.nss include\prc_feat_const.nss include\prc_racial_const.nss include\inc_debug.nss include\prc_inc_switch.nss include\inc_persist_loca.nss include\prc_inc_skin.nss include\inc_persistsql.nss include\inc_draw.nss include\inc_draw_tools.nss include\inc_pers_array.nss include\inc_area.nss include\inc_heap.nss include\inc_newspellbook.nss include\inc_vfx_const.nss include\spinc_necro_cyst.nss include\true_utter_const.nss include\prc_inc_sneak.nss include\prcsp_engine.nss include\inc_item_props.nss include\prc_inc_core.nss include\inc_sp_gain_mem.nss include\lookup_2da_spell.nss include\inc_lookups.nss include\prc_inc_damage.nss include\prc_inc_sb_const.nss include\prc_effect_inc.nss include\prc_inc_castlvl.nss include\prc_inc_newip.nss include\prc_inc_descrptr.nss include\prc_x2_itemprop.nss include\prc_ipfeat_const.nss include\inc_prc_npc.nss include\tob_move_const.nss include\prcsp_archmaginc.nss include\prc_add_spl_pen.nss include\prcsp_reputation.nss include\inc_abil_damage.nss include\prc_alterations.nss
+
spellobjs\sp_chilltouch.ncs: spells\sp_chilltouch.nss include\prc_sp_func.nss include\prc_inc_sp_tch.nss include\prc_add_spell_dc.nss include\prc_alterations.nss include\prc_inc_unarmed.nss include\inc_abil_damage.nss include\prc_inc_damage.nss include\prc_effect_inc.nss include\inc_item_props.nss include\prc_inc_castlvl.nss include\prc_inc_newip.nss include\prc_inc_descrptr.nss include\prc_x2_itemprop.nss include\prc_ipfeat_const.nss include\inc_utility.nss include\prc_inc_nwscript.nss include\prc_class_const.nss include\inc_target_list.nss include\inc_logmessage.nss include\inc_threads.nss include\prc_inc_actions.nss include\inc_time.nss include\inc_draw_prc.nss include\inc_eventhook.nss include\inc_metalocation.nss include\inc_array_sort.nss include\inc_uniqueid.nss include\inc_set.nss include\prc_misc_const.nss include\prc_spell_const.nss include\inv_invoc_const.nss include\psi_power_const.nss include\prc_inc_racial.nss include\prc_inc_array.nss include\moi_meld_const.nss include\bnd_vestig_const.nss include\inc_2dacache.nss include\prc_feat_const.nss include\prc_racial_const.nss include\inc_debug.nss include\prc_inc_switch.nss include\inc_persist_loca.nss include\prc_inc_skin.nss include\inc_persistsql.nss include\inc_draw.nss include\inc_draw_tools.nss include\inc_pers_array.nss include\inc_area.nss include\inc_heap.nss include\inc_prc_npc.nss include\prc_inc_natweap.nss include\prc_inc_spells.nss include\inc_newspellbook.nss include\inc_vfx_const.nss include\spinc_necro_cyst.nss include\true_utter_const.nss include\prc_inc_sneak.nss include\prcsp_engine.nss include\prc_inc_core.nss include\inc_sp_gain_mem.nss include\lookup_2da_spell.nss include\inc_lookups.nss include\prc_inc_sb_const.nss include\tob_move_const.nss include\prcsp_archmaginc.nss include\prc_add_spl_pen.nss include\prcsp_reputation.nss include\prc_inc_combat.nss include\prc_inc_onhit.nss include\prc_inc_fork.nss
spellobjs\sp_chngshp_lern.ncs: spells\sp_chngshp_lern.nss include\prc_inc_shifting.nss include\prc_inc_spells.nss include\prc_inc_racial.nss include\prc_inc_function.nss include\prc_inc_onhit.nss include\prc_shifter_info.nss include\prc_weap_apt.nss include\prc_inc_wpnrest.nss include\inc_nwnx_funcs.nss include\prc_class_const.nss include\prc_feat_const.nss include\prc_racial_const.nss include\prc_inc_util.nss include\prc_inc_stunfist.nss include\prc_template_con.nss include\prc_alterations.nss include\inc_abil_damage.nss include\prc_inc_damage.nss include\prc_effect_inc.nss include\inc_item_props.nss include\prc_inc_castlvl.nss include\prc_inc_newip.nss include\prc_inc_descrptr.nss include\prc_x2_itemprop.nss include\prc_ipfeat_const.nss include\inc_utility.nss include\prc_inc_nwscript.nss include\inc_target_list.nss include\inc_logmessage.nss include\inc_threads.nss include\prc_inc_actions.nss include\inc_time.nss include\inc_draw_prc.nss include\inc_eventhook.nss include\inc_metalocation.nss include\inc_array_sort.nss include\inc_uniqueid.nss include\inc_set.nss include\prc_misc_const.nss include\prc_spell_const.nss include\inv_invoc_const.nss include\psi_power_const.nss include\prc_inc_array.nss include\moi_meld_const.nss include\bnd_vestig_const.nss include\inc_2dacache.nss include\inc_debug.nss include\prc_inc_switch.nss include\inc_persist_loca.nss include\prc_inc_skin.nss include\inc_persistsql.nss include\inc_draw.nss include\inc_draw_tools.nss include\inc_pers_array.nss include\inc_area.nss include\inc_heap.nss include\inc_prc_npc.nss include\inc_newspellbook.nss include\inc_vfx_const.nss include\spinc_necro_cyst.nss include\true_utter_const.nss include\prc_inc_sneak.nss include\prcsp_engine.nss include\prc_inc_core.nss include\inc_sp_gain_mem.nss include\lookup_2da_spell.nss include\inc_lookups.nss include\prc_inc_sb_const.nss include\tob_move_const.nss include\prcsp_archmaginc.nss include\prc_add_spl_pen.nss include\prcsp_reputation.nss include\inc_dynconv.nss include\prc_inc_combat.nss include\prc_inc_unarmed.nss include\prc_inc_fork.nss include\prc_inc_natweap.nss
diff --git a/nwn/nwnprc/trunk/others/prc_scr_997.uti b/nwn/nwnprc/trunk/others/prc_scr_997.uti
new file mode 100644
index 00000000..bb8c7952
Binary files /dev/null and b/nwn/nwnprc/trunk/others/prc_scr_997.uti differ
diff --git a/nwn/nwnprc/trunk/others/prc_scrolls.utm b/nwn/nwnprc/trunk/others/prc_scrolls.utm
index 3c68297c..5644f6fd 100644
Binary files a/nwn/nwnprc/trunk/others/prc_scrolls.utm and b/nwn/nwnprc/trunk/others/prc_scrolls.utm differ
diff --git a/nwn/nwnprc/trunk/spells/sp_chasperfect.nss b/nwn/nwnprc/trunk/spells/sp_chasperfect.nss
new file mode 100644
index 00000000..8a89359c
--- /dev/null
+++ b/nwn/nwnprc/trunk/spells/sp_chasperfect.nss
@@ -0,0 +1,158 @@
+ /**@file Chasing Perfection
+[sp_chasperfect.nss]
+(Player's Handbook II, p. 106)
+
+Transmutation
+Level: Cleric 6, Druid 6, Sorcerer 6, Wizard 6,
+Components: V, S, M,
+Casting Time: 1 standard action
+Range: Touch
+Target: Creature touched
+Duration: 1 minute/level
+Saving Throw: Will negates (harmless)
+Spell Resistance: Yes (harmless)
+
+Energy courses through the creature touched.
+Its muscles grow and become more defined, it starts
+to move with greater alacrity and grace, and its
+bearing increases.
+
+The subject improves in all ways. It gains a +4
+enhancement bonus to each of its ability scores.
+
+Material Component: A statuette of a celestial or
+fiend worth 50 gp.
+
+**/
+
+////////////////////////////////////////////////////
+// Author: Tenjac & Jaysyn
+// Date: 2024/08/07
+////////////////////////////////////////////////////
+
+#include "prc_inc_sp_tch"
+#include "prc_sp_func"
+#include "prc_add_spell_dc"
+
+int DoSpell(object oCaster, object oTarget, int nCasterLevel, int nEvent)
+{
+ int nMetaMagic = PRCGetMetaMagicFeat();
+ float fDur = (60.0f * nCasterLevel);
+
+ if(nMetaMagic & METAMAGIC_EXTEND)
+ fDur += fDur;
+
+ PRCSignalSpellEvent(oTarget, FALSE, SPELL_CHASING_PERFECTION, oCaster);
+
+ // Check for existing ability enhancing spells
+ effect eExistingSpellEffect = GetFirstEffect(oTarget);
+
+ int nBoostSTR = 4;
+ int nBoostDEX = 4;
+ int nBoostCON = 4;
+ int nBoostWIS = 4;
+ int nBoostINT = 4;
+ int nBoostCHA = 4;
+
+ while (GetIsEffectValid(eExistingSpellEffect))
+ {
+ if (GetEffectSpellId(eExistingSpellEffect) == SPELL_CROWN_OF_MIGHT || GetEffectSpellId(eExistingSpellEffect) == SPELL_TOWERING_OAK)
+ {
+ nBoostSTR = 2;
+ }
+ if (GetEffectSpellId(eExistingSpellEffect) == SPELL_ANIMALISTIC_POWER)
+ {
+ nBoostSTR = 2;
+ nBoostDEX = 2;
+ nBoostCON = 2;
+ }
+ if (GetEffectSpellId(eExistingSpellEffect) == SPELL_AWAKEN)
+ {
+ nBoostSTR = 0;
+ nBoostWIS = 0;
+ nBoostCON = 0;
+ }
+ if (GetEffectSpellId(eExistingSpellEffect) == SPELL_BULLS_STRENGTH ||
+ GetEffectSpellId(eExistingSpellEffect) == SPELL_MASS_BULLS_STRENGTH ||
+ GetEffectSpellId(eExistingSpellEffect) == SPELL_GREATER_BULLS_STRENGTH)
+ {
+ nBoostSTR = 0;
+ }
+ if (GetEffectSpellId(eExistingSpellEffect) == SPELL_CATS_GRACE ||
+ GetEffectSpellId(eExistingSpellEffect) == SPELL_MASS_CATS_GRACE ||
+ GetEffectSpellId(eExistingSpellEffect) == SPELL_GREATER_CATS_GRACE)
+ {
+ nBoostDEX = 0;
+ }
+ if (GetEffectSpellId(eExistingSpellEffect) == SPELL_ENDURANCE ||
+ GetEffectSpellId(eExistingSpellEffect) == SPELL_MASS_ENDURANCE ||
+ GetEffectSpellId(eExistingSpellEffect) == SPELL_GREATER_ENDURANCE)
+ {
+ nBoostCON = 0;
+ }
+ if (GetEffectSpellId(eExistingSpellEffect) == SPELL_OWLS_WISDOM ||
+ GetEffectSpellId(eExistingSpellEffect) == SPELL_MASS_OWLS_WISDOM ||
+ GetEffectSpellId(eExistingSpellEffect) == SPELL_OWLS_INSIGHT ||
+ GetEffectSpellId(eExistingSpellEffect) == SPELL_GREATER_OWLS_WISDOM)
+ {
+ nBoostWIS = 0;
+ }
+ if (GetEffectSpellId(eExistingSpellEffect) == SPELL_FOXS_CUNNING ||
+ GetEffectSpellId(eExistingSpellEffect) == SPELL_MASS_FOXS_CUNNING ||
+ GetEffectSpellId(eExistingSpellEffect) == SPELL_GREATER_FOXS_CUNNING)
+ {
+ nBoostINT = 0;
+ }
+ if (GetEffectSpellId(eExistingSpellEffect) == SPELL_EAGLE_SPLEDOR ||
+ GetEffectSpellId(eExistingSpellEffect) == SPELL_MASS_EAGLES_SPLENDOR ||
+ GetEffectSpellId(eExistingSpellEffect) == SPELL_GREATER_EAGLE_SPLENDOR)
+ {
+ nBoostCHA = 0;
+ }
+ eExistingSpellEffect = GetNextEffect(oTarget);
+ }
+
+ //:: Build effect: Increase all ability scores
+ effect eBuff = EffectLinkEffects(EffectAbilityIncrease(ABILITY_STRENGTH, nBoostSTR), EffectAbilityIncrease(ABILITY_DEXTERITY, nBoostDEX));
+ eBuff = EffectLinkEffects(eBuff, EffectAbilityIncrease(ABILITY_CONSTITUTION, nBoostCON));
+ eBuff = EffectLinkEffects(eBuff, EffectAbilityIncrease(ABILITY_INTELLIGENCE, nBoostINT));
+ eBuff = EffectLinkEffects(eBuff, EffectAbilityIncrease(ABILITY_WISDOM, nBoostWIS));
+ eBuff = EffectLinkEffects(eBuff, EffectAbilityIncrease(ABILITY_CHARISMA, nBoostCHA));
+ eBuff = EffectLinkEffects(eBuff, EffectVisualEffect(VFX_DUR_SANCTUARY));
+
+ //:: Apply the linked effects to the target
+ SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, eBuff, oTarget, fDur, TRUE, SPELL_CHASING_PERFECTION, nCasterLevel);
+
+ return TRUE;
+}
+
+void main()
+{
+ if (!X2PreSpellCastCode()) return;
+ PRCSetSchool(SPELL_SCHOOL_TRANSMUTATION);
+
+ object oCaster = OBJECT_SELF;
+ object oTarget = PRCGetSpellTargetObject();
+ int nCasterLevel = PRCGetCasterLevel(oCaster);
+
+ int nEvent = GetLocalInt(oCaster, PRC_SPELL_EVENT); //use bitwise & to extract flags
+ if(!nEvent) //normal cast
+ {
+ if(GetLocalInt(oCaster, PRC_SPELL_HOLD) && oCaster == oTarget)
+ {
+ // holding the charge, casting spell on self
+ SetLocalSpellVariables(oCaster, 1); //change 1 to number of charges
+ return;
+ }
+ DoSpell(oCaster, oTarget, nCasterLevel, nEvent);
+ }
+ else
+ {
+ if(nEvent & PRC_SPELL_EVENT_ATTACK)
+ {
+ if(DoSpell(oCaster, oTarget, nCasterLevel, nEvent))
+ DecrementSpellCharges(oCaster);
+ }
+ }
+ PRCSetSchool();
+}
\ No newline at end of file
diff --git a/nwn/nwnprc/trunk/tlk/prc8_consortium.tlk b/nwn/nwnprc/trunk/tlk/prc8_consortium.tlk
index 3e3e5feb..71ab46b0 100644
Binary files a/nwn/nwnprc/trunk/tlk/prc8_consortium.tlk and b/nwn/nwnprc/trunk/tlk/prc8_consortium.tlk differ
diff --git a/nwn/nwnprc/trunk/tlk/prc8_consortium.tlk.xml b/nwn/nwnprc/trunk/tlk/prc8_consortium.tlk.xml
index 44050cee..22591d90 100644
--- a/nwn/nwnprc/trunk/tlk/prc8_consortium.tlk.xml
+++ b/nwn/nwnprc/trunk/tlk/prc8_consortium.tlk.xml
@@ -4753,6 +4753,27 @@ of a creature.
You gain one missile for every four caster levels. Extra missiles distribute
themsleves amongst your enemies evenly.
+ Force Missiles (8)
+ Force Missiles (12)
+ Chasing Perfection
+ Transmutation
+Level: Cleric 6, Druid 6, Sorcerer 6, Wizard 6,
+Components: V, S, M,
+Casting Time: 1 standard action
+Range: Touch
+Target: Creature touched
+Duration: 1 minute/level
+Saving Throw: Will negates (harmless)
+Spell Resistance: Yes (harmless)
+
+Energy courses through the creature touched.
+Its muscles grow and become more defined, it starts to move with greater alacrity and grace, and its bearing increases.
+The subject improves in all ways.
+It gains a +4 enhancement bonus to each of its ability scores.
+
+Material Component: A statuette of a celestial or fiend worth 50 gp.
+ Chasing Perfection (12)
+ Chasing Perfection (16)
62
63
64
diff --git a/nwn/nwnprc/trunk/tlk/prc_consortium.tlk b/nwn/nwnprc/trunk/tlk/prc_consortium.tlk
index 3e3e5feb..71ab46b0 100644
Binary files a/nwn/nwnprc/trunk/tlk/prc_consortium.tlk and b/nwn/nwnprc/trunk/tlk/prc_consortium.tlk differ