v0.3.3: added char properties, starting with IMMOVABLE implementation
This commit is contained in:
@@ -51,7 +51,7 @@ public class Fadeleaf extends Plant {
|
||||
ScrollOfTeleportation.teleportHero( (Hero)ch );
|
||||
((Hero)ch).curAction = null;
|
||||
|
||||
} else if (ch instanceof Mob) {
|
||||
} else if (ch instanceof Mob && !ch.properties().contains(Char.Property.IMMOVABLE)) {
|
||||
|
||||
int count = 10;
|
||||
int newPos;
|
||||
|
||||
Reference in New Issue
Block a user