mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Fix #7624
This commit is contained in:
parent
bb6fdc1e21
commit
2ebd544dfb
2 changed files with 0 additions and 4 deletions
|
@ -843,9 +843,6 @@ namespace MWLua
|
||||||
|
|
||||||
auto& activeSpells = ptr.getClass().getCreatureStats(ptr).getActiveSpells();
|
auto& activeSpells = ptr.getClass().getCreatureStats(ptr).getActiveSpells();
|
||||||
activeSpells.purgeEffect(ptr, key.mId, key.mArg);
|
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)
|
// types.Actor.activeEffects(o):set(value, id, ?arg)
|
||||||
|
|
|
@ -227,7 +227,6 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
-- Completely removes the active effect from the actor.
|
-- 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
|
-- @function [parent=#ActorActiveEffects] remove
|
||||||
-- @param self
|
-- @param self
|
||||||
-- @param #string effectId effect ID
|
-- @param #string effectId effect ID
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue