@Override public void shatter(int cell) { if (Dungeon.level.heroFOV[cell]) { splash( cell ); Sample.INSTANCE.play( Assets.SND_SHATTER ); } GameScene.add( Blob.seed( cell, 1000, Blizzard.class ) ); }
@Override public void shatter(int cell) { if (Dungeon.level.heroFOV[cell]) { splash( cell ); Sample.INSTANCE.play( Assets.SND_SHATTER ); } GameScene.add( Blob.seed( cell, 1000, ToxicGas.class ) ); GameScene.add( Blob.seed( cell, 1000, ParalyticGas.class ) ); }
result.add(new QuickRecipe(new WickedBrew.Recipe())); result.add(new QuickRecipe(new FrigidBrew.Recipe())); result.add(new QuickRecipe(new FrostfireBrew.Recipe())); result.add(null); result.add(null); result.add(new QuickRecipe(new InfernalBrew.Recipe())); result.add(new QuickRecipe(new BlizzardBrew.Recipe())); result.add(new QuickRecipe(new ShockingBrew.Recipe())); result.add(new QuickRecipe(new CausticBrew.Recipe())); return result; case 8:
@Override public void shatter(int cell) { if (Dungeon.level.heroFOV[cell]) { setKnown(); splash( cell ); Sample.INSTANCE.play( Assets.SND_SHATTER ); } Fire fire = (Fire)Dungeon.level.blobs.get( Fire.class ); for (int offset : PathFinder.NEIGHBOURS9){ if (!Dungeon.level.solid[cell+offset]) { Freezing.affect( cell + offset, fire ); Char ch = Actor.findChar( cell + offset); if (ch != null){ Buff.affect(ch, Roots.class, 10f); } GameScene.add(Blob.seed(cell + offset, 10, Fire.class)); } } }
@Override public void shatter(int cell) { if (Dungeon.level.heroFOV[cell]) { splash( cell ); Sample.INSTANCE.play( Assets.SND_SHATTER ); } for (int offset : PathFinder.NEIGHBOURS9){ if (!Dungeon.level.solid[cell+offset]) { GameScene.add(Blob.seed(cell + offset, 10, Freezing.class)); } } GameScene.add( Blob.seed( cell, 1000, StormCloud.class ) ); }
@Override public void shatter(int cell) { if (Dungeon.level.heroFOV[cell]) { splash( cell ); Sample.INSTANCE.play( Assets.SND_SHATTER ); } PathFinder.buildDistanceMap( cell, BArray.not( Dungeon.level.solid, null ), 2 ); for (int i = 0; i < PathFinder.distance.length; i++) { if (PathFinder.distance[i] < Integer.MAX_VALUE) { GameScene.add(Blob.seed(i, 20, Electricity.class)); } } Sample.INSTANCE.play(Assets.SND_LIGHTNING); }
@Override public void shatter(int cell) { if (Dungeon.level.heroFOV[cell]) { splash( cell ); Sample.INSTANCE.play( Assets.SND_SHATTER ); } PathFinder.buildDistanceMap( cell, BArray.not( Dungeon.level.solid, null ), 2 ); for (int i = 0; i < PathFinder.distance.length; i++) { if (PathFinder.distance[i] < Integer.MAX_VALUE) { Splash.at( i, 0x000000, 5); Char ch = Actor.findChar(i); if (ch != null){ Buff.affect(ch, Ooze.class).set( 20f ); } } } }
result.add(new QuickRecipe(new WickedBrew.Recipe())); result.add(new QuickRecipe(new FrigidBrew.Recipe())); result.add(new QuickRecipe(new FrostfireBrew.Recipe())); result.add(null); result.add(null); result.add(new QuickRecipe(new InfernalBrew.Recipe())); result.add(new QuickRecipe(new BlizzardBrew.Recipe())); result.add(new QuickRecipe(new ShockingBrew.Recipe())); result.add(new QuickRecipe(new CausticBrew.Recipe())); return result; case 8:
@Override public void shatter(int cell) { if (Dungeon.level.heroFOV[cell]) { setKnown(); splash( cell ); Sample.INSTANCE.play( Assets.SND_SHATTER ); } Fire fire = (Fire)Dungeon.level.blobs.get( Fire.class ); for (int offset : PathFinder.NEIGHBOURS9){ if (!Dungeon.level.solid[cell+offset]) { Freezing.affect( cell + offset, fire ); Char ch = Actor.findChar( cell + offset); if (ch != null){ Buff.affect(ch, Roots.class, 10f); } GameScene.add(Blob.seed(cell + offset, 10, Fire.class)); } } }
@Override public void shatter(int cell) { if (Dungeon.level.heroFOV[cell]) { splash( cell ); Sample.INSTANCE.play( Assets.SND_SHATTER ); } GameScene.add( Blob.seed( cell, 1000, ToxicGas.class ) ); GameScene.add( Blob.seed( cell, 1000, ParalyticGas.class ) ); }
@Override public void shatter(int cell) { if (Dungeon.level.heroFOV[cell]) { splash( cell ); Sample.INSTANCE.play( Assets.SND_SHATTER ); } GameScene.add( Blob.seed( cell, 1000, Blizzard.class ) ); }
@Override public void shatter(int cell) { if (Dungeon.level.heroFOV[cell]) { splash( cell ); Sample.INSTANCE.play( Assets.SND_SHATTER ); } for (int offset : PathFinder.NEIGHBOURS9){ if (!Dungeon.level.solid[cell+offset]) { GameScene.add(Blob.seed(cell + offset, 10, Freezing.class)); } } GameScene.add( Blob.seed( cell, 1000, StormCloud.class ) ); }
@Override public void shatter(int cell) { if (Dungeon.level.heroFOV[cell]) { splash( cell ); Sample.INSTANCE.play( Assets.SND_SHATTER ); } PathFinder.buildDistanceMap( cell, BArray.not( Dungeon.level.solid, null ), 2 ); for (int i = 0; i < PathFinder.distance.length; i++) { if (PathFinder.distance[i] < Integer.MAX_VALUE) { GameScene.add(Blob.seed(i, 20, Electricity.class)); } } Sample.INSTANCE.play(Assets.SND_LIGHTNING); }
@Override public void shatter(int cell) { if (Dungeon.level.heroFOV[cell]) { splash( cell ); Sample.INSTANCE.play( Assets.SND_SHATTER ); } PathFinder.buildDistanceMap( cell, BArray.not( Dungeon.level.solid, null ), 2 ); for (int i = 0; i < PathFinder.distance.length; i++) { if (PathFinder.distance[i] < Integer.MAX_VALUE) { Splash.at( i, 0x000000, 5); Char ch = Actor.findChar(i); if (ch != null){ Buff.affect(ch, Ooze.class).set( 20f ); } } } }