From 08e20634af80de3f2031e8f07f3bdaa6e679d19a Mon Sep 17 00:00:00 2001
From: Jaysyn904 <68194417+Jaysyn904@users.noreply.github.com>
Date: Sat, 19 Feb 2022 11:06:26 -0500
Subject: [PATCH] Create PRC Spellcasting Class Notes.txt

---
 _notes_/PRC Spellcasting Class Notes.txt | 47 ++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
 create mode 100644 _notes_/PRC Spellcasting Class Notes.txt

diff --git a/_notes_/PRC Spellcasting Class Notes.txt b/_notes_/PRC Spellcasting Class Notes.txt
new file mode 100644
index 000000000..b700be363
--- /dev/null
+++ b/_notes_/PRC Spellcasting Class Notes.txt	
@@ -0,0 +1,47 @@
+/* Steps for adding a new spellbook
+
+Prepared:
+Make cls_spgn_*.2da
+Make cls_spcr_*.2da
+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 GetSpellbookTypeForClass() below
+Add class to GetAbilityScoreForClass() below
+Add class to bKnowsAllClassSpells() below if necessary
+Add class to GetIsArcaneClass() or GetIsDivineClass() in prc_inc_castlvl as appropriate
+Add class to GetCasterLevelModifier() in prc_inc_castlvl if necessary
+Add class to SetupLookupStage() in inc_lookups
+Add class to GetCasterLvl() in prc_inc_spells
+Add Practiced Spellcaster feat to feat.2da and to PracticedSpellcasting() in prc_inc_castlvl
+Run the assemble_spellbooks.bat file
+Make the prc_* scripts in newspellbook. The filenames can be found under the spell entries for the class in spells.2da.
+
+Spont:
+Make cls_spgn_*.2da
+Make cls_spkn_*.2da
+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 GetSpellbookTypeForClass() below
+Add class to GetAbilityScoreForClass() below
+Add class to bKnowsAllClassSpells() below if necessary
+Add class to GetIsArcaneClass() or GetIsDivineClass() in prc_inc_castlvl as appropriate
+Add class to GetCasterLevelModifier() in prc_inc_castlvl if necessary
+Add class to SetupLookupStage() in inc_lookups
+Add class to GetCasterLvl() in prc_inc_spells
+Add Practiced Spellcaster feat to feat.2da and to PracticedSpellcasting() in prc_inc_castlvl
+Add class to prc_amagsys_gain if(CheckMissingSpells(oPC, CLASS_TYPE_SORCERER, MinimumSpellLevel, MaximumSpellLevel))
+Add class to ExecuteScript("prc_amagsys_gain", oPC) list in EvalPRCFeats in prc_inc_function
+Run the assemble_spellbooks.bat file
+Make the prc_* scripts in newspellbook
+
+prc_classes.2da entry:
+Label       - name for the class
+Name        - tlk file strref
+SpellCaster - does the class cast spells? 0 = No, 1 = Yes (used for bonus spellslot item properties)
+SBType      - S = spontaneous, P = prepared
+AL          - does the class use Advanced Learning of any type? 0 = No, 1 = Yes
+*/
\ No newline at end of file