v0.3.3: added char properties, starting with IMMOVABLE implementation
This commit is contained in:
@@ -82,7 +82,7 @@ public class Guard extends Mob {
|
||||
}
|
||||
|
||||
private boolean chain(int target){
|
||||
if (chainsUsed)
|
||||
if (chainsUsed || enemy.properties().contains(Property.IMMOVABLE))
|
||||
return false;
|
||||
|
||||
Ballistica chain = new Ballistica(pos, target, Ballistica.PROJECTILE);
|
||||
|
||||
Reference in New Issue
Block a user