v0.7.0b: fixed both old and new bone pile logic being active
This commit is contained in:
parent
c652c33536
commit
27257f4ac0
|
@ -126,16 +126,6 @@ public class Heap implements Bundlable {
|
||||||
case REMAINS:
|
case REMAINS:
|
||||||
case SKELETON:
|
case SKELETON:
|
||||||
CellEmitter.center( pos ).start(Speck.factory(Speck.RATTLE), 0.1f, 3);
|
CellEmitter.center( pos ).start(Speck.factory(Speck.RATTLE), 0.1f, 3);
|
||||||
for (Item item : items) {
|
|
||||||
if (item.cursed) {
|
|
||||||
if (Wraith.spawnAt( pos ) == null) {
|
|
||||||
hero.sprite.emitter().burst( ShadowParticle.CURSE, 6 );
|
|
||||||
hero.damage( hero.HP / 2, this );
|
|
||||||
}
|
|
||||||
Sample.INSTANCE.play( Assets.SND_CURSED );
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user