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
@@ -62,6 +62,16 @@ public class Paralysis extends FlavourBuff {
return "Paralysed";
}
@Override
public String desc() {
return "Oftentimes the worst thing to do is nothing at all.\n" +
"\n" +
"Paralysis completely halts all actions, forcing the target to wait until the effect wears off. " +
"The pain from taking damage can also cause characters to snap out of paralysis.\n" +
"\n" +
"This paralysis will last for " + dispTurns() + ", or until it is resisted through pain.\n";
}
public static float duration( Char ch ) {
Resistance r = ch.buff( Resistance.class );
return r != null ? r.durationFactor() * DURATION : DURATION;