v0.3.0: buff descriptions round 3 plus some tweaks to displaying remaining turns.

This commit is contained in:
Evan Debenham
2015-05-14 19:57:15 -04:00
parent e8a2004345
commit ea628b7212
12 changed files with 93 additions and 6 deletions
@@ -13,6 +13,8 @@ import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator;
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
import com.watabou.utils.Random;
import java.text.DecimalFormat;
/**
* Created by debenhame on 23/04/2015.
*/
@@ -86,4 +88,14 @@ public class Chill extends FlavourBuff {
return "Chilled";
}
@Override
public String desc() {
return "Not quite frozen, but still much too cold.\n" +
"\n" +
"Chilled targets perform all actions more slowly, depending on how many turns are left in the effect. " +
"At it's worst, this is equivalent to being slowed.\n" +
"\n" +
"This chilled will last for " + dispTurns() + ", " +
"and is currently reducing speed by " + new DecimalFormat("#.##").format(speedFactor()*100f) + "%";
}
}