v0.3.0: buff descriptions round 5, all descriptions added
This commit is contained in:
committed by
Evan Debenham
parent
33616a1ce2
commit
b707123f69
@@ -82,4 +82,13 @@ public class MagicalSleep extends Buff {
|
||||
public String toString() {
|
||||
return "Magical Sleep";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String desc() {
|
||||
return "This character has fallen into a deep magical sleep which they will not wake from naturally.\n" +
|
||||
"\n" +
|
||||
"Magical sleep is similar to regular sleep, except that only damage will cause the target to wake up. \n" +
|
||||
"\n" +
|
||||
"For the hero, magical sleep has some restorative properties, allowing them to rapidly heal while resting.";
|
||||
}
|
||||
}
|
||||
@@ -17,6 +17,8 @@
|
||||
*/
|
||||
package com.shatteredpixel.shatteredpixeldungeon.actors.buffs;
|
||||
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator;
|
||||
import com.watabou.utils.Bundle;
|
||||
|
||||
@@ -48,4 +50,12 @@ public class SnipersMark extends FlavourBuff {
|
||||
public String toString() {
|
||||
return "Sniper's mark";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String desc() {
|
||||
return "The sniper is honed in on the nearby " + ((Char)Actor.findById(object)).name + ", " +
|
||||
"gaining increased attack speed and armor penetration while attacking it.\n" +
|
||||
"\n" +
|
||||
"The sniper will remain honed in until she switches targets, stops attacking, or the target dies.";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,6 +32,7 @@ public class Venom extends Poison implements Hero.Doom {
|
||||
}
|
||||
|
||||
@Override
|
||||
//TODO: new icon?
|
||||
public int icon() {
|
||||
return BuffIndicator.POISON;
|
||||
}
|
||||
@@ -41,6 +42,15 @@ public class Venom extends Poison implements Hero.Doom {
|
||||
return "Venomed";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String desc() {
|
||||
return "Venom is a extremely caustic and dangerous poison.\n" +
|
||||
"\n" +
|
||||
"Unlike poison, whose damage lowers over time, venom does increasing damage the longer it stays on a target.\n" +
|
||||
"\n" +
|
||||
"This venom will last for " + dispTurns(left) + ", and is currently dealing " + damage + " damage.";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean act() {
|
||||
if (target.isAlive()) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user