v0.3.0: buff descriptions round 5, all descriptions added

This commit is contained in:
Evan Debenham
2015-05-22 12:00:52 -04:00
committed by Evan Debenham
parent 33616a1ce2
commit b707123f69
5 changed files with 55 additions and 2 deletions
@@ -38,6 +38,16 @@ public class Vertigo extends FlavourBuff {
return "Vertigo";
}
@Override
public String desc() {
return "Walking in a straight line can be difficult when the whole world is spinning.\n" +
"\n" +
"While under the effects of vertigo, characters who attempt to move will go in a random direction, " +
"instead of the one they intended to go in. \n" +
"\n" +
"This Vertigo effect with last for " + dispTurns() + ".";
}
public static float duration( Char ch ) {
Resistance r = ch.buff( Resistance.class );
return r != null ? r.durationFactor() * DURATION : DURATION;