v0.8.1: Slight adjustments to Yog Dzewa:
- Bright and dark fist damage down to 10-20 from 12-24 - Yog laser damage down to 20-30 from 20-35 - Burning fist now evaporates slightly more adjacent water tiles
This commit is contained in:
parent
fa4d0e908d
commit
de1c3518ae
|
@ -161,7 +161,7 @@ public class YogDzewa extends Mob {
|
||||||
Dungeon.observe();
|
Dungeon.observe();
|
||||||
}
|
}
|
||||||
for (Char ch : affected) {
|
for (Char ch : affected) {
|
||||||
ch.damage(Random.NormalIntRange(20, 35), new Eye.DeathGaze());
|
ch.damage(Random.NormalIntRange(20, 30), new Eye.DeathGaze());
|
||||||
|
|
||||||
if (Dungeon.level.heroFOV[pos]) {
|
if (Dungeon.level.heroFOV[pos]) {
|
||||||
ch.sprite.flash();
|
ch.sprite.flash();
|
||||||
|
|
|
@ -188,12 +188,17 @@ public abstract class YogFist extends Mob {
|
||||||
CellEmitter.get( pos ).burst( Speck.factory( Speck.STEAM ), 10 );
|
CellEmitter.get( pos ).burst( Speck.factory( Speck.STEAM ), 10 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//1.33 evaporated tiles on average
|
||||||
|
int evaporatedTiles = Random.chances(new float[]{0, 2, 1});
|
||||||
|
|
||||||
|
for (int i = 0; i < evaporatedTiles; i++) {
|
||||||
int cell = pos + PathFinder.NEIGHBOURS8[Random.Int(8)];
|
int cell = pos + PathFinder.NEIGHBOURS8[Random.Int(8)];
|
||||||
if (Dungeon.level.map[cell] == Terrain.WATER){
|
if (Dungeon.level.map[cell] == Terrain.WATER){
|
||||||
Level.set( cell, Terrain.EMPTY);
|
Level.set( cell, Terrain.EMPTY);
|
||||||
GameScene.updateMap( cell );
|
GameScene.updateMap( cell );
|
||||||
CellEmitter.get( cell ).burst( Speck.factory( Speck.STEAM ), 10 );
|
CellEmitter.get( cell ).burst( Speck.factory( Speck.STEAM ), 10 );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
for (int i : PathFinder.NEIGHBOURS9) {
|
for (int i : PathFinder.NEIGHBOURS9) {
|
||||||
int vol = Fire.volumeAt(pos+i, Fire.class);
|
int vol = Fire.volumeAt(pos+i, Fire.class);
|
||||||
|
@ -440,7 +445,7 @@ public abstract class YogFist extends Mob {
|
||||||
|
|
||||||
if (hit( this, enemy, true )) {
|
if (hit( this, enemy, true )) {
|
||||||
|
|
||||||
enemy.damage( Random.NormalIntRange(12, 24), new LightBeam() );
|
enemy.damage( Random.NormalIntRange(10, 20), new LightBeam() );
|
||||||
Buff.prolong( enemy, Blindness.class, Blindness.DURATION/2f );
|
Buff.prolong( enemy, Blindness.class, Blindness.DURATION/2f );
|
||||||
|
|
||||||
if (!enemy.isAlive() && enemy == Dungeon.hero) {
|
if (!enemy.isAlive() && enemy == Dungeon.hero) {
|
||||||
|
@ -503,7 +508,7 @@ public abstract class YogFist extends Mob {
|
||||||
|
|
||||||
if (hit( this, enemy, true )) {
|
if (hit( this, enemy, true )) {
|
||||||
|
|
||||||
enemy.damage( Random.NormalIntRange(12, 24), new DarkBolt() );
|
enemy.damage( Random.NormalIntRange(10, 20), new DarkBolt() );
|
||||||
|
|
||||||
Light l = enemy.buff(Light.class);
|
Light l = enemy.buff(Light.class);
|
||||||
if (l != null){
|
if (l != null){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user