Updated War Mind & Sanctified Mind prereq variables
Updated War Mind & Sanctified Mind prereq variables. Added PRC_Allow constants for RHD classes.
This commit is contained in:
		| @@ -12,6 +12,25 @@ const string ALLOW_CLASS_ROGUE                  = "PRC_AllowRogue"; | |||||||
| const string ALLOW_CLASS_SORCERER               = "PRC_AllowSorcerer"; | const string ALLOW_CLASS_SORCERER               = "PRC_AllowSorcerer"; | ||||||
| const string ALLOW_CLASS_WIZARD                 = "PRC_AllowWizard"; | const string ALLOW_CLASS_WIZARD                 = "PRC_AllowWizard"; | ||||||
|  |  | ||||||
|  | //: Racial Classes | ||||||
|  | const string ALLOW_CLASS_ABERRATION				= "PRC_AllowAberration"; | ||||||
|  | const string ALLOW_CLASS_ANIMAL					= "PRC_AllowAnimal"; | ||||||
|  | const string ALLOW_CLASS_BEAST					= "PRC_AllowBeast"; | ||||||
|  | const string ALLOW_CLASS_CONSTRUCT				= "PRC_AllowConstruct"; | ||||||
|  | const string ALLOW_CLASS_DRAGON					= "PRC_AllowDragon"; | ||||||
|  | const string ALLOW_CLASS_ELEMENTAL				= "PRC_PrereqEle"; | ||||||
|  | const string ALLOW_CLASS_FEY					= "PRC_AllowFey"; | ||||||
|  | const string ALLOW_CLASS_GIANT					= "PRC_AllowGiant"; | ||||||
|  | const string ALLOW_CLASS_HUMANOID				= "PRC_AllowHumanoid"; | ||||||
|  | const string ALLOW_CLASS_MAGICAL_BEAST			= "PRC_AllowMagicalBeast"; | ||||||
|  | const string ALLOW_CLASS_MON_HUMANOID			= "PRC_AllowMonstrous"; | ||||||
|  | const string ALLOW_CLASS_OOZE					= "PRC_AllowOoze"; | ||||||
|  | const string ALLOW_CLASS_OUTSIDER				= "PRC_AllowOutsider"; | ||||||
|  | const string ALLOW_CLASS_PLANT					= "PRC_AllowPlant"; | ||||||
|  | const string ALLOW_CLASS_SHAPECHANGER			= "PRC_AllowShapechanger"; | ||||||
|  | const string ALLOW_CLASS_UNDEAD					= "PRC_AllowUndead"; | ||||||
|  | const string ALLOW_CLASS_VERMIN					= "PRC_AllowVermin"; | ||||||
|  |  | ||||||
| // PRC | // PRC | ||||||
| const string ALLOW_CLASS_ANTIPALADIN            = "PRC_AllowAntiPal"; | const string ALLOW_CLASS_ANTIPALADIN            = "PRC_AllowAntiPal"; | ||||||
| const string ALLOW_CLASS_ARTIFICER              = "PRC_AllowArtificer"; | const string ALLOW_CLASS_ARTIFICER              = "PRC_AllowArtificer"; | ||||||
|   | |||||||
| @@ -701,16 +701,16 @@ void WildMageReq(object oPC) | |||||||
|  |  | ||||||
| void SancWarmind(object oPC) | void SancWarmind(object oPC) | ||||||
| { | { | ||||||
|     SetLocalInt(oPC, "PRC_AllowWarmind", 1); |     SetLocalInt(oPC, "PRC_PrereqWarmind", 1); | ||||||
| 	SetLocalInt(oPC, "PRC_AllowSancMind", 1); | 	SetLocalInt(oPC, "PRC_PrereqSancMind", 1); | ||||||
| 	 | 	 | ||||||
| 	int iPwrPoints	= GetMaximumPowerPoints(oPC); | 	int iPwrPoints	= GetMaximumPowerPoints(oPC); | ||||||
|  |  | ||||||
| //:: Requires at least one Power Point | //:: Requires at least one Power Point | ||||||
| 	if (iPwrPoints > 0) | 	if (iPwrPoints > 0) | ||||||
| 	{ | 	{ | ||||||
| 		SetLocalInt(oPC, "PRC_AllowWarmind", 0); | 		SetLocalInt(oPC, "PRC_PrereqWarmind", 0); | ||||||
| 		SetLocalInt(oPC, "PRC_AllowSancMind", 0); | 		SetLocalInt(oPC, "PRC_PrereqSancMind", 0); | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
| @@ -809,20 +809,21 @@ void RacialHD(object oPC) | |||||||
| { | { | ||||||
|     SetLocalInt(oPC, "PRC_PrereqAberration", 1); |     SetLocalInt(oPC, "PRC_PrereqAberration", 1); | ||||||
|     SetLocalInt(oPC, "PRC_PrereqAnimal", 1); |     SetLocalInt(oPC, "PRC_PrereqAnimal", 1); | ||||||
|  |     SetLocalInt(oPC, "PRC_PrereqBeast", 1); | ||||||
|     SetLocalInt(oPC, "PRC_PrereqConstruct", 1); |     SetLocalInt(oPC, "PRC_PrereqConstruct", 1); | ||||||
|     SetLocalInt(oPC, "PRC_PrereqHumanoid", 1); |     SetLocalInt(oPC, "PRC_PrereqDragon", 1); | ||||||
|     SetLocalInt(oPC, "PRC_PrereqMonstrous", 1); |  | ||||||
|     SetLocalInt(oPC, "PRC_PrereqEle", 1); |     SetLocalInt(oPC, "PRC_PrereqEle", 1); | ||||||
|     SetLocalInt(oPC, "PRC_PrereqFey", 1); |     SetLocalInt(oPC, "PRC_PrereqFey", 1); | ||||||
|     SetLocalInt(oPC, "PRC_PrereqDragon", 1); |  | ||||||
|     SetLocalInt(oPC, "PRC_PrereqUndead", 1); |  | ||||||
|     SetLocalInt(oPC, "PRC_PrereqBeast", 1); |  | ||||||
|     SetLocalInt(oPC, "PRC_PrereqGiant", 1); |     SetLocalInt(oPC, "PRC_PrereqGiant", 1); | ||||||
|  |     SetLocalInt(oPC, "PRC_PrereqHumanoid", 1); | ||||||
|     SetLocalInt(oPC, "PRC_PrereqMagicalBeast", 1); |     SetLocalInt(oPC, "PRC_PrereqMagicalBeast", 1); | ||||||
|  |     SetLocalInt(oPC, "PRC_PrereqMonstrous", 1); | ||||||
|  | 	SetLocalInt(oPC, "PRC_PrereqOoze", 1); | ||||||
|     SetLocalInt(oPC, "PRC_PrereqOutsider", 1); |     SetLocalInt(oPC, "PRC_PrereqOutsider", 1); | ||||||
|     SetLocalInt(oPC, "PRC_PrereqShapechanger", 1); |  | ||||||
|     SetLocalInt(oPC, "PRC_PrereqVermin", 1); |  | ||||||
|     SetLocalInt(oPC, "PRC_PrereqPlant", 1); |     SetLocalInt(oPC, "PRC_PrereqPlant", 1); | ||||||
|  |     SetLocalInt(oPC, "PRC_PrereqShapechanger", 1); | ||||||
|  |     SetLocalInt(oPC, "PRC_PrereqUndead", 1); | ||||||
|  |     SetLocalInt(oPC, "PRC_PrereqVermin", 1); | ||||||
|     if(GetPRCSwitch(PRC_XP_USE_SIMPLE_RACIAL_HD)) |     if(GetPRCSwitch(PRC_XP_USE_SIMPLE_RACIAL_HD)) | ||||||
|     { |     { | ||||||
|         int nRealRace = GetRacialType(oPC); |         int nRealRace = GetRacialType(oPC); | ||||||
| @@ -833,21 +834,22 @@ void RacialHD(object oPC) | |||||||
|             switch(nRacialClass) |             switch(nRacialClass) | ||||||
|             { |             { | ||||||
| 				case CLASS_TYPE_ABERRATION: SetLocalInt(oPC, "PRC_PrereqAberration", 0); break; | 				case CLASS_TYPE_ABERRATION: SetLocalInt(oPC, "PRC_PrereqAberration", 0); break; | ||||||
|                 case CLASS_TYPE_ANIMAL: SetLocalInt(oPC, "PRC_PrereqAnmal", 0); break; |                 case CLASS_TYPE_ANIMAL: SetLocalInt(oPC, "PRC_PrereqAnimal", 0); break; | ||||||
|  |                 case CLASS_TYPE_BEAST: SetLocalInt(oPC, "PRC_PrereqBeast", 0); break; | ||||||
|                 case CLASS_TYPE_CONSTRUCT: SetLocalInt(oPC, "PRC_PrereqConstruct", 0); break; |                 case CLASS_TYPE_CONSTRUCT: SetLocalInt(oPC, "PRC_PrereqConstruct", 0); break; | ||||||
|                 case CLASS_TYPE_HUMANOID: SetLocalInt(oPC, "PRC_PrereqHumanoid", 0); break; |                 case CLASS_TYPE_DRAGON: SetLocalInt(oPC, "PRC_PrereqDragon", 0); break; | ||||||
|                 case CLASS_TYPE_MONSTROUS: SetLocalInt(oPC, "PRC_PrereqMonstrous", 0); break; |  | ||||||
|                 case CLASS_TYPE_ELEMENTAL: SetLocalInt(oPC, "PRC_PrereqEle", 0); break; |                 case CLASS_TYPE_ELEMENTAL: SetLocalInt(oPC, "PRC_PrereqEle", 0); break; | ||||||
|                 case CLASS_TYPE_FEY: SetLocalInt(oPC, "PRC_PrereqFey", 0); break; |                 case CLASS_TYPE_FEY: SetLocalInt(oPC, "PRC_PrereqFey", 0); break; | ||||||
|                 case CLASS_TYPE_DRAGON: SetLocalInt(oPC, "PRC_PrereqDragon", 0); break; |  | ||||||
|                 case CLASS_TYPE_UNDEAD: SetLocalInt(oPC, "PRC_PrereqUndead", 0); break; |  | ||||||
|                 case CLASS_TYPE_BEAST: SetLocalInt(oPC, "PRC_PrereqBeast", 0); break; |  | ||||||
|                 case CLASS_TYPE_GIANT: SetLocalInt(oPC, "PRC_PrereqGiant", 0); break; |                 case CLASS_TYPE_GIANT: SetLocalInt(oPC, "PRC_PrereqGiant", 0); break; | ||||||
|  |                 case CLASS_TYPE_HUMANOID: SetLocalInt(oPC, "PRC_PrereqHumanoid", 0); break; | ||||||
|                 case CLASS_TYPE_MAGICAL_BEAST: SetLocalInt(oPC, "PRC_PrereqMagicalBeast", 0); break; |                 case CLASS_TYPE_MAGICAL_BEAST: SetLocalInt(oPC, "PRC_PrereqMagicalBeast", 0); break; | ||||||
|  |                 case CLASS_TYPE_MONSTROUS: SetLocalInt(oPC, "PRC_PrereqMonstrous", 0); break; | ||||||
|  | 				case CLASS_TYPE_OOZE: SetLocalInt(oPC, "PRC_PrereqOoze", 0); break; | ||||||
|                 case CLASS_TYPE_OUTSIDER: SetLocalInt(oPC, "PRC_PrereqOutsider", 0); break; |                 case CLASS_TYPE_OUTSIDER: SetLocalInt(oPC, "PRC_PrereqOutsider", 0); break; | ||||||
|                 case CLASS_TYPE_SHAPECHANGER: SetLocalInt(oPC, "PRC_PrereqShapechanger", 0); break; |  | ||||||
|                 case CLASS_TYPE_VERMIN: SetLocalInt(oPC, "PRC_PrereqVermin", 0); break; |  | ||||||
|                 case CLASS_TYPE_PLANT: SetLocalInt(oPC, "PRC_PrereqPlant", 0); break; |                 case CLASS_TYPE_PLANT: SetLocalInt(oPC, "PRC_PrereqPlant", 0); break; | ||||||
|  |                 case CLASS_TYPE_SHAPECHANGER: SetLocalInt(oPC, "PRC_PrereqShapechanger", 0); break; | ||||||
|  |                 case CLASS_TYPE_UNDEAD: SetLocalInt(oPC, "PRC_PrereqUndead", 0); break; | ||||||
|  |                 case CLASS_TYPE_VERMIN: SetLocalInt(oPC, "PRC_PrereqVermin", 0); break; | ||||||
|                 default: SetLocalInt(oPC, "NoRace", 0); |                 default: SetLocalInt(oPC, "NoRace", 0); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|   | |||||||
										
											Binary file not shown.
										
									
								
							| @@ -2,7 +2,7 @@ | |||||||
| <!DOCTYPE tlk SYSTEM "tlk2xml.dtd"> | <!DOCTYPE tlk SYSTEM "tlk2xml.dtd"> | ||||||
| <tlk> | <tlk> | ||||||
|   <entry id="0" lang="en" sex="m">Bad Strref</entry> |   <entry id="0" lang="en" sex="m">Bad Strref</entry> | ||||||
|   <entry id="12000" lang="en" sex="m">PRC8 Version Counter: 07</entry> |   <entry id="12000" lang="en" sex="m">PRC8 Version Counter: 08</entry> | ||||||
|   <entry id="12288" lang="en" sex="m">Ocular Adept</entry> |   <entry id="12288" lang="en" sex="m">Ocular Adept</entry> | ||||||
|   <entry id="12289" lang="en" sex="m">Ocular Adepts</entry> |   <entry id="12289" lang="en" sex="m">Ocular Adepts</entry> | ||||||
|   <entry id="12290" lang="en" sex="m">ocular adepts</entry> |   <entry id="12290" lang="en" sex="m">ocular adepts</entry> | ||||||
| @@ -10484,17 +10484,17 @@ Level: | |||||||
|  7: Psychic strike +2d8 |  7: Psychic strike +2d8 | ||||||
|  8: +2 mind blade |  8: +2 mind blade | ||||||
|  9: Bladewind, Greater Weapon Focus(mind blade) |  9: Bladewind, Greater Weapon Focus(mind blade) | ||||||
| 10: Mind blade enhancement +2 |  10: Mind blade enhancement +2 | ||||||
| 11: Psychic strike +3d8 |  11: Psychic strike +3d8 | ||||||
| 12: +3 mind blade |  12: +3 mind blade | ||||||
| 13: Knife to the soul |  13: Knife to the soul | ||||||
| 14: Mind blade enhancement +3 |  14: Mind blade enhancement +3 | ||||||
| 15: Psychic strike +4d8 |  15: Psychic strike +4d8 | ||||||
| 16: +4 mind blade |  16: +4 mind blade | ||||||
| 17: Multiple throw |  17: Multiple throw | ||||||
| 18: Mind blade enhancement +4 |  18: Mind blade enhancement +4 | ||||||
| 19: Psychic strike +5d8 |  19: Psychic strike +5d8 | ||||||
| 20: +5 mind blade |  20: +5 mind blade | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| Mind blade (Su): A soulknife can create a semisolid blade composed of psychic energy distilled from his own mind. The blade is identical in all ways to a short sword. A mind blade is considered a magic weapon (+1) for the purpose of overcoming damage reduction. | Mind blade (Su): A soulknife can create a semisolid blade composed of psychic energy distilled from his own mind. The blade is identical in all ways to a short sword. A mind blade is considered a magic weapon (+1) for the purpose of overcoming damage reduction. | ||||||
|   | |||||||
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user