Update Beta21-P3-Pre4.1

This commit is contained in:
LingASDJ 2023-02-10 22:29:55 +08:00
parent 662f7452d7
commit c27de43ece
10 changed files with 41 additions and 22 deletions

View File

@ -4,7 +4,7 @@
[![](https://img.shields.io/badge/join-QQ%20group-brightgreen?logo=tencentqq)](https://jq.qq.com/?_wv=1027&k=R7ZXeEQM)
**ROGUELIKE RPG**, completely randomly generated dungeons! Based on [**Shattered Pixel Dungeon**](https://github.com/00-Evan/shattered-pixel-dungeon)'s open source.
**ROGUELIKE RPG**, completely randomly generated dungeons! Based on [**Shattered Pixel Dungeon**](https://github.com/00-Evan/shattered-pixel-dungeon)'s open source.a
## Producers

View File

@ -17,7 +17,7 @@ allprojects {
appPackageName = 'com.ansdomagiclingpixeldungeon.ling'
appVersionCode =700925
appVersionName = '0.6.0.0-Beta21-p3-PreTest2'
appVersionName = '0.6.0.0-Beta21-p3-PreTest4.1'
appJavaCompatibility = JavaVersion.VERSION_1_8

View File

@ -12,7 +12,7 @@ actors.mobs.bosses.crivusfruits$diedblobs.desc=一团红色的毒雾从克里弗
actors.mobs.bosses.crivusfruits$diedblobs.csed=果实爆开后迸射出一些气味清新的红色气体,用来做空气清新剂似乎挺不错的。
actors.mobs.bosses.crivusfruitslasher.name=魔化藤
actors.mobs.bosses.crivusfruitslasher.desc=藤蔓没有智慧,它们的存在价值就是保护果实。不论是不小心靠近果实的“小动物”,还是企图清理枯藤更进一步的冒险者,都被这些藤蔓绞死成孕育果实的肥料了。
actors.mobs.bosses.crivusfruitslasher.desc=藤蔓没有智慧,它们的存在价值就是保护果实。不论是不小心靠近果实的“小动物”,还是企图清理枯藤更进一步的冒险者,都被这些藤蔓绞死成孕育果实的肥料了。\n\n受到来自英雄伤害时将给予英雄4点物理伤害如果护甲等级大于等于3则没有反伤。
###SPD1.3

View File

@ -3,7 +3,7 @@ items.weapon.melee.lifetreesword.name=“倒悬的生命树”
items.weapon.melee.lifetreesword.desc=克里弗斯之果破碎时,四周的藤蔓缠结在暴露出的种子上,形成剑的形状。剑身触碰到生物时会汲取他们的生命力提供给种子,期待着它再一结出猩红的果实。\n\n特别说明克里弗斯之果Boss专武每击杀_100只怪物_掉落一颗克里弗斯幼果,并重置杀敌计数。\n\n杀敌数:
items.food.crivusfruitsfood.name=克里弗斯幼果
items.food.crivusfruitsfood.desc=从“倒悬的生命树”中脱落的水果,看起来非常的香甜可口
items.food.crivusfruitsfood.desc=从“倒悬的生命树”中掉落的果实,吃上去有丝丝血腥味
items.food.crivusfruitsfood.eat_msg2=你感觉味道十分不错,香甜可口,回味无穷……
items.quest.crivusfruitsflake.name=赤果碎片

View File

@ -252,8 +252,8 @@ public enum HeroClass {
hero.STR = 27;
hero.lvl = 30;
hero.exp = -123456789;
hero.HP = 123456789;
hero.HT = 123456789;
hero.HP = 10;
hero.HT = 10;
}
hero.heroClass = this;

View File

@ -35,8 +35,6 @@ import com.watabou.utils.Random;
public class BrownBat extends Mob {
private Object var3;
private Object var2;
{
spriteClass = BatSprite.BatEDSprite.class;
@ -59,7 +57,6 @@ public class BrownBat extends Mob {
super.die(cause);
if (Random.Int(3) == 0) {
var3 = var2 ;
AlarmTrap var4 = new AlarmTrap();
var4.pos = super.pos;
var4.activate();

View File

@ -111,7 +111,7 @@ public class CrivusFruits extends Mob {
if(!crivusfruitslevel2){
GameScene.add(Blob.seed(pos, HP<65 ? 50 : 30, DiedBlobs.class));
} else {
GameScene.add(Blob.seed(pos, HP<36 ? 100 : 50, DiedBlobs.class));
GameScene.add(Blob.seed(pos, HP<36 ? 150 : 50, DiedBlobs.class));
}
@ -178,7 +178,7 @@ public class CrivusFruits extends Mob {
protected void evolve() {
super.evolve();
int damage = 4;
int damage = 6;
Char ch;
int cell;

View File

@ -1,5 +1,7 @@
package com.shatteredpixel.shatteredpixeldungeon.actors.mobs.bosses;
import static com.shatteredpixel.shatteredpixeldungeon.Dungeon.hero;
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
import com.shatteredpixel.shatteredpixeldungeon.Statistics;
import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
@ -10,9 +12,12 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Burning;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Cripple;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.HalomethaneBurning;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Mob;
import com.shatteredpixel.shatteredpixeldungeon.items.Generator;
import com.shatteredpixel.shatteredpixeldungeon.items.bombs.Bomb;
import com.shatteredpixel.shatteredpixeldungeon.items.potions.Potion;
import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.ScrollOfTeleportation;
import com.shatteredpixel.shatteredpixeldungeon.items.wands.Wand;
import com.shatteredpixel.shatteredpixeldungeon.levels.ForestBossLevel;
import com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene;
import com.shatteredpixel.shatteredpixeldungeon.sprites.CharSprite;
@ -24,13 +29,13 @@ public class CrivusFruitsLasher extends Mob {
{
spriteClass = RotLasherSprite.class;
HP = HT = Statistics.crivusfruitslevel2 ? 20 : 15;
HP = HT = Statistics.crivusfruitslevel2 ? 30 : 15;
defenseSkill = 0;
EXP = 1;
loot = Generator.Category.SEED;
lootChance = 0.35f;
// loot = Generator.Category.SEED;
// lootChance = 0.35f;
state = WANDERING = new Waiting();
@ -44,7 +49,7 @@ public class CrivusFruitsLasher extends Mob {
GameScene.add(Blob.seed(pos, Statistics.crivusfruitslevel2 ? 60 : 10, ToxicGas.class));
//无敌也要扣减本体 NND
if(Dungeon.hero.buff(CrivusFruits.DiedDamager.class) == null){
if(hero.buff(CrivusFruits.DiedDamager.class) == null){
Buff.affect(this,CrivusFruits.DiedDamager.class);
}
@ -142,7 +147,7 @@ public class CrivusFruitsLasher extends Mob {
}
if(this.HT!=HP && !Statistics.crivusfruitslevel2) {
if(this.HT!=HP ) {
HP = Math.min(HT, HP + 1);
this.sprite.showStatus(CharSprite.POSITIVE, "+2");
}
@ -152,8 +157,22 @@ public class CrivusFruitsLasher extends Mob {
@Override
public void damage(int dmg, Object src) {
int damage = 4;
if (src instanceof Burning && ! Statistics.crivusfruitslevel2) {
//一阶段如果触手着火会给予它100回合磷火燃烧永久燃烧
Buff.affect( this, HalomethaneBurning.class ).reignite( this, 100f );
} else if (src instanceof Hero || src instanceof Wand || src instanceof Potion || src instanceof Bomb){
//反伤物理伤害4点,护甲超过+3就不再反伤
if(hero.belongings.armor != null){
if(hero.belongings.armor.level < 3){
damage -= hero.drRoll();
hero.damage(damage, this);
}
} else {
damage -= hero.drRoll();
hero.damage(damage, this);
}
super.damage(dmg, src);
} else {
super.damage(dmg, src);
}

View File

@ -22,6 +22,7 @@
package com.shatteredpixel.shatteredpixeldungeon.items.bags;
import com.shatteredpixel.shatteredpixeldungeon.items.Item;
import com.shatteredpixel.shatteredpixeldungeon.items.quest.CrivusFruitsFlake;
import com.shatteredpixel.shatteredpixeldungeon.items.quest.GooBlob;
import com.shatteredpixel.shatteredpixeldungeon.items.quest.MetalShard;
import com.shatteredpixel.shatteredpixeldungeon.items.stones.Runestone;
@ -37,7 +38,7 @@ public class VelvetPouch extends Bag {
@Override
public boolean canHold( Item item ) {
if (item instanceof Plant.Seed || item instanceof Runestone
|| item instanceof GooBlob || item instanceof MetalShard){
|| item instanceof GooBlob || item instanceof MetalShard || item instanceof CrivusFruitsFlake){
return super.canHold(item);
} else {
return false;

View File

@ -41,10 +41,12 @@ public class LifeTreeSword extends MeleeWeapon {
}
public int proc(Char attacker, Char defender, int damage ) {
if (defender.HP <= damage && getFood < 99){
//判定为死亡
getFood+=111;
} else {
if (defender.HP <= damage) {
getFood += 1;
}
if (defender.HP <= damage && getFood > 99){
Dungeon.level.drop( new CrivusFruitsFood(), defender.pos ).sprite.drop();
getFood=0;
}