Minor script tweaks

Minor script tweaks
This commit is contained in:
Jaysyn904 2024-08-05 19:55:29 -04:00
parent 02f4cee12c
commit 98135e6f1a
3 changed files with 6 additions and 3 deletions

View File

@ -9,6 +9,7 @@ Make blank cls_spell_*.2da
Add cls_spgn_*.2da to classes.2da
Add class entry in prc_classes.2da
Add the spellbook feat (#1999) to cls_feat_*.2da at the appropriate level
Add class to PRCGetSpellSaveDC() in prc_add_spell_dc
Add class to GetSpellbookTypeForClass() below
Add class to GetAbilityScoreForClass() below
Add class to bKnowsAllClassSpells() below if necessary
@ -27,6 +28,7 @@ Make cls_spcr_*.2da
Make blank cls_spell_*.2da
Add cls_spkn_*.2da and cls_spgn_*.2da to classes.2da
Add class entry in prc_classes.2da
Add class to PRCGetSpellSaveDC() in prc_add_spell_dc
Add class to GetSpellbookTypeForClass() below
Add class to GetAbilityScoreForClass() below
Add class to bKnowsAllClassSpells() below if necessary

View File

@ -1969,10 +1969,11 @@ int GetCanFormCast(object oCreature)
case RACIAL_TYPE_BEAST:
case RACIAL_TYPE_ANIMAL:
case RACIAL_TYPE_OOZE:
// case RACIAL_TYPE_PLANT:
// These forms can't cast spells
//case RACIAL_TYPE_PLANT:
// These forms can't cast spells
return FALSE;
break;
case RACIAL_TYPE_SHAPECHANGER:
case RACIAL_TYPE_ELEMENTAL:
case RACIAL_TYPE_DRAGON:

View File

@ -6680,4 +6680,4 @@ int GetLevelByTypeDivine(object oCaster = OBJECT_SELF)
}
//:: Test Void
//void main (){}
//:: void main (){}