v1.1.0: fixed darts not updating crossbow before throwPos was calculated
This commit is contained in:
parent
ba2e282308
commit
f56e1cf498
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user