Jump to content

(Beta 13) (EET) 10 mage spell slots for each level on character creation.


Recommended Posts

On main player character creation, as well as when choosing mage(multi) as a class for an NPC via Improved NPC Customization, the character is granted 10 slots of each spell level (9 slots each for levels 8 and 9).  For player character creation, I am also prompted to choose 10 spells for each level to have in my spellbook and 10 spells to have prepared for each level. It was a hoot to appear outside Puffgut's Inn with Meteor Swarm prepared, but not really intended for the long run. 😛

I was able to remove the slots in EEKeeper. However, for a fighter/mage multi, when I gained a FIGHTER level, the slots all came back!  I removed them again in EEKeeper. Next, when I gained a mage level .... the slots stayed gone.

Tarnesh didn't appear to have anomalous spells (he stuck to mirror image, horror, and m.missle, like normal), so I don't think it's affecting all NPCs.

Of note, I have a very large modlist. It's entirely possible this occurrence is due to unfortunate interactions with another mod and is no fault of ToF. I did not, however, see this before, and the only new addition to my modlist is ToF. I'm pretty sure it's involved in some way.

WeiDU.log

Link to comment
15 minutes ago, Trouveur80 said:

Pretty sure it's an incompatibility between ToF and Tweaks Anthology alter spells tables components.

I met the same problem with IWDification alter bard spells table progression. 

You could try installing those components after ToF

I concur. I have installed the TA altered mage table component (PnP). I just looked it up and it appears I received the loadout for a 50th level wizard (+1 for each level, oddly -- not a specialist).  Glad to know it's not just me. Also glad it seems to go away once I gain a level of mage!

Link to comment

So, if I'm installing Tweaks Anthology before ToF, I should NOT install Alter Mage Spell Progression Table (or at least use option #1 - which uses "Default ToB table")?

Edited by Brogan
Link to comment
7 hours ago, Brogan said:

So, if I'm installing Tweaks Anthology before ToF, I should NOT install Alter Mage Spell Progression Table (or at least use option #1 - which uses "Default ToB table")?

You should split off the Alter Mage Spell Progression Table component and place it after ToF.
If you're using Project Infinity, you can simply cut and paste the line in the install list.
If you're installing manually, skip the component initially, then after a complete ToF install, go back and run the Tweaks Anthology installer again, skipping everything but the Mage Table.

Link to comment
3 minutes ago, Lightbringer said:

You should split off the Alter Mage Spell Progression Table component and place it after ToF.
If you're using Project Infinity, you can simply cut and paste the line in the install list.
If you're installing manually, skip the component initially, then after a complete ToF install, go back and run the Tweaks Anthology installer again, skipping everything but the Mage Table.

Got it.  Easy enough.  Thanks.

Link to comment

Interesting follow up. Removing the slots via EEKeeper may not be necessary if you use Improved NPC Customization. When I rescued Dynaheir, her first level up gave her the 10 slots per level, but after taking the rest of the levels (she ended up as a 5/5 F/M), she had the appropriate number of slots. Looks like the system is self-correcting -- at least with the NPC customization component.

Link to comment

...and now I get it.

This bug isn't anything to do with the Tweaks Anthology changes to spell tables. It's being triggered by whatever mod adds that row of -1s to the highest XP level. 

Here's what's going on:

1) The low-level abilities component forces your character to start at level one, and then gives you your starting XP by script. (It does that because the HLA menu isn't accessible in character generation, so you won't get your early HLAs if you start at a higher level.)

2) Wizards and bards would normally not get to select any spells above first level on this system. I work around that by setting first-level (and only first level) wizard and bard spells to match the number of spells you get at your 'correct' level. That means you get to select your known and memorized spells normally. Then when you level up past first level, you revert to the normal spell table. (This is a bit hacky; it's the least-worst solution I can come up with, and I think is better than (e.g.) the computer choosing your spells for you, or you just starting with no spells.)

3) To adjust the spell tables, I need to know what level a wizard or bard starts at. I do that by starting with your starting XP and then looking up what level you are in xplevel.2da.

4) The function I use to convert XP to level sets your level to the highest level at which the XP required is lower than your actual XP.

5) Since some mods apparently add a rightmost column to xplevel.2da that consists of all -1s, that function returns the rightmost column level as your level. So instead of getting the correct number of spells at 1st level, you get a ridiculously large number. (Note that this even happens on plain BG: your starting XP is 1, which is larger than -1.)

This is really a fault on my side: my xp-to-level function ought to be a bit more sophisticated. Fix to follow.

Thanks for the help diagnosing!

 

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...