v0.7.1a: bugfixes:

- fixed a crash when sniper's mark would fail to auto-target
- fixed some oddness with new time fixing logic (was affecting chasms)
- corrected a changelog typo
This commit is contained in:
Evan Debenham 2018-12-20 00:25:26 -05:00
parent 227013177d
commit 51be374f75
3 changed files with 7 additions and 4 deletions

View File

@ -159,9 +159,9 @@ public abstract class Actor implements Bundlable {
} }
if (Dungeon.hero != null && all.contains( Dungeon.hero )) { if (Dungeon.hero != null && all.contains( Dungeon.hero )) {
Statistics.duration += (int)now; Statistics.duration += min;
} }
now = now % 1; now -= min;
} }
public static void init() { public static void init() {

View File

@ -101,9 +101,12 @@ public class SnipersMark extends FlavourBuff implements ActionIndicator.Action {
Char ch = (Char) Actor.findById(object); Char ch = (Char) Actor.findById(object);
if (ch == null) return; if (ch == null) return;
int cell = QuickSlotButton.autoAim(ch, arrow);
if (cell == -1) return;
bow.sniperSpecial = true; bow.sniperSpecial = true;
arrow.cast(hero, QuickSlotButton.autoAim(ch, arrow)); arrow.cast(hero, cell);
detach(); detach();
} }

View File

@ -235,7 +235,7 @@ public class ChangesScene extends PixelScene {
changes.addButton( new ChangeButton( new ItemSprite(ItemSpriteSheet.RING_RUBY, null), new RingOfFuror().trueName(), changes.addButton( new ChangeButton( new ItemSprite(ItemSpriteSheet.RING_RUBY, null), new RingOfFuror().trueName(),
"Ring of furor has been nerfed/simplified:\n\n" + "Ring of furor has been nerfed/simplified:\n\n" +
"_-_ Now provides a flat +10.5% attack speed per level, instead of speed with scales based on how slow the weapon is.\n\n" + "_-_ Now provides a flat +10.5% attack speed per level, instead of speed which scales based on how slow the weapon is.\n\n" +
"This means the ring is effectively nerfed for slow weapons and regular weapons, and slightly buffed for fast weapons.\n\n" + "This means the ring is effectively nerfed for slow weapons and regular weapons, and slightly buffed for fast weapons.\n\n" +
"A +6 ring grants almost exactly doubled attack speed.")); "A +6 ring grants almost exactly doubled attack speed."));