Saving against an Effect removes existing one.
Posted: Sun Apr 13, 2014 4:18 am
If you currently have a status effect, and then you save against that same status effect being applied (through saves, not resists), you lose the original status effect.
I tested this by going up to a troll, setting it to be stunned for 10000 turns. Then I changed it's physical save to 100 and hit it with Stunning Blow. It was no longer stunned.
Not really sure if this is a bug or intended behavior. I really don't like it, though.
The fix seems really simple: In engine/interface/ActorTemporaryEffects, on line 110, change:to
I tested this briefly, and it worked just fine.
I tested this by going up to a troll, setting it to be stunned for 10000 turns. Then I changed it's physical save to 100 and hit it with Stunning Blow. It was no longer stunned.
Not really sure if this is a bug or intended behavior. I really don't like it, though.
The fix seems really simple: In engine/interface/ActorTemporaryEffects, on line 110, change:
Code: Select all
if p.dur <= 0 then return self:removeEffect(eff_id) endCode: Select all
if p.dur <= 0 then return end