v0.7.5e: fixed spreading bug with wand of lightning and re-final commit
This commit is contained in:
parent
774f8db938
commit
4aa6b1788c
|
@ -14,7 +14,7 @@ allprojects {
|
|||
appName = 'Shattered Pixel Dungeon'
|
||||
appPackageName = 'com.shatteredpixel.shatteredpixeldungeon'
|
||||
|
||||
appVersionCode = 381
|
||||
appVersionCode = 382
|
||||
appVersionName = '0.7.5e'
|
||||
|
||||
appAndroidCompileSDK = 29
|
||||
|
|
|
@ -92,8 +92,6 @@ public class WandOfLightning extends DamageWand {
|
|||
}
|
||||
|
||||
private void arc( Char ch ) {
|
||||
|
||||
affected.add( ch );
|
||||
|
||||
int dist = (Dungeon.level.water[ch.pos] && !ch.flying) ? 2 : 1;
|
||||
|
||||
|
@ -128,6 +126,7 @@ public class WandOfLightning extends DamageWand {
|
|||
|
||||
Char ch = Actor.findChar( cell );
|
||||
if (ch != null) {
|
||||
affected.add( ch );
|
||||
arcs.add( new Lightning.Arc(curUser.sprite.center(), ch.sprite.center()));
|
||||
arc(ch);
|
||||
} else {
|
||||
|
|
|
@ -73,7 +73,7 @@ public class DesktopLauncher {
|
|||
try {
|
||||
Game.versionCode = Integer.parseInt(DesktopLauncher.class.getPackage().getImplementationVersion());
|
||||
} catch (NumberFormatException e) {
|
||||
Game.versionCode = 381;
|
||||
Game.versionCode = 382;
|
||||
}
|
||||
|
||||
new LwjglApplication(new ShatteredPixelDungeon(new DesktopPlatformSupport()), config);
|
||||
|
|
Loading…
Reference in New Issue
Block a user