Elin
Not enough ratings
NPC Spell Learning (Nightly)
2
   
Award
Favorite
Favorited
Unfavorite
Asset: NPC
File Size
Posted
Updated
132.295 KB
Sep 2 @ 3:45pm
Sep 22 @ 5:47pm
12 Change Notes ( view )

Subscribe to download
NPC Spell Learning (Nightly)

Description
NOTE: This version is confirmed to work on Stable Elin EA 23.200.

A breakthrough in magical pedagogy is sweeping across North Tyris, and now, the knowledge sealed within spellbooks is no longer beyond the grasp of your companions.

This mod overhauls NPC spellcasting, allowing them to learn, cast, and manage spells just like you do. From a single gifted tome, a humble companion can grow into a formidable archmage.

Please also try out my companion mod, "Tome of Memory Loss" for organic way to remove these spells: https://steamcommunity.com/sharedfiles/filedetails/?id=3559347159

REQUIREMENTS:
• Stable Elin EA 23.200. This mod will hold new Nightly in case any breaking changes.

MISC COMPANION MODS:
• Player Gene System: https://steamcommunity.com/sharedfiles/filedetails/?id=3568525292
• CustomAIRedux: https://steamcommunity.com/sharedfiles/filedetails/?id=3561260845
• Tome of Memory Loss: https://steamcommunity.com/sharedfiles/filedetails/?id=3559347159

FEATURES:
• NPCs can now learn spells from spellbooks.
• Learned spells are added to the NPC's combat ability pool and will be used intelligently in battle.
• By default, NPCs consume spell charges for learned spells, just like the player. Innate abilities are unaffected. When a spell's charges are depleted, the NPC retains the spell at its current level, ready to be recharged.
• NPCs will only learn from spellbooks you directly give them, ensuring you have full control over their magical development (configurable).
• NPCs can consume all charges from a spellbook at once, rapidly mastering new spells in a single reading session (configurable).
• If configured, gifted NPCs have a chance to read spellbooks on their own during idle time, allowing them to learn and grow without constant micromanagement.

HOW IT WORKS:
Simply give a spellbook to an ally as a gift. They will read it and learn the spell. If you enable autonomous reading in the config, they will read gifted spellbooks from their inventory during idle time. Once learned, the spell becomes a permanent part of their arsenal. Keep them supplied with spellbooks to recharge their abilities and expand their power.

CONFIGURATION:
• EnableSpellCharges (true): If false, NPCs have unlimited casts for learned spells.
• PlayerOnlyLearning (true): If false, NPCs can learn from any spellbook they find, not just gifted ones.
• AutonomousSpellbookReading (false): If true, NPCs have a 5% chance per turn during idle time to read a gifted spellbook.
• BulkLearning (true): If false, NPCs consume one charge per reading instead of all at once.
• AllowCursedSpellbooks (default: true): If true, NPCs will read gifted cursed spellbooks

Warning: This mod significantly changes game balance, as NPCs were originally intended to learn new abilities only from skill books and genes.
5 Comments
grueshanker  [author] Sep 22 @ 5:49pm 
Accidentaly uploaded same mod twice, please re-sub here for NPC Spell Learning (Nightly) if error occur
grueshanker  [author] Sep 22 @ 1:34am 
New setting:
Adds configurable option: AllowCursedSpellbooks (default: true)
grueshanker  [author] Sep 13 @ 3:35am 
🆕 New Features:
- Autonomous Spellbook Reading: NPCs now automatically read gifted spellbooks during idle time (5% chance per turn, same as skillbooks)
- Bulk Learning Mode: NPCs can consume all spellbook charges at once instead of reading one charge at a time (like Ancient books)

⚙️ New Configuration Options:
- AutonomousSpellbookReading - Enable/disable autonomous reading (default: OFF)
- BulkLearning - Enable/disable bulk charge consumption (default: ON)
grueshanker  [author] Sep 6 @ 8:51pm 
🎓 BEHAVIOR CHANGE: NPCs now only learn spells from spellbooks you directly give them (default enabled). Disable PlayerOnlyLearning in config to restore old behavior where NPCs learn from any spellbooks they find.
grueshanker  [author] Sep 6 @ 7:53pm 
⚡ BEHAVIOR CHANGE: NPCs now consume charges on learned spells by default (learned spells are removed when depleted).
Innate abilities remain unchanged. Users can disable this in the config to restore unlimited learned spell casting. Nightly version only. Please test and give any feedbacks