v0.6.1: removed ethereal chains being limited on locked floors

slightly adjusted prison boss level to compensate
This commit is contained in:
Evan Debenham 2017-06-22 13:21:08 -04:00
parent 19a5f22bfe
commit a0a0a108f5
3 changed files with 1 additions and 12 deletions

View File

@ -113,16 +113,6 @@ public class EtherealChains extends Artifact {
final Ballistica chain = new Ballistica(curUser.pos, target, Ballistica.STOP_TARGET);
//chains do not go through walls on locked levels
if (curUser.buff(LockedFloor.class) != null){
for (int i : chain.subPath(1, chain.dist)){
if (Level.solid[i]){
GLog.w( Messages.get(EtherealChains.class, "locked") );
return;
}
}
}
if (Actor.findChar( chain.collisionPos ) != null){
chainEnemy( chain, curUser, Actor.findChar( chain.collisionPos ));
} else {

View File

@ -434,7 +434,7 @@ public class PrisonBossLevel extends Level {
private static final int[] MAP_MAZE =
{ W, W, W, W, W, M, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W,
W, W, W, W, e, e, e, W, W, M, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W,
e, e, e, D, e, e, e, D, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, W, W,
W, W, e, D, e, e, e, D, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, W, W,
W, W, W, W, e, e, e, W, W, W, W, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, W, W,
W, W, W, W, W, W, W, W, W, W, W, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, W, W,
W, W, W, W, W, e, W, W, W, W, W, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, e, W, W,

View File

@ -197,7 +197,6 @@ items.artifacts.etherealchains.does_nothing=That won't do anything.
items.artifacts.etherealchains.cant_pull=Your chains cannot pull that target.
items.artifacts.etherealchains.cant_reach=Your chains can't reach there.
items.artifacts.etherealchains.inside_wall=Your chains can only pull you through walls, not into them.
items.artifacts.etherealchains.locked=The chains cannot reach through walls while the floor is locked.
items.artifacts.etherealchains.nothing_to_grab=There is nothing to grab there.
items.artifacts.etherealchains.prompt=Choose a location to target.
items.artifacts.etherealchains.desc=These large yet lightweight chains glow with spiritual energy. They can be used to pull you towards terrain, or pull enemies toward you. The ethereal nature of the chains even allows them to extend through walls!