Update BetaXIV

Fixed Bug
This commit is contained in:
LingASDJ 2022-07-28 09:25:02 +08:00
parent 0835213078
commit cc62ae4fe3
9 changed files with 31 additions and 15 deletions

View File

@ -15,7 +15,7 @@ allprojects {
appPackageName = 'com.ansdomagiclingpixeldungeon.ling' appPackageName = 'com.ansdomagiclingpixeldungeon.ling'
appVersionCode =14030 appVersionCode =14030
appVersionName = '0.6.0.0-BetaX' appVersionName = '0.6.0.0-BetaXIV'
appJavaCompatibility = JavaVersion.VERSION_1_8 appJavaCompatibility = JavaVersion.VERSION_1_8

View File

@ -2,6 +2,9 @@
items.scrolls.exotic.scrollofpolymorph.name=羊化秘卷 items.scrolls.exotic.scrollofpolymorph.name=羊化秘卷
items.scrolls.exotic.scrollofpolymorph.desc=这张秘卷富含强大的转换能力。当使用时,所有在使用者视野范围内的单位都将变形成一只魔法绵羊!\n\n这种变形过程是不可逆的但不是所有敌人都会被影响。强大的敌人将抵抗这种魔法。同时变形后目标敌人身上的物品将会消失。 items.scrolls.exotic.scrollofpolymorph.desc=这张秘卷富含强大的转换能力。当使用时,所有在使用者视野范围内的单位都将变形成一只魔法绵羊!\n\n这种变形过程是不可逆的但不是所有敌人都会被影响。强大的敌人将抵抗这种魔法。同时变形后目标敌人身上的物品将会消失。
items.stones.stoneofdeepenedsleep.name=沉睡符石
items.stones.stoneofdeepenedsleep.desc=这颗符石被扔出后会对附近睡眠中的敌人施加魔法睡眠。陷入魔法睡眠的敌人会永远沉睡下去,除非受到外界打扰。
items.scrolls.exotic.scrollofaffection.name=魅惑秘卷 items.scrolls.exotic.scrollofaffection.name=魅惑秘卷
items.scrolls.exotic.scrollofaffection.desc=阅读这张秘卷会释放出一段诱人的魔音,使所有听到它的人陷入魅惑之中。 items.scrolls.exotic.scrollofaffection.desc=阅读这张秘卷会释放出一段诱人的魔音,使所有听到它的人陷入魅惑之中。

View File

@ -218,6 +218,14 @@ windows.wndresurrect.message=死亡正在降临,所幸重生十字架正努力
windows.wndresurrect.prompt=选择一件物品 windows.wndresurrect.prompt=选择一件物品
windows.wndresurrect.confirm=保留这些物品 windows.wndresurrect.confirm=保留这些物品
journal.notes$landmark.redagron=红龙之王
items.heap.black_chest=黑金宝箱
items.heap.black_chest_desc=矮人大师留给你的宝藏,虽然矮人王国已经没落。但大师仍然相信有希望。毕竟,矮人王国并不是所有知道真相的人都不在了……
items.keys.blackkey.name=黑金钥匙
items.keys.blackkey.desc=这个钥匙是矮人大师“奖励”你的,尽管你不知道这钥匙的来源。但它确实能打开黑金宝箱!
windows.wndsadghost.rat_title=击败腐臭老鼠 windows.wndsadghost.rat_title=击败腐臭老鼠
windows.wndsadghost.gnoll_title=击败豺狼诡术师 windows.wndsadghost.gnoll_title=击败豺狼诡术师
windows.wndsadghost.crab_title=击败巨大螃蟹 windows.wndsadghost.crab_title=击败巨大螃蟹

View File

@ -30,6 +30,7 @@ import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
import com.shatteredpixel.shatteredpixeldungeon.QuickSlot; import com.shatteredpixel.shatteredpixeldungeon.QuickSlot;
import com.shatteredpixel.shatteredpixeldungeon.SPDSettings; import com.shatteredpixel.shatteredpixeldungeon.SPDSettings;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.RandomBuff;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Sanity; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Sanity;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.abilities.ArmorAbility; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.abilities.ArmorAbility;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.abilities.huntress.NaturesPower; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.abilities.huntress.NaturesPower;
@ -150,6 +151,17 @@ public enum HeroClass {
new Ankh().quantity(1).identify().collect(); new Ankh().quantity(1).identify().collect();
} }
if ( Badges.isUnlocked(Badges.Badge.NYZ_SHOP)){
Buff.affect(hero, RandomBuff.class).set( (5), 1 );
System.out.println(RandomBuff.level);
Dungeon.gold+=1200;
}
if ( Badges.isUnlocked(Badges.Badge.EXSG)){
Dungeon.gold += 1500;
new PotionOfExperience().quantity(2).identify().collect();
}
if (Dungeon.isChallenged(Challenges.PRO)){ if (Dungeon.isChallenged(Challenges.PRO)){
new FrozenCarpaccio().quantity(11).identify().collect(); new FrozenCarpaccio().quantity(11).identify().collect();

View File

@ -26,7 +26,6 @@ import com.shatteredpixel.shatteredpixeldungeon.SPDSettings;
import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon; import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet; import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
import com.shatteredpixel.shatteredpixeldungeon.windows.WndSupportPrompt;
import com.watabou.noosa.Game; import com.watabou.noosa.Game;
import com.watabou.utils.Callback; import com.watabou.utils.Callback;
@ -55,7 +54,7 @@ public class SkeletonKey extends Key {
Game.runOnRenderThread(new Callback() { Game.runOnRenderThread(new Callback() {
@Override @Override
public void call() { public void call() {
ShatteredPixelDungeon.scene().add(new WndSupportPrompt()); //ShatteredPixelDungeon.scene().add(new WndSupportPrompt());
} }
}); });
} catch (IOException e) { } catch (IOException e) {

View File

@ -30,7 +30,7 @@ public class WornShortsword extends MeleeWeapon {
image = ItemSpriteSheet.WORN_SHORTSWORD; image = ItemSpriteSheet.WORN_SHORTSWORD;
hitSound = Assets.Sounds.HIT_SLASH; hitSound = Assets.Sounds.HIT_SLASH;
hitSoundPitch = 1.1f; hitSoundPitch = 1.1f;
RCH = 3; //lots of extra reach
tier = 1; tier = 1;
bones = false; bones = false;

View File

@ -23,16 +23,13 @@ package com.shatteredpixel.shatteredpixeldungeon.scenes;
import com.shatteredpixel.shatteredpixeldungeon.Assets; import com.shatteredpixel.shatteredpixeldungeon.Assets;
import com.shatteredpixel.shatteredpixeldungeon.Badges; import com.shatteredpixel.shatteredpixeldungeon.Badges;
import com.shatteredpixel.shatteredpixeldungeon.Challenges;
import com.shatteredpixel.shatteredpixeldungeon.Chrome; import com.shatteredpixel.shatteredpixeldungeon.Chrome;
import com.shatteredpixel.shatteredpixeldungeon.GamesInProgress;
import com.shatteredpixel.shatteredpixeldungeon.Rankings; import com.shatteredpixel.shatteredpixeldungeon.Rankings;
import com.shatteredpixel.shatteredpixeldungeon.SPDSettings; import com.shatteredpixel.shatteredpixeldungeon.SPDSettings;
import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon; import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon;
import com.shatteredpixel.shatteredpixeldungeon.effects.BannerSprites; import com.shatteredpixel.shatteredpixeldungeon.effects.BannerSprites;
import com.shatteredpixel.shatteredpixeldungeon.effects.Fireball; import com.shatteredpixel.shatteredpixeldungeon.effects.Fireball;
import com.shatteredpixel.shatteredpixeldungeon.journal.Document; import com.shatteredpixel.shatteredpixeldungeon.journal.Document;
import com.shatteredpixel.shatteredpixeldungeon.messages.Languages;
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages; import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
import com.shatteredpixel.shatteredpixeldungeon.ui.Archs; import com.shatteredpixel.shatteredpixeldungeon.ui.Archs;
import com.shatteredpixel.shatteredpixeldungeon.ui.Icons; import com.shatteredpixel.shatteredpixeldungeon.ui.Icons;
@ -40,7 +37,6 @@ import com.shatteredpixel.shatteredpixeldungeon.ui.RenderedTextBlock;
import com.shatteredpixel.shatteredpixeldungeon.ui.StyledButton; import com.shatteredpixel.shatteredpixeldungeon.ui.StyledButton;
import com.shatteredpixel.shatteredpixeldungeon.windows.WndError; import com.shatteredpixel.shatteredpixeldungeon.windows.WndError;
import com.shatteredpixel.shatteredpixeldungeon.windows.WndHardNotification; import com.shatteredpixel.shatteredpixeldungeon.windows.WndHardNotification;
import com.shatteredpixel.shatteredpixeldungeon.windows.WndMessage;
import com.watabou.glwrap.Blending; import com.watabou.glwrap.Blending;
import com.watabou.noosa.Camera; import com.watabou.noosa.Camera;
import com.watabou.noosa.ColorBlock; import com.watabou.noosa.ColorBlock;
@ -49,8 +45,6 @@ import com.watabou.noosa.Image;
import com.watabou.noosa.audio.Music; import com.watabou.noosa.audio.Music;
import com.watabou.utils.FileUtils; import com.watabou.utils.FileUtils;
import java.util.ArrayList;
public class WelcomeScene extends PixelScene { public class WelcomeScene extends PixelScene {
private static final int LATEST_UPDATE = ShatteredPixelDungeon.v1_2_0; private static final int LATEST_UPDATE = ShatteredPixelDungeon.v1_2_0;
@ -136,9 +130,7 @@ public class WelcomeScene extends PixelScene {
super.onClick(); super.onClick();
if (previousVersion == 0 || SPDSettings.intro()){ if (previousVersion == 0 || SPDSettings.intro()){
SPDSettings.version(ShatteredPixelDungeon.versionCode); SPDSettings.version(ShatteredPixelDungeon.versionCode);
GamesInProgress.selectedClass = null; ShatteredPixelDungeon.switchScene(TitleScene.class);
GamesInProgress.curSlot = 1;
ShatteredPixelDungeon.switchScene(HeroSelectScene.class);
} else { } else {
updateVersion(previousVersion); updateVersion(previousVersion);
ShatteredPixelDungeon.switchScene(TitleScene.class); ShatteredPixelDungeon.switchScene(TitleScene.class);

View File

@ -215,6 +215,8 @@ public class ItemSprite extends MovieClip {
return view( ItemSpriteSheet.BONES, null ); return view( ItemSpriteSheet.BONES, null );
case REMAINS: case REMAINS:
return view( ItemSpriteSheet.REMAINS, null ); return view( ItemSpriteSheet.REMAINS, null );
case BLACK:
return view( ItemSpriteSheet.EBONY_CHEST, null );
default: default:
return view( 0, null ); return view( 0, null );
} }

View File

@ -53,7 +53,7 @@ import java.util.Locale;
public class WndHero extends WndTabbed { public class WndHero extends WndTabbed {
private static final int WIDTH = 160; private static final int WIDTH = 130;
private static final int HEIGHT = 120; private static final int HEIGHT = 120;
private StatsTab stats; private StatsTab stats;