v0.9.1: fixed arcane vision stacking on itself and replacing itself

This commit is contained in:
Evan Debenham 2020-12-01 14:33:23 -05:00
parent 457b943a2e
commit f255ff070d

View File

@ -181,7 +181,7 @@ public abstract class Wand extends Item {
protected static void processSoulMark(Char target, int wandLevel, int chargesUsed){
if (Dungeon.hero.hasTalent(Talent.ARCANE_VISION)) {
int dur = 5 + 5*Dungeon.hero.pointsInTalent(Talent.ARCANE_VISION);
Buff.affect(Dungeon.hero, TalismanOfForesight.CharAwareness.class, dur).charID = target.id();
Buff.append(Dungeon.hero, TalismanOfForesight.CharAwareness.class, dur).charID = target.id();
}
if (target != Dungeon.hero &&