From f491984d6b5399483ab491ece74204d16154819e Mon Sep 17 00:00:00 2001
From: Jaysyn904 <68194417+Jaysyn904@users.noreply.github.com>
Date: Tue, 22 Aug 2023 19:53:49 -0400
Subject: [PATCH] Fixed Sanctified Mind prereqs

Fixed Sanctified Mind prereqs
---
 nwn/trunk/scripts/prc_prereq.nss | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/nwn/trunk/scripts/prc_prereq.nss b/nwn/trunk/scripts/prc_prereq.nss
index 3ff44f87..6fa72807 100644
--- a/nwn/trunk/scripts/prc_prereq.nss
+++ b/nwn/trunk/scripts/prc_prereq.nss
@@ -577,10 +577,7 @@ void reqCombatMedic(object oPC)
 		KNIGHT_MIDDLECIRCLE
 		NENTYAR_HUNTER
 		OASHAMAN
-		SOL
-
-	 
-	 
+		SOL	 
      */
 
     SetLocalInt(oPC, "PRC_PrereqCbtMed", 1);
@@ -687,9 +684,10 @@ void WildMageReq(object oPC)
         SetLocalInt(oPC, "PRC_PresWildMageReq", 0);
 }
 
-void Warmind(object oPC)
+void SancWarmind(object oPC)
 {
     SetLocalInt(oPC, "PRC_AllowWarmind", 1);
+	SetLocalInt(oPC, "PRC_AllowSancMind", 1);
 	
 	int iPwrPoints	= GetMaximumPowerPoints(oPC);
 
@@ -697,6 +695,7 @@ void Warmind(object oPC)
 	if (iPwrPoints > 0)
 	{
 		SetLocalInt(oPC, "PRC_AllowWarmind", 0);
+		SetLocalInt(oPC, "PRC_AllowSancMind", 0);
 	}
 }
 
@@ -1516,7 +1515,7 @@ void main()
     RacialHD(oPC);
     Virtuoso(oPC);
     LichPrereq(oPC);
-	Warmind(oPC);
+	SancWarmind(oPC);
     DalQuor(oPC);
     Pyro(oPC);
     Suel();