v0.9.1: fixed arcane vision stacking on itself and replacing itself
This commit is contained in:
parent
457b943a2e
commit
f255ff070d
|
@ -181,7 +181,7 @@ public abstract class Wand extends Item {
|
||||||
protected static void processSoulMark(Char target, int wandLevel, int chargesUsed){
|
protected static void processSoulMark(Char target, int wandLevel, int chargesUsed){
|
||||||
if (Dungeon.hero.hasTalent(Talent.ARCANE_VISION)) {
|
if (Dungeon.hero.hasTalent(Talent.ARCANE_VISION)) {
|
||||||
int dur = 5 + 5*Dungeon.hero.pointsInTalent(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 &&
|
if (target != Dungeon.hero &&
|
||||||
|
|
Loading…
Reference in New Issue
Block a user