v2.4.0: fixed seer shot not working in alternate branches

This commit is contained in:
Evan Debenham
2024-05-02 16:56:13 -04:00
parent 464061607d
commit dc61994f19

View File

@@ -456,6 +456,7 @@ public class SpiritBow extends Weapon {
if (Actor.findChar(shotPos) == null) {
RevealedArea a = Buff.affect(user, RevealedArea.class, 5 * user.pointsInTalent(Talent.SEER_SHOT));
a.depth = Dungeon.depth;
a.branch = Dungeon.branch;
a.pos = shotPos;
Buff.affect(user, Talent.SeerShotCooldown.class, 20f);
}