1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 03:32:36 +00:00

Merge branch 'mediumpurged' into 'master'

Fix #7624

Closes #7624

See merge request OpenMW/openmw!3495
This commit is contained in:
psi29a 2023-10-15 11:41:20 +00:00
commit fa9e39c927
2 changed files with 0 additions and 4 deletions

View File

@ -843,9 +843,6 @@ namespace MWLua
auto& activeSpells = ptr.getClass().getCreatureStats(ptr).getActiveSpells();
activeSpells.purgeEffect(ptr, key.mId, key.mArg);
// Now remove any leftover effects that have been added by script/console.
effects.getStore()->remove(key);
};
// types.Actor.activeEffects(o):set(value, id, ?arg)

View File

@ -227,7 +227,6 @@
---
-- Completely removes the active effect from the actor.
-- This removes both the effects incurred by active spells and effect added by console, mwscript, or luascript.
-- @function [parent=#ActorActiveEffects] remove
-- @param self
-- @param #string effectId effect ID