[Known 9861] Creature Files overriding memorized spells
kjeron
Member Posts: 2,368
Memorization - Non-Mod required:
Current Behavior: For NPC's with spell memorization in the default .CRE file - when these spells have only a single memorization remaining and are put into any Contingency or Sequencer, they are not being decremented.
Expected Behavior: Spells are decremented regardless of how many are left or what's in the default .CRE file.
I am not sure if at what point this stops happening, or if no one uses an NPC's pre-selected choice of spell memorization's long enough to ever notice.
Repro:
Start new ToB game until reaching Pocket Plane
Summon Imoen through the Fate Spirit
Imoen Casts Contingency
Select Armor, Done.
Armor remains to be cast.
Go to Imoen's Mage book.
Memorize Reflected Image once.
Rest
Imoen Casts Contingency
Select Reflected Image, Done.
Reflected Image has been spent.
Go to Imoen's Mage book.
Remove Relfected Image and memorize another Armor spell.
Rest
Imoen Casts Contingency
Select Armor, Done.
Only one Armor remains to be cast.
Memorization - Mod-required: No vanilla spell uses this opcode in this way, but I figured it was related enough to include.
Current Behavior: For NPC's with spells memorizations in the default .CRE file - when these spells are removed through opcode 172, they remain memorized. Spells memorized, but not memorized in the default .CRE file are removed from memorization when opcode 172 is used.
Expected Behavior: Spell memorizations are removed with opcode 172 regardless of what's in the default .CRE file.
Current Behavior: For NPC's with spell memorization in the default .CRE file - when these spells have only a single memorization remaining and are put into any Contingency or Sequencer, they are not being decremented.
Expected Behavior: Spells are decremented regardless of how many are left or what's in the default .CRE file.
I am not sure if at what point this stops happening, or if no one uses an NPC's pre-selected choice of spell memorization's long enough to ever notice.
Repro:
Start new ToB game until reaching Pocket Plane
Summon Imoen through the Fate Spirit
Imoen Casts Contingency
Select Armor, Done.
Armor remains to be cast.
Go to Imoen's Mage book.
Memorize Reflected Image once.
Rest
Imoen Casts Contingency
Select Reflected Image, Done.
Reflected Image has been spent.
Go to Imoen's Mage book.
Remove Relfected Image and memorize another Armor spell.
Rest
Imoen Casts Contingency
Select Armor, Done.
Only one Armor remains to be cast.
Memorization - Mod-required: No vanilla spell uses this opcode in this way, but I figured it was related enough to include.
Current Behavior: For NPC's with spells memorizations in the default .CRE file - when these spells are removed through opcode 172, they remain memorized. Spells memorized, but not memorized in the default .CRE file are removed from memorization when opcode 172 is used.
Expected Behavior: Spell memorizations are removed with opcode 172 regardless of what's in the default .CRE file.
Post edited by Gate70 on
2
Comments
Opcode 172's shortcomings are well known throughout the modding community.
EDIT: Nevermind, was able to reproduce this again. In fact, it didn't even unmemorize spells where multiple copies of the same spell was memorized. The unmemorize seemed to work once you manually unmemorized/rearranged spells that were not on the default .cre.