v0.3.1: clarity and balance improvements following dew changes
This commit is contained in:
parent
2432c351d2
commit
432f9ee440
|
@ -20,6 +20,7 @@
|
||||||
*/
|
*/
|
||||||
package com.shatteredpixel.shatteredpixeldungeon.items;
|
package com.shatteredpixel.shatteredpixeldungeon.items;
|
||||||
|
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
|
||||||
import com.watabou.noosa.audio.Sample;
|
import com.watabou.noosa.audio.Sample;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.Assets;
|
import com.shatteredpixel.shatteredpixeldungeon.Assets;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
||||||
|
@ -58,10 +59,11 @@ public class Dewdrop extends Item {
|
||||||
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 {
|
} else {
|
||||||
|
GLog.i("You already have full health.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (vial != null) {
|
} else {
|
||||||
|
|
||||||
vial.collectDew( this );
|
vial.collectDew( this );
|
||||||
|
|
||||||
|
@ -73,8 +75,15 @@ public class Dewdrop extends Item {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
//max of one dew in a stack
|
||||||
|
public Item quantity(int value) {
|
||||||
|
quantity = Math.min( value, 1);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String info() {
|
public String info() {
|
||||||
return "A crystal clear dewdrop.";
|
return "A crystal clear dewdrop.\n\nDue to the magic of this place, pure water has minor restorative properties.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user