v0.3.4: externalized all buff strings
This commit is contained in:
committed by
Evan Debenham
parent
801fd58e7c
commit
77d16d5a93
@@ -20,6 +20,7 @@
|
||||
*/
|
||||
package com.shatteredpixel.shatteredpixeldungeon.actors.buffs;
|
||||
|
||||
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator;
|
||||
|
||||
public class Barkskin extends Buff {
|
||||
@@ -61,16 +62,11 @@ public class Barkskin extends Buff {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Barkskin";
|
||||
return Messages.get(this, "name");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String desc() {
|
||||
return "Your skin is hardened, it feels rough and solid like bark.\n" +
|
||||
"\n" +
|
||||
"The hardened skin increases your effective armor, allowing you to better defend against physical attack. " +
|
||||
"The armor bonus will decrease by one point each turn until it expires.\n" +
|
||||
"\n" +
|
||||
"Your armor is currently increased by " + level +".";
|
||||
return Messages.get(this, "desc", level);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user