v0.3.0: corrected mistake, disintegration is still using death ray
This commit is contained in:
parent
6bda20b7b7
commit
e6e380252d
|
@ -113,7 +113,7 @@ public class WandOfDisintegration extends Wand {
|
||||||
protected void fx( Ballistica beam, Callback callback ) {
|
protected void fx( Ballistica beam, Callback callback ) {
|
||||||
|
|
||||||
int cell = beam.path.get(Math.min(beam.dist, distance()));
|
int cell = beam.path.get(Math.min(beam.dist, distance()));
|
||||||
curUser.sprite.parent.add(new Beam.LightRay(curUser.sprite.center(), DungeonTilemap.tileCenterToWorld( cell )));
|
curUser.sprite.parent.add(new Beam.DeathRay(curUser.sprite.center(), DungeonTilemap.tileCenterToWorld( cell )));
|
||||||
callback.call();
|
callback.call();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user