v1.2.0: balance changes to exotic potions and scrolls
This commit is contained in:
parent
946f17a09a
commit
110eaf8222
|
@ -148,7 +148,7 @@ actors.buffs.doom.name=Doomed
|
||||||
actors.buffs.doom.desc=It's hard to keep going when it seems like the universe wants you dead.\n\nDoomed characters will receive double damage from all sources.\n\nDoom is permanent, its effects only end in death.
|
actors.buffs.doom.desc=It's hard to keep going when it seems like the universe wants you dead.\n\nDoomed characters will receive double damage from all sources.\n\nDoom is permanent, its effects only end in death.
|
||||||
|
|
||||||
actors.buffs.dread.name=Dread
|
actors.buffs.dread.name=Dread
|
||||||
actors.buffs.dread.desc=A terror so great that it will cause its target to flee the dungeon entirely!\n\nCreatures affected by dread will run from their opponent at high speed, and will disappear from the dungeon entirely once they are out of sight. Enemies that are disposed of this way will not award any items or experience. The shock of pain will lessen the duration of dread.\n\nTurns of dread remaining: %d.
|
actors.buffs.dread.desc=A terror so great that it will cause its target to flee the dungeon entirely!\n\nCreatures affected by dread will run from their opponent at high speed, and will disappear from the dungeon entirely once they are out of sight. Enemies that are defeated this way award half experience and drop no items. The shock of pain will lessen the duration of dread.\n\nTurns of dread remaining: %d.
|
||||||
|
|
||||||
actors.buffs.drowsy.name=Drowsy
|
actors.buffs.drowsy.name=Drowsy
|
||||||
actors.buffs.drowsy.desc=A magical force is making it difficult to stay awake.\n\nThe hero can resist drowsiness by taking damage or by being at full health.\n\nAfter a few turns, the target will fall into a deep magical sleep.
|
actors.buffs.drowsy.desc=A magical force is making it difficult to stay awake.\n\nThe hero can resist drowsiness by taking damage or by being at full health.\n\nAfter a few turns, the target will fall into a deep magical sleep.
|
||||||
|
|
|
@ -24,6 +24,7 @@ package com.shatteredpixel.shatteredpixeldungeon.actors.buffs;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Mob;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator;
|
import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator;
|
||||||
import com.watabou.noosa.Image;
|
import com.watabou.noosa.Image;
|
||||||
|
@ -61,7 +62,10 @@ public class Dread extends Buff {
|
||||||
|
|
||||||
if (!Dungeon.level.heroFOV[target.pos]
|
if (!Dungeon.level.heroFOV[target.pos]
|
||||||
&& Dungeon.level.distance(target.pos, Dungeon.hero.pos) >= 6) {
|
&& Dungeon.level.distance(target.pos, Dungeon.hero.pos) >= 6) {
|
||||||
Actor.remove( target );
|
if (target instanceof Mob){
|
||||||
|
((Mob) target).EXP /= 2;
|
||||||
|
}
|
||||||
|
target.destroy();
|
||||||
target.sprite.killAndErase();
|
target.sprite.killAndErase();
|
||||||
Dungeon.level.mobs.remove(target);
|
Dungeon.level.mobs.remove(target);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -28,7 +28,7 @@ import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator;
|
||||||
|
|
||||||
public class Foresight extends FlavourBuff {
|
public class Foresight extends FlavourBuff {
|
||||||
|
|
||||||
public static final float DURATION = 250f;
|
public static final float DURATION = 400f;
|
||||||
|
|
||||||
public static final int DISTANCE = 8;
|
public static final int DISTANCE = 8;
|
||||||
|
|
||||||
|
|
|
@ -47,12 +47,12 @@ public class PotionOfShroudingFog extends ExoticPotion {
|
||||||
Sample.INSTANCE.play( Assets.Sounds.GAS );
|
Sample.INSTANCE.play( Assets.Sounds.GAS );
|
||||||
}
|
}
|
||||||
|
|
||||||
int centerVolume = 120;
|
int centerVolume = 180;
|
||||||
for (int i : PathFinder.NEIGHBOURS8){
|
for (int i : PathFinder.NEIGHBOURS8){
|
||||||
if (!Dungeon.level.solid[cell+i]){
|
if (!Dungeon.level.solid[cell+i]){
|
||||||
GameScene.add( Blob.seed( cell+i, 120, SmokeScreen.class ) );
|
GameScene.add( Blob.seed( cell+i, 180, SmokeScreen.class ) );
|
||||||
} else {
|
} else {
|
||||||
centerVolume += 120;
|
centerVolume += 180;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user