diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/MissileWeapon.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/MissileWeapon.java index 7184f11be..0dc809c43 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/MissileWeapon.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/MissileWeapon.java @@ -301,16 +301,16 @@ abstract public class MissileWeapon extends Weapon { protected void rangedHit( Char enemy, int cell ){ decrementDurability(); - if (durability > 0){ + if (durability > 0 && !spawnedForEffect){ //attempt to stick the missile weapon to the enemy, just drop it if we can't. - if (sticky && !spawnedForEffect && enemy != null && enemy.isActive() && enemy.alignment != Char.Alignment.ALLY){ + if (sticky && enemy != null && enemy.isActive() && enemy.alignment != Char.Alignment.ALLY){ PinCushion p = Buff.affect(enemy, PinCushion.class); if (p.target == enemy){ p.stick(this); return; } } - if (!spawnedForEffect) Dungeon.level.drop( this, cell ).sprite.drop(); + Dungeon.level.drop( this, cell ).sprite.drop(); } } diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/darts/TippedDart.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/darts/TippedDart.java index cbd38b5fd..60192d5e4 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/darts/TippedDart.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/darts/TippedDart.java @@ -134,7 +134,7 @@ public abstract class TippedDart extends Dart { //attempt to stick the dart to the enemy, just drop it if we can't. Dart d = new Dart(); Catalog.countUse(getClass()); - if (sticky && !spawnedForEffect && enemy != null && enemy.isAlive() && enemy.alignment != Char.Alignment.ALLY){ + if (sticky && enemy != null && enemy.isAlive() && enemy.alignment != Char.Alignment.ALLY){ PinCushion p = Buff.affect(enemy, PinCushion.class); if (p.target == enemy){ p.stick(d);