v0.3.0: BIG refactor to buff display, more clear and extendable code, instead of a nest of instanceof statements
This commit is contained in:
@@ -22,6 +22,10 @@ import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator;
|
||||
public class Fury extends Buff {
|
||||
|
||||
public static float LEVEL = 0.4f;
|
||||
|
||||
{
|
||||
type = buffType.POSITIVE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean act() {
|
||||
@@ -41,6 +45,6 @@ public class Fury extends Buff {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Fury";
|
||||
return "Furious";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user