v1.1.0: fixed darts not updating crossbow before throwPos was calculated

This commit is contained in:
Evan Debenham 2021-11-12 12:04:22 -05:00
parent ba2e282308
commit f56e1cf498

View File

@ -126,7 +126,13 @@ public class Dart extends MissileWeapon {
return super.proc(attacker, defender, damage);
}
@Override
public int throwPos(Hero user, int dst) {
updateCrossbow();
return super.throwPos(user, dst);
}
@Override
protected void onThrow(int cell) {
updateCrossbow();