v0.9.4: rooted characters are now immune to knockback effects
This commit is contained in:
parent
20226d2946
commit
cdcd6351f5
|
@ -125,7 +125,9 @@ public class WandOfBlastWave extends DamageWand {
|
|||
|
||||
boolean collided = dist == trajectory.dist;
|
||||
|
||||
if (dist == 0 || ch.properties().contains(Char.Property.IMMOVABLE)) return;
|
||||
if (dist == 0
|
||||
|| ch.rooted
|
||||
|| ch.properties().contains(Char.Property.IMMOVABLE)) return;
|
||||
|
||||
//large characters cannot be moved into non-open space
|
||||
if (Char.hasProp(ch, Char.Property.LARGE)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user