mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-30 12:32:36 +00:00
Merge branch 'mediumpurged' into 'master'
Fix #7624 Closes #7624 See merge request OpenMW/openmw!3495
This commit is contained in:
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…
x
Reference in New Issue
Block a user