v1.1.0: committed missing code for teleportation and vertigo fix
This commit is contained in:
parent
af263d1cb2
commit
bf8e22006e
|
@ -790,7 +790,7 @@ public abstract class Char extends Actor {
|
|||
return 0;
|
||||
}
|
||||
|
||||
public void move( int step ) {
|
||||
public final void move( int step ) {
|
||||
move( step, true );
|
||||
}
|
||||
|
||||
|
|
|
@ -309,7 +309,7 @@ public class DM300 extends Mob {
|
|||
|
||||
@Override
|
||||
public void move(int step, boolean travelling) {
|
||||
super.move(step);
|
||||
super.move(step, travelling);
|
||||
|
||||
if (travelling) Camera.main.shake( supercharged ? 3 : 1, 0.25f );
|
||||
|
||||
|
|
|
@ -130,8 +130,8 @@ public class Spinner extends Mob {
|
|||
private boolean shotWebVisually = false;
|
||||
|
||||
@Override
|
||||
public void move(int step) {
|
||||
if (enemySeen && webCoolDown <= 0 && lastEnemyPos != -1){
|
||||
public void move(int step, boolean travelling) {
|
||||
if (travelling && enemySeen && webCoolDown <= 0 && lastEnemyPos != -1){
|
||||
if (webPos() != -1){
|
||||
if (sprite != null && (sprite.visible || enemy.sprite.visible)) {
|
||||
sprite.zap( webPos() );
|
||||
|
@ -141,7 +141,7 @@ public class Spinner extends Mob {
|
|||
}
|
||||
}
|
||||
}
|
||||
super.move(step);
|
||||
super.move(step, travelling);
|
||||
}
|
||||
|
||||
public int webPos(){
|
||||
|
|
Loading…
Reference in New Issue
Block a user