[Regression] Breaking invisibility originating from an item with constant enchantment causes remaining effects to disappear/show incorrect information
See example for break invisibility: https://github.com/OpenMW/openmw/blob/master/apps/openmw/mwworld/worldimp.cpp#L2810
When purge effect tries to remove a magic effect from constant enchantment, it removes a next effect in list too.
I created a test plugin to modify enchantment on a Fargoth's ring.
Enchantment (constant effect):
- Invisibility
- Jump
- Light
- Reflect spells
When I equip the ring and hit someone, Invisibility and Jump effects are purged.
Note: If I replace Light for another Invisibility, only first Invisibility will be puged, leaving other three effects (Jump, Invisibility and Reflect) intact.
Fargoth's ring ID: "ring_keley"
(RM-3838 from redmine: created on 2017-04-23 by Andrei Kortunov, , closed on 2017-04-23 by Miroslav Remák)
Attachments: PurgeEffectTest.esp PurgeEffectTwoInvisTest.esp