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