v0.9.4: fixed magical sight incorrectly scaling with sniper

This commit is contained in:
Evan Debenham 2021-07-12 12:32:15 -04:00
parent 62e742dc53
commit 967a7f89c9

View File

@ -1091,9 +1091,7 @@ public abstract class Level implements Bundlable {
}
if (c.buff(MagicalSight.class) != null){
sense = 8;
}
if (((Hero)c).subClass == HeroSubClass.SNIPER){
sense *= 1.5f;
sense *= 1f + 0.25f*((Hero) c).pointsInTalent(Talent.FARSIGHT);
}
}