Updated Archmage for PrC Class selection.

Updated Archmage for PrC Class selection. First release.
This commit is contained in:
Jaysyn904 2023-02-26 22:18:45 -05:00
parent 15d1fdbaeb
commit b7e05b60d5
11 changed files with 4366 additions and 4316 deletions

8
.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
trunk/compileepic.bat
trunk/compilensb.bat
trunk/compileocfix.bat
trunk/compilepsi.bat
trunk/compilerace.bat
trunk/compilescripts.bat
trunk/compilespells.bat

BIN
Release/PRC4_NWN35.7z Normal file

Binary file not shown.

View File

@ -1,63 +1,63 @@
2DA V2.0 2DA V2.0
Bonus Bonus
0 1 0 2
1 1 1 1
2 1 2 1
3 1 3 1
4 1 4 1
5 0 5 0
6 0 6 0
7 0 7 0
8 0 8 0
9 0 9 0
10 0 10 0
11 0 11 0
12 1 12 0
13 0 13 0
14 0 14 0
15 1 15 0
16 0 16 0
17 0 17 0
18 1 18 0
19 0 19 0
20 0 20 0
21 1 21 0
22 0 22 0
23 0 23 0
24 1 24 0
25 0 25 0
26 0 26 0
27 1 27 0
28 0 28 0
29 0 29 0
30 1 30 0
31 0 31 0
32 0 32 0
33 1 33 0
34 0 34 0
35 0 35 0
36 1 36 0
37 0 37 0
38 0 38 0
39 1 39 0
40 0 40 0
41 0 41 0
42 1 42 0
43 0 43 0
44 0 44 0
45 1 45 0
46 0 46 0
47 0 47 0
48 1 48 0
49 0 49 0
50 0 50 0
51 1 51 0
52 0 52 0
53 0 53 0
54 1 54 0
55 0 55 0
56 0 56 0
57 1 57 0
58 0 58 0
59 0 59 0

View File

@ -1,64 +1,70 @@
2DA V2.0 2DA V2.0
FeatLabel FeatIndex List GrantedOnLevel OnMenu FeatLabel FeatIndex List GrantedOnLevel OnMenu
0 FEAT_MASTERY_ELEMENTS_BACK 3000 3 1 1 0 FEAT_MASTERY_ELEMENTS_BACK 3000 3 1 1
1 FEAT_MASTERY_ELEMENTS 3005 2 -1 1 1 FEAT_MASTERY_ELEMENTS 3005 2 -1 1
2 FEAT_MASTERY_SHAPES 3006 2 -1 1 2 FEAT_MASTERY_SHAPES 3006 2 -1 1
3 FEAT_SPELL_POWER_I 3007 2 -1 0 3 FEAT_SPELL_POWER_I 3007 2 -1 0
4 FEAT_SPELL_POWER_II 3008 2 -1 0 4 FEAT_SPELL_POWER_II 3008 2 -1 0
5 FEAT_SPELL_POWER_III 3009 2 -1 0 5 FEAT_SPELL_POWER_III 3009 2 -1 0
6 FEAT_SPELL_POWER_IV 3010 2 -1 0 6 FEAT_SPELL_POWER_IV 3010 2 -1 0
7 FEAT_SPELL_POWER_V 3011 2 -1 0 7 FEAT_SPELL_POWER_V 3011 2 -1 0
8 FEAT_ARCANE_FIRE 3012 2 -1 1 8 FEAT_ARCANE_FIRE 3012 2 -1 1
9 SLA_I 2825 2 -1 1 9 SLA_I 2825 2 -1 1
10 SLA_II 2826 2 -1 1 10 SLA_II 2826 2 -1 1
11 SLA_III 2827 2 -1 1 11 SLA_III 2827 2 -1 1
12 SLA_IV 2828 2 -1 1 12 SLA_IV 2828 2 -1 1
13 SLA_V 2829 2 -1 1 13 SLA_V 2829 2 -1 1
14 FEAT_EPIC_BLINDING_SPEED 491 0 -1 1 14 FEAT_ARCHMAGE_SPELLCASTING_BEGUILER 9500 2 1 0
15 DefArrow 8 0 -1 0 15 FEAT_ARCHMAGE_SPELLCASTING_DNECRO 9501 2 1 0
16 TwoWeap 41 0 -1 0 16 FEAT_ARCHMAGE_SPELLCASTING_SORCERER 9502 2 1 0
17 Ambidex 1 0 -1 0 17 FEAT_ARCHMAGE_SPELLCASTING_SUBCHORD 9503 2 1 0
18 Quicken 29 0 -1 0 18 FEAT_ARCHMAGE_SPELLCASTING_WARMAGE 9504 2 1 0
19 SpellFocusCon 166 0 -1 0 19 FEAT_ARCHMAGE_SPELLCASTING_WIZARD 9505 2 1 0
20 SpellFocusDiv 167 0 -1 0 20 FEAT_EPIC_BLINDING_SPEED 491 0 -1 1
21 SpellFocusEnc 168 0 -1 0 21 DefArrow 8 0 -1 0
22 SpellFocusEvo 169 0 -1 0 22 TwoWeap 41 0 -1 0
23 SpellFocusIll 170 0 -1 0 23 Ambidex 1 0 -1 0
24 SpellFocusNec 171 0 -1 0 24 Quicken 29 0 -1 0
25 SpellFocusTra 172 0 -1 0 25 SpellFocusCon 166 0 -1 0
26 SpellFocusAbj 35 0 -1 0 26 SpellFocusDiv 167 0 -1 0
27 FEAT_EPIC_SPELL_PENETRATION 618 0 -1 0 27 SpellFocusEnc 168 0 -1 0
28 FEAT_EPIC_AUTOMATIC_QUICKEN_1 857 0 -1 0 28 SpellFocusEvo 169 0 -1 0
29 FEAT_EPIC_AUTOMATIC_QUICKEN_2 858 0 -1 0 29 SpellFocusIll 170 0 -1 0
30 FEAT_EPIC_AUTOMATIC_QUICKEN_3 859 0 -1 0 30 SpellFocusNec 171 0 -1 0
31 FEAT_EPIC_AUTOMATIC_SILENT_SPELL_1 860 0 -1 0 31 SpellFocusTra 172 0 -1 0
32 FEAT_EPIC_AUTOMATIC_SILENT_SPELL_2 861 0 -1 0 32 SpellFocusAbj 35 0 -1 0
33 FEAT_EPIC_AUTOMATIC_SILENT_SPELL_3 862 0 -1 0 33 FEAT_EPIC_SPELL_PENETRATION 618 0 -1 0
34 FEAT_EPIC_AUTOMATIC_STILL_SPELL_1 863 0 -1 0 34 FEAT_EPIC_AUTOMATIC_QUICKEN_1 857 0 -1 0
35 FEAT_EPIC_AUTOMATIC_STILL_SPELL_2 864 0 -1 0 35 FEAT_EPIC_AUTOMATIC_QUICKEN_2 858 0 -1 0
36 FEAT_EPIC_AUTOMATIC_STILL_SPELL_3 865 0 -1 0 36 FEAT_EPIC_AUTOMATIC_QUICKEN_3 859 0 -1 0
37 Bane_Magic_Aberration 23556 0 -1 0 37 FEAT_EPIC_AUTOMATIC_SILENT_SPELL_1 860 0 -1 0
38 Bane_Magic_Animal 23557 0 -1 0 38 FEAT_EPIC_AUTOMATIC_SILENT_SPELL_2 861 0 -1 0
39 Bane_Magic_Beast 23558 0 -1 0 39 FEAT_EPIC_AUTOMATIC_SILENT_SPELL_3 862 0 -1 0
40 Bane_Magic_Construct 23559 0 -1 0 40 FEAT_EPIC_AUTOMATIC_STILL_SPELL_1 863 0 -1 0
41 Bane_Magic_Dragon 23560 0 -1 0 41 FEAT_EPIC_AUTOMATIC_STILL_SPELL_2 864 0 -1 0
42 Bane_Magic_Dwarf 23561 0 -1 0 42 FEAT_EPIC_AUTOMATIC_STILL_SPELL_3 865 0 -1 0
43 Bane_Magic_Elemental 23562 0 -1 0 43 Bane_Magic_Aberration 23556 0 -1 0
44 Bane_Magic_Elf 23563 0 -1 0 44 Bane_Magic_Animal 23557 0 -1 0
45 Bane_Magic_Fey 23564 0 -1 0 45 Bane_Magic_Beast 23558 0 -1 0
46 Bane_Magic_Giant 23565 0 -1 0 46 Bane_Magic_Construct 23559 0 -1 0
47 Bane_Magic_Gnome 23566 0 -1 0 47 Bane_Magic_Dragon 23560 0 -1 0
48 Bane_Magic_HalfElf 23567 0 -1 0 48 Bane_Magic_Dwarf 23561 0 -1 0
49 Bane_Magic_Halfling 23568 0 -1 0 49 Bane_Magic_Elemental 23562 0 -1 0
50 Bane_Magic_HalfOrc 23569 0 -1 0 50 Bane_Magic_Elf 23563 0 -1 0
51 Bane_Magic_Human 23570 0 -1 0 51 Bane_Magic_Fey 23564 0 -1 0
52 Bane_Magic_Humanoid_Goblinoid 23571 0 -1 0 52 Bane_Magic_Giant 23565 0 -1 0
53 Bane_Magic_Humanoid_Monstrous 23572 0 -1 0 53 Bane_Magic_Gnome 23566 0 -1 0
54 Bane_Magic_Humanoid_Orc 23573 0 -1 0 54 Bane_Magic_HalfElf 23567 0 -1 0
55 Bane_Magic_Humanoid_Reptilian 23574 0 -1 0 55 Bane_Magic_Halfling 23568 0 -1 0
56 Bane_Magic_Magical_Beast 23575 0 -1 0 56 Bane_Magic_HalfOrc 23569 0 -1 0
57 Bane_Magic_Outsider 23576 0 -1 0 57 Bane_Magic_Human 23570 0 -1 0
58 Bane_Magic_Shapechanger 23577 0 -1 0 58 Bane_Magic_Humanoid_Goblinoid 23571 0 -1 0
59 Bane_Magic_Undead 23578 0 -1 0 59 Bane_Magic_Humanoid_Monstrous 23572 0 -1 0
60 Bane_Magic_Vermin 23579 0 -1 0 60 Bane_Magic_Humanoid_Orc 23573 0 -1 0
61 Bane_Magic_Humanoid_Reptilian 23574 0 -1 0
62 Bane_Magic_Magical_Beast 23575 0 -1 0
63 Bane_Magic_Outsider 23576 0 -1 0
64 Bane_Magic_Shapechanger 23577 0 -1 0
65 Bane_Magic_Undead 23578 0 -1 0
66 Bane_Magic_Vermin 23579 0 -1 0

View File

@ -1729,7 +1729,7 @@
1725 Travel_Domain_Power **** **** **** **** **** **** 1725 Travel_Domain_Power **** **** **** **** **** ****
1726 Turn_Scaleykind **** **** **** **** **** **** 1726 Turn_Scaleykind **** **** **** **** **** ****
1727 Turn_Slime **** **** **** **** **** **** 1727 Turn_Slime **** **** **** **** **** ****
1728 DrowJudicator_Command_Spiders **** **** **** **** **** **** 1728 Turn_Spider **** **** **** **** **** ****
1729 Turn_Plant **** **** **** **** **** **** 1729 Turn_Plant **** **** **** **** **** ****
1730 Turn_Air **** **** **** **** **** **** 1730 Turn_Air **** **** **** **** **** ****
1731 Turn_Earth **** **** **** **** **** **** 1731 Turn_Earth **** **** **** **** **** ****
@ -2200,7 +2200,7 @@
2196 SPELL_HOLYRADIANCE **** **** **** **** **** **** 2196 SPELL_HOLYRADIANCE **** **** **** **** **** ****
2197 FEAT_ANIMALMASTERY **** **** **** **** **** **** 2197 FEAT_ANIMALMASTERY **** **** **** **** **** ****
2198 IncreaseUnarmedEpic **** **** **** **** **** **** 2198 IncreaseUnarmedEpic **** **** **** **** **** ****
2199 FEAT_ARCH_RANGEDDISARM **** **** **** **** **** **** 2199 FEAT_RANGEDDISARM **** **** **** **** **** ****
2200 FEAT_SONG_OF_FURY **** **** **** **** **** **** 2200 FEAT_SONG_OF_FURY **** **** **** **** **** ****
2201 FEAT_EXTRASHOT **** **** **** **** **** **** 2201 FEAT_EXTRASHOT **** **** **** **** **** ****
2202 FEAT_RANGEDTRIP **** **** **** **** **** **** 2202 FEAT_RANGEDTRIP **** **** **** **** **** ****

File diff suppressed because it is too large Load Diff

View File

@ -9500,13 +9500,13 @@
9496 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1 9496 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1
9497 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1 9497 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1
9498 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1 9498 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1
9499 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1 9499 "##START CASTER PRC MARKER FEATS##" **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1
9500 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1 9500 FEAT_ARCHMAGE_SPELLCASTING_BEGUILER 16852508 16852507 IR_BEGUIL **** **** **** **** **** **** **** **** **** **** **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** FEAT_ARCHMAGE_SPELLCASTING_BEGUILER 6 0 14 79 **** **** 0 0
9501 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1 9501 FEAT_ARCHMAGE_SPELLCASTING_DNECRO 16852509 16852507 IR_PALEMA **** **** **** **** **** **** **** **** **** **** **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** FEAT_ARCHMAGE_SPELLCASTING_DNECRO 6 0 14 187 **** **** 0 0
9502 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1 9502 FEAT_ARCHMAGE_SPELLCASTING_SORCERER 16852510 16852507 IR_SORCERER **** **** **** **** **** **** **** **** **** **** **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** FEAT_ARCHMAGE_SPELLCASTING_SORCERER 6 0 14 9 **** **** 0 0
9503 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1 9503 FEAT_ARCHMAGE_SPELLCASTING_SUBCHORD 16852511 16852507 IR_X1_HARPER **** **** **** **** **** **** **** **** **** **** **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** FEAT_ARCHMAGE_SPELLCASTING_SUBCHORD 6 0 5 93 **** **** 0 0
9504 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1 9504 FEAT_ARCHMAGE_SPELLCASTING_WARMAGE 16852512 16852507 IR_HAVOCMAGE **** **** **** **** **** **** **** **** **** **** **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** FEAT_ARCHMAGE_SPELLCASTING_WARMAGE 6 0 14 237 **** **** 0 0
9505 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1 9505 FEAT_ARCHMAGE_SPELLCASTING_WIZARD 16852513 16852507 IR_WIZARD **** **** **** **** **** **** **** **** **** **** **** **** 0 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** FEAT_ARCHMAGE_SPELLCASTING_WIZARD 6 0 13 10 **** **** 0 0
9506 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1 9506 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1
9507 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1 9507 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1
9508 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1 9508 ReservedForISCAndESS **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1

View File

@ -4,16 +4,26 @@
//:: Test void //:: Test void
// void main (){} // void main (){}
// PRC Options Conversation //:: PRC Options Conversation
const int FEAT_OPTIONS_CONVERSATION = 2285; const int FEAT_OPTIONS_CONVERSATION = 2285;
//missing bioware ones //:: Missing Bioware Feats
const int FEAT_EPIC_PLANAR_TURNING = 854; const int FEAT_EPIC_PLANAR_TURNING = 854;
//:: New Feats for NWN .35 //:: New Feats for NWN .35
//:: New Favored Enemy Feats
const int FEAT_FAVORED_ENEMY_OOZE = 2354; const int FEAT_FAVORED_ENEMY_OOZE = 2354;
const int FEAT_FAVORED_ENEMY_PLANT = 2355; const int FEAT_FAVORED_ENEMY_PLANT = 2355;
//:: PrC Spellcasting Marker Feats
const int FEAT_ARCHMAGE_SPELLCASTING_BEGUILER = 9500;
const int FEAT_ARCHMAGE_SPELLCASTING_DNECRO = 9501;
const int FEAT_ARCHMAGE_SPELLCASTING_SORCERER = 9502;
const int FEAT_ARCHMAGE_SPELLCASTING_SUBCHORD = 9503;
const int FEAT_ARCHMAGE_SPELLCASTING_WARMAGE = 9504;
const int FEAT_ARCHMAGE_SPELLCASTING_WIZARD = 9505;
// skill based feats // skill based feats
const int FEAT_JUMP = 2884; const int FEAT_JUMP = 2884;

View File

@ -72,6 +72,11 @@ void DeleteCharacterData(object oPC)
DeletePersistantLocalString(oPC, "PRC_Class_Script1"); DeletePersistantLocalString(oPC, "PRC_Class_Script1");
DeletePersistantLocalString(oPC, "PRC_Class_Script2"); DeletePersistantLocalString(oPC, "PRC_Class_Script2");
DeletePersistantLocalString(oPC, "PRC_Class_Script3"); DeletePersistantLocalString(oPC, "PRC_Class_Script3");
DeletePersistantLocalString(oPC, "PRC_Class_Script4");
DeletePersistantLocalString(oPC, "PRC_Class_Script5");
DeletePersistantLocalString(oPC, "PRC_Class_Script6");
DeletePersistantLocalString(oPC, "PRC_Class_Script7");
DeletePersistantLocalString(oPC, "PRC_Class_Script8");
DeletePersistantLocalInt(oPC, "PRC_Class_Data"); DeletePersistantLocalInt(oPC, "PRC_Class_Data");
} }

View File

@ -385,7 +385,6 @@ int GenasaiFocus()
return FALSE; return FALSE;
}*/ }*/
int VileFeats() int VileFeats()
{ {
if(GetHasFeat(FEAT_VILE_DEFORM_OBESE) && GetHasFeat(FEAT_VILE_DEFORM_GAUNT)) if(GetHasFeat(FEAT_VILE_DEFORM_OBESE) && GetHasFeat(FEAT_VILE_DEFORM_GAUNT))
@ -514,6 +513,27 @@ int UltiRangerFeats()
return FALSE; return FALSE;
} }
int CheckArchmageClass()
{
if(GetLevelByClass(CLASS_TYPE_ARCHMAGE))
{
int iArchClass = GetHasFeat(FEAT_ARCHMAGE_SPELLCASTING_BEGUILER)
+ GetHasFeat(FEAT_ARCHMAGE_SPELLCASTING_DNECRO)
+ GetHasFeat(FEAT_ARCHMAGE_SPELLCASTING_SORCERER)
+ GetHasFeat(FEAT_ARCHMAGE_SPELLCASTING_SUBCHORD)
+ GetHasFeat(FEAT_ARCHMAGE_SPELLCASTING_WARMAGE)
+ GetHasFeat(FEAT_ARCHMAGE_SPELLCASTING_WIZARD);
if(iArchClass < 1)
{
FloatingTextStringOnCreature("Archmage may only advance a single arcane class.", OBJECT_SELF, FALSE);
FloatingTextStringOnCreature("Please reselect your feats.", OBJECT_SELF, FALSE);
return TRUE;
}
}
return FALSE;
}
int CheckClericShadowWeave() int CheckClericShadowWeave()
{ {
if(GetLevelByClass(CLASS_TYPE_CLERIC) && GetHasFeat(FEAT_SHADOWWEAVE)) if(GetLevelByClass(CLASS_TYPE_CLERIC) && GetHasFeat(FEAT_SHADOWWEAVE))
@ -2519,6 +2539,7 @@ void main()
{ {
if(BonusDomains() if(BonusDomains()
|| CasterFeats() || CasterFeats()
|| CheckArchmageClass()
|| CheckClericShadowWeave() || CheckClericShadowWeave()
|| CraftingFeats() || CraftingFeats()
|| DraconicFeats() || DraconicFeats()

Binary file not shown.