1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-18 13:20:47 +00:00
This commit is contained in:
Evil Eye 2023-10-14 14:18:50 +02:00
parent bb6fdc1e21
commit 2ebd544dfb
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