v1.1.0: fixed darts not updating crossbow before throwPos was calculated
This commit is contained in:
parent
ba2e282308
commit
f56e1cf498
|
@ -127,6 +127,12 @@ public class Dart extends MissileWeapon {
|
||||||
return super.proc(attacker, defender, damage);
|
return super.proc(attacker, defender, damage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int throwPos(Hero user, int dst) {
|
||||||
|
updateCrossbow();
|
||||||
|
return super.throwPos(user, dst);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onThrow(int cell) {
|
protected void onThrow(int cell) {
|
||||||
updateCrossbow();
|
updateCrossbow();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user