v0.3.0: reworked lightning effect and wand of lightning
This commit is contained in:
@@ -51,9 +51,8 @@ public class Potential extends Glyph {
|
||||
if (defender == Dungeon.hero) {
|
||||
Camera.main.shake( 2, 0.3f );
|
||||
}
|
||||
|
||||
int[] points = {attacker.pos, defender.pos};
|
||||
attacker.sprite.parent.add( new Lightning( points, 2, null ) );
|
||||
|
||||
attacker.sprite.parent.add( new Lightning( attacker.pos, defender.pos, null ) );
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user