diff --git a/README.md b/README.md
index da238ef..76214e1 100644
--- a/README.md
+++ b/README.md
@@ -11,6 +11,7 @@ Most features of this extension require the [PFRPG - Spellbook](https://www.fant
# Features
This extension replaces NPC spell actions with those from [PFRPG - Spellbook](https://www.fantasygrounds.com/forums/showthread.php?58962-PFRPG-Spellbook).
Spell actions replacement occurs automatically when the NPC is added to the combat tracker.
+Spells whose names include `[LOCK]`, `(Mythic)`, or any parenthetical starting with `Mythic` -- such as `(Mythic Augmented 3rd)` -- will have their spell data left as-is.
To update a spell with the latest improvements from [PFRPG - Spellbook](https://www.fantasygrounds.com/forums/showthread.php?58962-PFRPG-Spellbook), right-click the spell and click "reparse".
The spell will be deleted and re-added with the latest information.
diff --git a/extension.xml b/extension.xml
index d8b04c0..857fdb4 100644
--- a/extension.xml
+++ b/extension.xml
@@ -3,7 +3,7 @@
Feature: Upgrade NPC Actions
- 1.25
+ 1.26
bmos (Wil Thieme)
This extension replaces NPC spell effects and descriptions with those from the 'PFRPG - Spellbook' module, links maladies from PFRPG - Maladies Library, and adds tooltips to the built-in conditions.
@@ -15,7 +15,7 @@
51
-
+
diff --git a/scripts/UNPC_upgradespells.lua b/scripts/UNPC_upgradespells.lua
index 63b4a37..1927ad9 100644
--- a/scripts/UNPC_upgradespells.lua
+++ b/scripts/UNPC_upgradespells.lua
@@ -135,7 +135,11 @@ local function find_spell_nodes(nodeEntry)
for _, nodeSpell in ipairs(DB.getChildList(nodeSpellLevel, 'spells')) do
--Debug.chat(type(nodeSpell))
if DB.getType(nodeSpell) == 'node' and type(nodeSpell) ~= 'error' then
- replace_spell_actions(nodeSpell)
+ local sSpellName = DB.getValue(nodeSpell, 'name', '')
+ if not string.find(sSpellName, '[LOCK]') and not string.match(sSpellName, '%(Mythic.*%)') then
+ replace_spell_actions(nodeSpell)
+ end
+ --Debug.console('nodeSpell', nodeSpell)
--else
--Debug.console('nodeSpell', nodeSpell)
--Debug.console('nodeSpell.getType', DB.getType(nodeSpell))