v0.3.3: added char properties, starting with IMMOVABLE implementation
This commit is contained in:
@@ -241,9 +241,7 @@ public class LloydsBeacon extends Artifact {
|
||||
|
||||
GLog.w(ScrollOfTeleportation.TXT_NO_TELEPORT);
|
||||
|
||||
//FIXME: sloppy, fix when adding mob properties
|
||||
} else if (ch instanceof RotLasher || ch instanceof RotHeart
|
||||
|| ch instanceof Shopkeeper || ch instanceof Wandmaker) {
|
||||
} else if (ch.properties().contains(Char.Property.IMMOVABLE)) {
|
||||
|
||||
GLog.w("The teleportation magic fails.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user