v0.3.4: externalized all buff strings
This commit is contained in:
committed by
Evan Debenham
parent
801fd58e7c
commit
77d16d5a93
@@ -20,8 +20,7 @@
|
||||
*/
|
||||
package com.shatteredpixel.shatteredpixeldungeon.actors.buffs;
|
||||
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator;
|
||||
import com.watabou.utils.Bundle;
|
||||
|
||||
@@ -51,15 +50,11 @@ public class SnipersMark extends FlavourBuff {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Sniper's mark";
|
||||
return Messages.get(this, "name");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String desc() {
|
||||
Char ch = (Char)Actor.findById(object);
|
||||
return "The sniper is honed in " + ((ch == null) ? "on a lost target" : "on the nearby " + ch.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.";
|
||||
return Messages.get(this, "desc");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user