Fixed 0.6.1.0 Less Bug
This commit is contained in:
parent
f943f39427
commit
9da5a29e49
|
@ -17,8 +17,8 @@ allprojects {
|
|||
appName = 'Magic Ling Pixel Dungeon'
|
||||
appPackageName = 'com.ansdomagiclingpixeldungeon.ling'
|
||||
|
||||
appVersionCode =800850
|
||||
appVersionName = '0.6.1.0-Beta5(P3)'
|
||||
appVersionCode =800852
|
||||
appVersionName = '0.6.1.0-Beta5.25(P3)'
|
||||
|
||||
appJavaCompatibility = JavaVersion.VERSION_1_8
|
||||
|
||||
|
|
|
@ -268,7 +268,6 @@ public class CrivusFruits extends Mob {
|
|||
}
|
||||
|
||||
if (Dungeon.isDLC(Conducts.Conduct.BOSSRUSH)) {
|
||||
|
||||
GetBossLoot();
|
||||
}
|
||||
|
||||
|
|
|
@ -248,11 +248,15 @@ public class BloodthirstyThorn extends MeleeWeapon {
|
|||
Buff.affect(attacker, Bleeding.class).set(7);
|
||||
} else if (level() >= 10) {
|
||||
//吸血为每次伤害/5 例如=50/5=10 Math.min()不超出。
|
||||
attacker.HP += Math.min( attacker.HT, damage/5);
|
||||
hero.sprite.showStatus(CharSprite.POSITIVE, ("+" +Math.min( attacker.HT, damage/5) + "HP"));
|
||||
} else {
|
||||
getHerodamageHp(hero);
|
||||
Buff.affect(attacker, Bleeding.class).set(7);
|
||||
|
||||
int healAmt = Math.min( attacker.HT, damage/5);
|
||||
healAmt = Math.min( healAmt, attacker.HT - attacker.HP );
|
||||
|
||||
if (healAmt > 0 && attacker.isAlive()) {
|
||||
attacker.HP += healAmt;
|
||||
hero.sprite.showStatus(CharSprite.POSITIVE, ("+" +Math.min( attacker.HT, damage/5) + "HP"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//恐惧和流血
|
||||
|
|
|
@ -142,13 +142,13 @@ public class MagicTorch extends MeleeWeapon {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
MagicTorch item = Dungeon.hero.belongings.getItem(MagicTorch.class);
|
||||
@Override
|
||||
public boolean act() {
|
||||
if (target.isAlive()) {
|
||||
|
||||
spend(interval);
|
||||
if (level <= 0) {
|
||||
if (level <= 0 || hero.belongings.weapon != item) {
|
||||
detach();
|
||||
}
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ public class vM0_6_7_X_Changes {
|
|||
Image issxsaxs =new DimandKingSprite();
|
||||
issxsaxs.scale.set(PixelScene.align(0.8f));
|
||||
changes.addButton(new ChangeButton(issxsaxs,("关于宝箱之王?"),
|
||||
("将在下个版本Beta5.2进行测试更新,请做好战斗准备!")));
|
||||
("将在下个版本Beta5.3进行测试更新,请做好战斗准备!")));
|
||||
|
||||
changes.addButton(new ChangeButton(new PinkLingSprite(), ("狩猎系统1.0"),
|
||||
("击败两次宝箱之王后解锁狩猎系统,神秘NPC会入驻0层。并派发狩猎任务。")));
|
||||
|
|
Loading…
Reference in New Issue
Block a user