v0.3.1: dew drops can no longer be picked up when they would have no effect.
This commit is contained in:
parent
18e488c63e
commit
8334332d0f
|
@ -57,6 +57,8 @@ public class Dewdrop extends Item {
|
||||||
hero.HP += effect;
|
hero.HP += effect;
|
||||||
hero.sprite.emitter().burst( Speck.factory( Speck.HEALING ), 1 );
|
hero.sprite.emitter().burst( Speck.factory( Speck.HEALING ), 1 );
|
||||||
hero.sprite.showStatus( CharSprite.POSITIVE, TXT_VALUE, effect );
|
hero.sprite.showStatus( CharSprite.POSITIVE, TXT_VALUE, effect );
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (vial != null) {
|
} else if (vial != null) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user