From c949735915d02f5689eea8b68bdd6693722d8a87 Mon Sep 17 00:00:00 2001 From: blagish Date: Sat, 10 Oct 2026 13:29:20 +0400 Subject: [PATCH] Spellcasting interface version bump --- files/data/scripts/omw/spellcasting/interface_global.lua | 2 +- files/data/scripts/omw/spellcasting/interface_local.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/data/scripts/omw/spellcasting/interface_global.lua b/files/data/scripts/omw/spellcasting/interface_global.lua index 1a6aadd317..eaa01aeb0c 100644 --- a/files/data/scripts/omw/spellcasting/interface_global.lua +++ b/files/data/scripts/omw/spellcasting/interface_global.lua @@ -4,7 +4,7 @@ local I = require('openmw.interfaces') return { interfaceName = 'SpellCasting', interface = { - version = 0, + version = 1, explodeSpell = function(spellcast, options) end, inflict = function(spellcast, target, range) end, }, diff --git a/files/data/scripts/omw/spellcasting/interface_local.lua b/files/data/scripts/omw/spellcasting/interface_local.lua index 28a1cb113b..2b7a880a38 100644 --- a/files/data/scripts/omw/spellcasting/interface_local.lua +++ b/files/data/scripts/omw/spellcasting/interface_local.lua @@ -21,7 +21,7 @@ return { interface = { --- Interface version -- @field [parent=#SpellCasting] #number version - version = 0, + version = 1, --- (Local only) Apply new magic effects on this actor. -- Invokes handlers added via addApplyMagicEffectHandler. The default handler adds effects as a new active spell using Actor.activeSpells(self):add(options),