v0.9.4: woolly bombs buffed in compensation for flock stone buffs

This commit is contained in:
Evan Debenham 2021-07-30 22:01:45 -04:00
parent 86e5e4181e
commit cdba58524f

View File

@ -44,14 +44,14 @@ public class WoollyBomb extends Bomb {
public void explode(int cell) {
super.explode(cell);
PathFinder.buildDistanceMap( cell, BArray.not( Dungeon.level.solid, null ), 2 );
PathFinder.buildDistanceMap( cell, BArray.not( Dungeon.level.solid, null ), 4 );
for (int i = 0; i < PathFinder.distance.length; i++) {
if (PathFinder.distance[i] < Integer.MAX_VALUE) {
if (Dungeon.level.insideMap(i)
&& Actor.findChar(i) == null
&& !(Dungeon.level.pit[i])) {
Sheep sheep = new Sheep();
sheep.lifespan = Random.NormalIntRange( 8, 16 );
sheep.lifespan = Random.NormalIntRange( 12, 16 );
sheep.pos = i;
Dungeon.level.occupyCell(sheep);
GameScene.add(sheep);