Major script update for 8 class support

Major script update for 8 class support.

prc_wipeNSB.nss

PRC_S_spellb.nss

prc_amagsys_gain.nss	- AMSCompatibilityCheck()

prc_prereq.nss			- Dragonheart(), KnightWeave()

prc_onenter.nss			- OnEnter_AMSCompatibilityCheck()

prc_metamagic.nss		- GetHasSpontaneousNSBClass()

prc_feats.nss

prc_dracactive.nss

prc_debug_hfeatm.nss

prc_cbtmed_spnhl.nss

psi_powconv.nss

psi_pow_bstpwr.nss

x2_pc_umdcheck.nss
This commit is contained in:
Jaysyn904
2023-03-11 12:04:30 -05:00
parent a668275943
commit 6585d40a0f
17 changed files with 155 additions and 23 deletions

View File

@@ -33,6 +33,8 @@ Note: I am not using the effective level of the spell for DC calculation but
*/
//------------------------------------------------------------------------------
//:: Updated for .35 by Jaysyn 2023/03/11
#include "prc_inc_spells"
int DoCastingClassCheck(object oCaster, int nSpellID, int nClass)
@@ -55,7 +57,7 @@ int DoCastingClassCheck(object oCaster, int nSpellID, int nClass)
int UMD_CheckCastingClass(object oCaster, int nSpellID)
{
int i;
for(i = 1; i < 4; i++)
for(i = 1; i < 9; i++)
{
if(DoCastingClassCheck(oCaster, nSpellID, GetClassByPosition(i, oCaster)))
return TRUE;