v0.7.5: fixed unintentionally removed sfx from gnoll shamans

This commit is contained in:
Evan Debenham 2019-09-26 17:34:51 -04:00
parent 9eb83ec076
commit 107a1a4ebb

View File

@ -27,6 +27,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Shaman; import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Shaman;
import com.shatteredpixel.shatteredpixeldungeon.effects.Lightning; import com.shatteredpixel.shatteredpixeldungeon.effects.Lightning;
import com.watabou.noosa.TextureFilm; import com.watabou.noosa.TextureFilm;
import com.watabou.noosa.audio.Sample;
public class ShamanSprite extends MobSprite { public class ShamanSprite extends MobSprite {
@ -63,6 +64,7 @@ public class ShamanSprite extends MobSprite {
} else { } else {
parent.add(new Lightning(center(), pos, (Shaman) ch)); parent.add(new Lightning(center(), pos, (Shaman) ch));
} }
Sample.INSTANCE.play( Assets.SND_LIGHTNING );
turnTo( ch.pos, pos ); turnTo( ch.pos, pos );
play( zap ); play( zap );