Merge branch 'mediumpurged' into 'master'

Fix #7624

Closes #7624

See merge request OpenMW/openmw!3495
macos_ci_fix
psi29a 1 year ago
commit fa9e39c927

@ -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)

@ -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

Loading…
Cancel
Save