V0.1.0 Final Commit
Full changelist: Seeds: -Blindweed buffed, now cripples as well as blinds -Sungrass nerfed, heal scales up over time, total heal reduced by combat -Earthroot nerfed, absorb is now 50%, total shield unchanged -Icecap buffed, freeze effect now much stronger in water. Potions: -Purity buffed, immunity increased to 10 turns, clear effect radius increased -Frost buffed, freeze effect now much stronger in water. Scrolls: -Psionic blast reworked, now rarer, more risky, & much stronger. -Challenge renamed to Rage, buffed, now amoks nearby enemies Scroll of Lullaby will be buffed next patch Etc.: -Internal android packaging changed, IDs as new program. -Descriptions updated -Rough mod indicator added to rankings
This commit is contained in:
@@ -19,28 +19,11 @@ package com.shatteredpixel.shatteredpixeldungeon.actors;
|
||||
|
||||
import java.util.HashSet;
|
||||
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.*;
|
||||
import com.watabou.noosa.audio.Sample;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Assets;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.ResultDescriptions;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Amok;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Bleeding;
|
||||
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.Frost;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Invisibility;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Light;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Roots;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Shadows;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Sleep;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Speed;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Levitation;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.MindVision;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Paralysis;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Poison;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Slow;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Terror;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroSubClass;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Bestiary;
|
||||
@@ -246,8 +229,12 @@ public abstract class Char extends Actor {
|
||||
if (HP <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
Buff.detach( this, Frost.class );
|
||||
if (this.buff(Frost.class) != null){
|
||||
Buff.detach( this, Frost.class );
|
||||
if (Level.water[this.pos]) {
|
||||
Buff.prolong(this, Paralysis.class, 1f);
|
||||
}
|
||||
}
|
||||
|
||||
Class<?> srcClass = src.getClass();
|
||||
if (immunities().contains( srcClass )) {
|
||||
|
||||
@@ -36,8 +36,8 @@ public class Freezing {
|
||||
|
||||
Char ch = Actor.findChar( cell );
|
||||
if (ch != null) {
|
||||
if (Level.water[ch.pos] && !ch.flying){
|
||||
Buff.prolong(ch, Frost.class, Frost.duration(ch) * Random.Float(3.0f, 4.5f));
|
||||
if (Level.water[ch.pos]){
|
||||
Buff.prolong(ch, Frost.class, Frost.duration(ch) * Random.Float(5f, 7.5f));
|
||||
} else {
|
||||
Buff.prolong(ch, Frost.class, Frost.duration(ch) * Random.Float(1.0f, 1.5f));
|
||||
}
|
||||
|
||||
@@ -38,13 +38,10 @@ public class Frost extends FlavourBuff {
|
||||
|
||||
target.paralysed = true;
|
||||
Burning.detach( target, Burning.class );
|
||||
if (target instanceof Elemental)
|
||||
target.damage(Random.IntRange(0, 15), this);
|
||||
if (target instanceof Hero) {
|
||||
Hero hero = (Hero)target;
|
||||
Item item = hero.belongings.randomUnequipped();
|
||||
if (item instanceof MysteryMeat) {
|
||||
|
||||
item = item.detach( hero.belongings.backpack );
|
||||
FrozenCarpaccio carpaccio = new FrozenCarpaccio();
|
||||
if (!carpaccio.collect( hero.belongings.backpack )) {
|
||||
|
||||
@@ -24,7 +24,7 @@ import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator;
|
||||
|
||||
public class GasesImmunity extends FlavourBuff {
|
||||
|
||||
public static final float DURATION = 15f;
|
||||
public static final float DURATION = 10f;
|
||||
|
||||
@Override
|
||||
public int icon() {
|
||||
|
||||
@@ -25,9 +25,9 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Burning;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Frost;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.effects.Speck;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.potions.PotionOfLiquidFlame;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.ScrollOfPsionicBlast;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfFirebolt;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.enchantments.Fire;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.levels.Level;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.sprites.ElementalSprite;
|
||||
import com.watabou.utils.Random;
|
||||
|
||||
@@ -82,7 +82,10 @@ public class Elemental extends Mob {
|
||||
}
|
||||
} else {
|
||||
if (buff instanceof Frost) {
|
||||
damage( Random.NormalIntRange( 1, HT * 2 / 3 ), buff );
|
||||
if (Level.water[this.pos])
|
||||
damage(Random.NormalIntRange( HT / 2, HT ), buff);
|
||||
else
|
||||
damage( Random.NormalIntRange( 1, HT * 2 / 3 ), buff );
|
||||
}
|
||||
super.add( buff );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user