v2.5.0: fixed self-throwing aqua brew always going up-left
This commit is contained in:
+5
-3
@@ -41,9 +41,11 @@ public class AquaBrew extends Brew {
|
|||||||
geyser.source = this;
|
geyser.source = this;
|
||||||
|
|
||||||
int userPos = curUser.pos;
|
int userPos = curUser.pos;
|
||||||
Ballistica aim = new Ballistica(userPos, cell, Ballistica.STOP_TARGET);
|
if (userPos != cell){
|
||||||
if (aim.path.size() > aim.dist+1) {
|
Ballistica aim = new Ballistica(userPos, cell, Ballistica.STOP_TARGET);
|
||||||
geyser.centerKnockBackDirection = aim.path.get(aim.dist + 1);
|
if (aim.path.size() > aim.dist+1) {
|
||||||
|
geyser.centerKnockBackDirection = aim.path.get(aim.dist + 1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
geyser.activate();
|
geyser.activate();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user