Fixed Sanctified Mind prereqs

Fixed Sanctified Mind prereqs
This commit is contained in:
Jaysyn904 2023-08-22 19:53:49 -04:00
parent f1d8241acf
commit f491984d6b

View File

@ -577,10 +577,7 @@ void reqCombatMedic(object oPC)
KNIGHT_MIDDLECIRCLE KNIGHT_MIDDLECIRCLE
NENTYAR_HUNTER NENTYAR_HUNTER
OASHAMAN OASHAMAN
SOL SOL
*/ */
SetLocalInt(oPC, "PRC_PrereqCbtMed", 1); SetLocalInt(oPC, "PRC_PrereqCbtMed", 1);
@ -687,9 +684,10 @@ void WildMageReq(object oPC)
SetLocalInt(oPC, "PRC_PresWildMageReq", 0); SetLocalInt(oPC, "PRC_PresWildMageReq", 0);
} }
void Warmind(object oPC) void SancWarmind(object oPC)
{ {
SetLocalInt(oPC, "PRC_AllowWarmind", 1); SetLocalInt(oPC, "PRC_AllowWarmind", 1);
SetLocalInt(oPC, "PRC_AllowSancMind", 1);
int iPwrPoints = GetMaximumPowerPoints(oPC); int iPwrPoints = GetMaximumPowerPoints(oPC);
@ -697,6 +695,7 @@ void Warmind(object oPC)
if (iPwrPoints > 0) if (iPwrPoints > 0)
{ {
SetLocalInt(oPC, "PRC_AllowWarmind", 0); SetLocalInt(oPC, "PRC_AllowWarmind", 0);
SetLocalInt(oPC, "PRC_AllowSancMind", 0);
} }
} }
@ -1516,7 +1515,7 @@ void main()
RacialHD(oPC); RacialHD(oPC);
Virtuoso(oPC); Virtuoso(oPC);
LichPrereq(oPC); LichPrereq(oPC);
Warmind(oPC); SancWarmind(oPC);
DalQuor(oPC); DalQuor(oPC);
Pyro(oPC); Pyro(oPC);
Suel(); Suel();