v0.3.0: reworked lightning effect and wand of lightning

This commit is contained in:
Evan Debenham
2015-05-01 07:46:14 -04:00
parent a46cfbac80
commit 4b680c93ad
6 changed files with 149 additions and 150 deletions
@@ -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 ) );
}