Update V0.6.4.0-Beta4
This commit is contained in:
parent
c980f30602
commit
55c461c780
|
@ -18,8 +18,8 @@ allprojects {
|
|||
appName = 'Magic Ling Pixel Dungeon'
|
||||
appPackageName = 'com.ansdomagiclingpixeldungeon.ling'
|
||||
|
||||
appVersionCode =901200
|
||||
appVersionName = '0.6.4.0-Beta3'
|
||||
appVersionCode =901300
|
||||
appVersionName = '0.6.4.0-Beta4'
|
||||
|
||||
appJavaCompatibility = JavaVersion.VERSION_11
|
||||
|
||||
|
|
|
@ -382,7 +382,7 @@ actors.buffs.frostburning.heromsg=霜火覆盖了你的全身,你冷的不行
|
|||
actors.buffs.frostburning.burnsup=%s被霜火冻成了冰块!
|
||||
actors.buffs.frostburning.ondeath=你被霜火极寒冻死了…
|
||||
actors.buffs.frostburning.rankings_desc=霜火极寒将你冻死了……
|
||||
actors.buffs.frostburning.desc=没有什么比被霜火更痛苦了。 \n\n霜火会每回合都会造成伤害直到它被液体扑灭或者自行消散,且回减缓燃烧者的移速。霜火无法用水熄灭,打碎药瓶产生的霜火也具有同样的效果。 \n\n剩余的燃烧效果时长:%s回合\n\n}相比于一般的火焰,霜火更加致命也更加危险}
|
||||
actors.buffs.frostburning.desc=没有什么比被霜火更痛苦了。 \n\n霜火会每回合都会造成伤害直到它被液体扑灭或者自行消散,且会减缓燃烧者的移速。霜火无法用水熄灭,打碎药瓶产生的霜火也具有同样的效果。 \n\n剩余的燃烧效果时长:%s回合\n\n_相比于一般的火焰,霜火更加致命也更加危险_
|
||||
|
||||
actors.buffs.halofireimblue.name=磷火审判
|
||||
actors.buffs.halofireimblue.desc=你被灌注了磷火的力量!\n\n所有物理攻击都可以使敌人磷火缠身。与此同时你对磷火,火焰完全免疫。\n\n剩余磷火审判效果时长:%s回合
|
||||
|
@ -601,11 +601,14 @@ actors.mobs.yogreal$larva.name=古神幼虫
|
|||
actors.mobs.yogreal$larva.rankings_desc=被Yog-Zot阻挡,无路可退
|
||||
actors.mobs.yogreal$larva.desc=这些古神的小小造物是一种易于制造的简陋生物。虽然单个幼虫十分脆弱,但它们能够被迅速地制造出来,并会在形成一个大数目后变得难以抵挡。\n\n_在古神周围时极大降低受到伤害_。
|
||||
actors.mobs.yogreal$yogrealripper.desc = 这种恐怖的生物是恶魔利用这里残留的众多矮人尸骸而组成的。恶魔撕裂者外观类似苍白瘦弱的矮人,具有残缺不全的躯干与尖利修长的骨爪。\n\n恶魔撕裂者难以承受沉重的打击,但它们行动迅捷并十分危险。它们能够瞬间扑过极远的距离,再用自己的骨爪刺穿目标。\n\n_在古神周围时极大降低受到伤害_。
|
||||
|
||||
actors.mobs.yogreal$yogrealripper.rankings_desc=被Yog-Zot阻挡,无路可退
|
||||
actors.mobs.yogreal$yogrealscorpio.rankings_desc=被Yog-Zot阻挡,无路可退
|
||||
actors.mobs.yogreal$yogrealsuccubus.rankings_desc=被Yog-Zot阻挡,无路可退
|
||||
actors.mobs.yogreal$yogscanround.rankings_desc=被Yog-Zot阻挡,无路可退
|
||||
actors.mobs.yogreal$yogcontinuousbeam.rankings_desc=被Yog-Zot阻挡,无路可退
|
||||
actors.mobs.yogreal$yogscanhalf.rankings_desc=被Yog-Zot阻挡,无路可退
|
||||
|
||||
actors.mobs.yogrealfirst.invuln_warn=拳头邻接古神之眼时无法受到伤害!
|
||||
actors.mobs.yogrealfirst.rankings_desc=被Yog-Zot吞噬
|
||||
actors.mobs.yogrealfirst.desc=这个拳头是古神力量的部分体现。这些拳头与古神的力量相互联系,并且当它们靠近古神之眼时会免疫所有受到的伤害。
|
||||
|
@ -1422,7 +1425,10 @@ actors.hero.hero.search=搜索
|
|||
actors.hero.hero.search_distracted=你没办法集中精力,探索周边异常费力。
|
||||
actors.hero.hero.pain_resist=疼痛使你得以抵抗睡意。
|
||||
actors.hero.hero.revive=重生十字章迸裂出苏生的能量!
|
||||
actors.hero.hero.died=你的十字架毫无用处……,你彻底死在了雪凛峡谷……
|
||||
actors.hero.hero.died=你的十字架毫无用处……,你彻底死在了这里……
|
||||
|
||||
actors.blobs.frostfire.desc=这是一团冰火混合的火焰,在这里你感受到了冰冷与炙热的交织。如果不幸引火烧身将十分的痛苦。
|
||||
|
||||
|
||||
##classes
|
||||
actors.hero.heroclass.warrior=蕾零安洁
|
||||
|
|
|
@ -550,6 +550,6 @@ ui.changelist.mlpd.vm0_6_7_x_changes.bug_06x80=1.修复灯火值不扣减的错
|
|||
|
||||
ui.changelist.mlpd.vm0_6_7_x_changes.bug_06x81=1.优化灯火体验\n其他错误修复。
|
||||
|
||||
ui.changelist.mlpd.vm0_6_7_x_changes.bug_06x82=1.修复商店抢劫的一些错误\n2.修复部分崩溃错误\n3.修复Beta2古神无限循环的错误
|
||||
ui.changelist.mlpd.vm0_6_7_x_changes.bug_06x82=1.修复商店抢劫的一些错误\n2.修复部分崩溃错误\n3.修复Beta2古神无限循环的错误\n4.修复黄金时代的一些错误\n5.修复部分徽章获取错误问题
|
||||
|
||||
//ui.changelist.mlpd.vm0_5_x_changes.xxx//
|
|
@ -142,6 +142,9 @@ public class BGMPlayer {
|
|||
case 28:
|
||||
playBGM( Assets.BGM_0, true );
|
||||
break;
|
||||
case -31:
|
||||
playBGM( Assets.SKBJY, true );
|
||||
break;
|
||||
|
||||
}
|
||||
} else {
|
||||
|
|
|
@ -1108,22 +1108,22 @@ public class Badges {
|
|||
public static void validateChampion( int challenges ) {
|
||||
if (challenges == 0) return;
|
||||
Badge badge = null;
|
||||
if (challenges >= 1 && !(Dungeon.isChallenged(PRO)) || !Statistics.happyMode) {
|
||||
if (challenges >= 1 && !(Dungeon.isChallenged(PRO)) || !Statistics.happyMode && challenges >= 1) {
|
||||
badge = Badge.CHAMPION_1X;
|
||||
}
|
||||
if (challenges >= 3 && !(Dungeon.isChallenged(PRO))|| !Statistics.happyMode){
|
||||
if (challenges >= 3 && !(Dungeon.isChallenged(PRO))|| !Statistics.happyMode && challenges >= 3){
|
||||
addGlobal(badge);
|
||||
badge = Badge.CHAMPION_2X;
|
||||
}
|
||||
if (challenges >= 6 && !(Dungeon.isChallenged(PRO))|| !Statistics.happyMode){
|
||||
if (challenges >= 6 && !(Dungeon.isChallenged(PRO))|| !Statistics.happyMode && challenges >= 6){
|
||||
addGlobal(badge);
|
||||
badge = Badge.CHAMPION_3X;
|
||||
}
|
||||
if (challenges >= 8 && !(Dungeon.isChallenged(PRO))||!Statistics.happyMode){
|
||||
if (challenges >= 8 && !(Dungeon.isChallenged(PRO))||!Statistics.happyMode && challenges >= 8){
|
||||
addGlobal(badge);
|
||||
badge = Badge.CHAMPION_4X;
|
||||
}
|
||||
if (challenges >= 10 && !(Dungeon.isChallenged(PRO))||!Statistics.happyMode){
|
||||
if (challenges >= 10 && !(Dungeon.isChallenged(PRO))||!Statistics.happyMode && challenges >= 10){
|
||||
addGlobal(badge);
|
||||
badge = Badge.CHAMPION_5X;
|
||||
}
|
||||
|
|
|
@ -606,6 +606,8 @@ public abstract class Char extends Actor {
|
|||
public float speed() {
|
||||
float speed = baseSpeed;
|
||||
|
||||
|
||||
|
||||
//提升20%移速
|
||||
MIME.GOLD_THREE getSpeed = Dungeon.hero.belongings.getItem(MIME.GOLD_THREE.class);
|
||||
if (getSpeed!=null) speed *= 1.2f;
|
||||
|
|
|
@ -1992,7 +1992,7 @@ public class Hero extends Char {
|
|||
}
|
||||
}
|
||||
|
||||
if(Statistics.fireGirlnoshopping && Dungeon.depth < 0){
|
||||
if(Dungeon.depth < 0){
|
||||
reallyDie( cause );
|
||||
GLog.n(Messages.get(this,"died"));
|
||||
} else if (ankh != null) {
|
||||
|
|
|
@ -52,10 +52,10 @@ import com.shatteredpixel.shatteredpixeldungeon.items.KingsCrown;
|
|||
import com.shatteredpixel.shatteredpixeldungeon.items.TengusMask;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.Waterskin;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.armor.ClothArmor;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.armor.LamellarArmor;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.armor.LeatherArmor;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.ChaliceOfBlood;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.CloakOfShadows;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.SandalsOfNature;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.TalismanOfForesight;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.TimekeepersHourglass;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.WraithAmulet;
|
||||
|
@ -98,6 +98,7 @@ import com.shatteredpixel.shatteredpixeldungeon.items.weapon.SpiritBow;
|
|||
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.BloodthirstyThorn;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.Dagger;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.Gloves;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.IceFishSword;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.LifeTreeSword;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.LockSword;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.MagesStaff;
|
||||
|
@ -156,8 +157,9 @@ public enum HeroClass {
|
|||
|
||||
if (Dungeon.isChallenged(Challenges.PRO)){
|
||||
new LockSword().quantity(1).identify().collect();
|
||||
new IceFishSword().quantity(1).identify().collect();
|
||||
new PotionOfInvisibility().quantity(45).identify().collect();
|
||||
new SandalsOfNature().quantity(1).identify().collect();
|
||||
//new Amulet().quantity(1).identify().collect();
|
||||
new TengusMask().quantity(1).identify().collect();
|
||||
new TimekeepersHourglass().quantity(1).identify().collect();
|
||||
|
||||
|
@ -167,6 +169,7 @@ public enum HeroClass {
|
|||
new PotionOfLightStromCloud().quantity(10).identify().collect();
|
||||
new WashCrime().quantity(1).identify().collect();
|
||||
new MagicTorch().quantity(1).identify().collect();
|
||||
new LamellarArmor().quantity(1).identify().collect();
|
||||
new PotionOfDragonKingBreath().quantity(50).identify().collect();
|
||||
|
||||
new PotionOfHealing().quantity(50).identify().collect();
|
||||
|
|
|
@ -23,7 +23,7 @@ public class DictFish extends Mob {
|
|||
{
|
||||
spriteClass = DictFishSprites.class;
|
||||
|
||||
HP = HT = 100;
|
||||
HP = HT = 200;
|
||||
defenseSkill = 4;
|
||||
|
||||
EXP = 2;
|
||||
|
@ -59,7 +59,7 @@ public class DictFish extends Mob {
|
|||
if (Random.Int(10)==4 || Statistics.sakaBackStage >= 1) {
|
||||
Buff.affect(enemy, Vulnerable.class, 6f);
|
||||
} else {
|
||||
Buff.affect( enemy, Cripple.class, 4f);
|
||||
Buff.affect( enemy, Cripple.class, 8f);
|
||||
}
|
||||
return damage;
|
||||
}
|
||||
|
@ -71,12 +71,18 @@ public class DictFish extends Mob {
|
|||
if (Statistics.sakaBackStage >= 2) {
|
||||
((AncientMysteryCityBossLevel) Dungeon.level).progress();
|
||||
}
|
||||
for (Mob boss : Dungeon.level.mobs.toArray(new Mob[0])) {
|
||||
if (boss instanceof RoomStone) {
|
||||
boss.properties.add(Property.FIERY);
|
||||
}
|
||||
}
|
||||
|
||||
super.die( cause );
|
||||
}
|
||||
|
||||
@Override
|
||||
public int damageRoll() {
|
||||
return Random.NormalIntRange( 10, 20 );
|
||||
return Random.NormalIntRange( 30, 40 );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -41,7 +41,7 @@ public class RoomStone extends Mob {
|
|||
{
|
||||
spriteClass = RoomStoneSprites.class;
|
||||
|
||||
HP = HT = 100;
|
||||
HP = HT = 300;
|
||||
defenseSkill = 16;
|
||||
|
||||
EXP = 9; //for corrupting
|
||||
|
@ -49,7 +49,7 @@ public class RoomStone extends Mob {
|
|||
|
||||
HUNTING = new Hunting();
|
||||
|
||||
baseSpeed = 1.5f;
|
||||
baseSpeed = 0.5f;
|
||||
|
||||
properties.add(Property.BOSS); //添加BOSS属性
|
||||
immunities.add(Grim.class); //添加Grim类
|
||||
|
@ -67,7 +67,7 @@ public class RoomStone extends Mob {
|
|||
|
||||
@Override
|
||||
public int damageRoll() {
|
||||
return Random.NormalIntRange( 5, 12 );
|
||||
return Random.NormalIntRange( 15, 20 );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -9,9 +9,11 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
|
|||
import com.shatteredpixel.shatteredpixeldungeon.actors.Boss;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.blobs.Blob;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.blobs.HalomethaneFire;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.blobs.FrostFire;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Cripple;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.FrostBurning;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.HalomethaneBurning;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.LockedFloor;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Mob;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.NewDM720;
|
||||
|
@ -69,7 +71,8 @@ public class SakaFishBoss extends Boss {
|
|||
HP=480;
|
||||
defenseSkill = 10;
|
||||
HT=480;
|
||||
|
||||
immunities.add(FrostBurning.class);
|
||||
immunities.add(HalomethaneBurning.class);
|
||||
properties.add(Property.ICY);
|
||||
properties.add(Property.ELECTRIC);
|
||||
properties.add(Property.FIERY);
|
||||
|
@ -141,8 +144,8 @@ public class SakaFishBoss extends Boss {
|
|||
|
||||
@Override
|
||||
public int damageRoll() {
|
||||
int min = 1;
|
||||
int max = (HP*2 <= HT) ? 12 : 8;
|
||||
int min = 20;
|
||||
int max = (HP*2 <= HT) ? 20 : 10;
|
||||
if (pumpedUp > 0) {
|
||||
pumpedUp = 0;
|
||||
return Random.NormalIntRange( min*3, max*3 );
|
||||
|
@ -291,7 +294,7 @@ public class SakaFishBoss extends Boss {
|
|||
super.notice();
|
||||
if (!BossHealthBar.isAssigned()) {
|
||||
BossHealthBar.assignBoss(this);
|
||||
Dungeon.level.seal();
|
||||
//Dungeon.level.seal();
|
||||
yell(Messages.get(this, "notice"));
|
||||
Camera.main.shake(1f,3f);
|
||||
GameScene.bossReady();
|
||||
|
@ -618,13 +621,13 @@ public class SakaFishBoss extends Boss {
|
|||
|
||||
for (Ballistica ray : aoe.outerRays){
|
||||
((MagicMissile)ch.sprite.parent.recycle( MagicMissile.class )).reset(
|
||||
MagicMissile.HALOFIRE,
|
||||
MagicMissile.FROSTFIRE,
|
||||
ch.sprite,
|
||||
ray.path.get(ray.dist),
|
||||
null
|
||||
);
|
||||
if( Dungeon.level.water[ray.path.get(ray.dist)] && Random.Int(10) == 2){
|
||||
GameScene.add(Blob.seed(ray.path.get(ray.dist), 30, HalomethaneFire.class));
|
||||
if( Dungeon.level.water[ray.path.get(ray.dist)]){
|
||||
GameScene.add(Blob.seed(ray.path.get(ray.dist), 30, FrostFire.class));
|
||||
Level.set(ray.path.get(ray.dist), Terrain.EMPTY);
|
||||
GameScene.updateMap( ray.path.get(ray.dist) );
|
||||
} else {
|
||||
|
|
|
@ -26,6 +26,7 @@ import com.shatteredpixel.shatteredpixeldungeon.effects.particles.BloodParticle;
|
|||
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.CorrosionParticle;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.ElmoParticle;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.FlameParticle;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.FrostFlameParticle;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.HalomethaneFlameParticle;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.LeafParticle;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.PurpleParticle;
|
||||
|
@ -61,6 +62,8 @@ public class MagicMissile extends Emitter {
|
|||
public static final int FROST = 1;
|
||||
public static final int FIRE = 2;
|
||||
public static final int HALOFIRE = 300;
|
||||
|
||||
public static final int FROSTFIRE = 301;
|
||||
public static final int CORROSION = 3;
|
||||
public static final int FOLIAGE = 4;
|
||||
public static final int FORCE = 5;
|
||||
|
@ -145,6 +148,10 @@ public class MagicMissile extends Emitter {
|
|||
size( 4 );
|
||||
pour( HalomethaneFlameParticle.FACTORY, 0.01f );
|
||||
break;
|
||||
case FROSTFIRE:
|
||||
size( 4 );
|
||||
pour( FrostFlameParticle.FACTORY, 0.01f );
|
||||
break;
|
||||
case CORROSION:
|
||||
size( 3 );
|
||||
pour( CorrosionParticle.MISSILE, 0.01f );
|
||||
|
|
|
@ -25,13 +25,11 @@ import com.shatteredpixel.shatteredpixeldungeon.Badges;
|
|||
import com.shatteredpixel.shatteredpixeldungeon.Challenges;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Conducts;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.GamesInProgress;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Statistics;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.scenes.AmuletScene;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.scenes.SurfaceScene;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
|
||||
import com.watabou.noosa.Game;
|
||||
|
||||
|
@ -69,13 +67,8 @@ public class Amulet extends Item {
|
|||
|
||||
super.execute( hero, action );
|
||||
|
||||
if (action.equals(AC_END) && !Dungeon.isDLC(Conducts.Conduct.BOSSRUSH)) {
|
||||
if (action.equals(AC_END) || (Dungeon.isDLC(Conducts.Conduct.BOSSRUSH) && Dungeon.depth !=27)) {
|
||||
showAmuletScene( false );
|
||||
} else {
|
||||
Badges.silentValidateHappyEnd();
|
||||
Dungeon.win(Amulet.class);
|
||||
Dungeon.deleteGame(GamesInProgress.curSlot, true);
|
||||
Game.switchScene(SurfaceScene.class);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -24,8 +24,6 @@ package com.shatteredpixel.shatteredpixeldungeon.items;
|
|||
import static com.shatteredpixel.shatteredpixeldungeon.Dungeon.level;
|
||||
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Assets;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Conducts;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Wraith;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.npcs.Shopkeeper;
|
||||
|
@ -76,7 +74,7 @@ public class Heap implements Bundlable {
|
|||
}
|
||||
|
||||
//好好好
|
||||
public Type type = Dungeon.isDLC(Conducts.Conduct.MONEYLETGO) ? Type.FOR_SALE : Type.HEAP;
|
||||
public Type type = Type.HEAP;
|
||||
|
||||
public int pos = 0;
|
||||
|
||||
|
|
|
@ -5,10 +5,9 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.LockedFloor;
|
|||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.Item;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.scenes.InterlevelScene;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
|
||||
import com.watabou.noosa.Game;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
@ -38,8 +37,7 @@ public class SakaFishSketon extends Item {
|
|||
GLog.w(Messages.get(this,"cannot_send"));
|
||||
return;
|
||||
}
|
||||
InterlevelScene.mode = InterlevelScene.Mode.RETURN;
|
||||
Game.switchScene(InterlevelScene.class);
|
||||
GameScene.show(new BackGoKey.WndSelectLevel());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package com.shatteredpixel.shatteredpixeldungeon.levels;
|
||||
|
||||
import static com.shatteredpixel.shatteredpixeldungeon.Dungeon.hero;
|
||||
import static com.shatteredpixel.shatteredpixeldungeon.levels.AncientMysteryCityBossLevel.State.END_BOSS;
|
||||
import static com.shatteredpixel.shatteredpixeldungeon.levels.AncientMysteryCityBossLevel.State.FALL_BOSS;
|
||||
import static com.shatteredpixel.shatteredpixeldungeon.levels.AncientMysteryCityBossLevel.State.ONE_BOSS;
|
||||
|
@ -21,6 +22,8 @@ import com.watabou.utils.Bundle;
|
|||
import com.watabou.utils.PathFinder;
|
||||
import com.watabou.utils.Random;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
public class AncientMysteryCityBossLevel extends Level{
|
||||
|
||||
public State pro;
|
||||
|
@ -66,6 +69,7 @@ public class AncientMysteryCityBossLevel extends Level{
|
|||
GLog.i(Messages.get(dictFish, "notice"),dictFish.name());
|
||||
GLog.n(Messages.get(roomStone, "notice"),roomStone.name());
|
||||
GLog.b(Messages.get(roomStone, "allget"),roomStone.name());
|
||||
GameScene.flash(0x8000FF00);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -78,6 +82,7 @@ public class AncientMysteryCityBossLevel extends Level{
|
|||
GLog.b(Messages.get(boss, "angry"),boss.name());
|
||||
boss.properties.remove(Char.Property.IMMOVABLE);
|
||||
pro = FALL_BOSS;
|
||||
GameScene.flash(0x80FF0000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -187,6 +192,26 @@ public class AncientMysteryCityBossLevel extends Level{
|
|||
return cell;
|
||||
}
|
||||
|
||||
private static final HashMap<Integer, Integer> MAIN_PORTAL = new HashMap<>(2);
|
||||
{
|
||||
MAIN_PORTAL.put(614,371);
|
||||
MAIN_PORTAL.put(303,573);
|
||||
}
|
||||
|
||||
private static final HashMap<Integer, Integer> IF_MAIN_PORTAL = new HashMap<>(2);
|
||||
{
|
||||
IF_MAIN_PORTAL.put(614,371);
|
||||
IF_MAIN_PORTAL.put(303,573);
|
||||
}
|
||||
|
||||
// @Override
|
||||
// public void unseal() {
|
||||
// super.unseal();
|
||||
// set( getBossDoor, Terrain.LOCKED_DOOR );
|
||||
// GameScene.updateMap( getBossDoor );
|
||||
// set( 688, Terrain.EMPTY );
|
||||
// }
|
||||
|
||||
|
||||
|
||||
private static final int getBossDoor = 688;
|
||||
|
@ -202,6 +227,20 @@ public class AncientMysteryCityBossLevel extends Level{
|
|||
if (map[getBossDoor] == Terrain.DOOR && isTrue || map[getBossDoor] == Terrain.EMBERS && isTrue) {
|
||||
progress();
|
||||
}
|
||||
|
||||
if(ch == hero){
|
||||
//指定区域
|
||||
if(MAIN_PORTAL.containsKey(ch.pos)) {
|
||||
ScrollOfTeleportation.appear(ch, IF_MAIN_PORTAL.get(ch.pos));
|
||||
//传送目标区域
|
||||
hero.interrupt();
|
||||
Dungeon.observe();
|
||||
GameScene.updateFog();
|
||||
}
|
||||
}
|
||||
|
||||
//GLog.w(String.valueOf(hero.pos));
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -687,7 +687,7 @@ public abstract class Level implements Bundlable {
|
|||
mob.pos = Dungeon.level.randomRespawnCell( mob );
|
||||
if (Dungeon.hero.isAlive() && mob.pos != -1 && PathFinder.distance[mob.pos] >= disLimit) {
|
||||
GameScene.add( mob );
|
||||
if (Statistics.amuletObtained) {
|
||||
if (Statistics.amuletObtained && Dungeon.depth>0) {
|
||||
mob.beckon( Dungeon.hero.pos );
|
||||
}
|
||||
if (!mob.buffs(ChampionEnemy.class).isEmpty() && Dungeon.isChallenged(SBSG)){
|
||||
|
|
|
@ -115,7 +115,7 @@ public class vM0_6_7_X_Changes {
|
|||
}
|
||||
|
||||
public static void add_v0_6_55_Changes( ArrayList<ChangeInfo> changeInfos ) {
|
||||
ChangeInfo changes = new ChangeInfo("v0.6.4.0-Beta2-3", true, "");
|
||||
ChangeInfo changes = new ChangeInfo("v0.6.4.0-Beta2-4", true, "");
|
||||
changes.hardlight(Window.TITLE_COLOR);
|
||||
changeInfos.add(changes);
|
||||
|
||||
|
@ -129,7 +129,7 @@ public class vM0_6_7_X_Changes {
|
|||
Image a = new SakaFishBossSprites();
|
||||
a.scale.set(PixelScene.align(0.72f));
|
||||
changes.addButton(new ChangeButton(a, "新Boss:萨卡班甲鱼",
|
||||
"远古遗迹的领袖级Boss"));
|
||||
"远古遗迹的领袖级Boss,欢迎前来挑战。"));
|
||||
|
||||
changes = new ChangeInfo("改动", false, null);
|
||||
changes.hardlight(Window.CYELLOW);
|
||||
|
|
Loading…
Reference in New Issue
Block a user