v0.7.0: consistency pass on buff types
This commit is contained in:
@@ -450,16 +450,17 @@ public abstract class Char extends Actor {
|
|||||||
buffs.add( buff );
|
buffs.add( buff );
|
||||||
Actor.add( buff );
|
Actor.add( buff );
|
||||||
|
|
||||||
if (sprite != null)
|
if (sprite != null && buff.announced)
|
||||||
switch(buff.type){
|
switch(buff.type){
|
||||||
case POSITIVE:
|
case POSITIVE:
|
||||||
sprite.showStatus(CharSprite.POSITIVE, buff.toString()); break;
|
sprite.showStatus(CharSprite.POSITIVE, buff.toString());
|
||||||
|
break;
|
||||||
case NEGATIVE:
|
case NEGATIVE:
|
||||||
sprite.showStatus(CharSprite.NEGATIVE, buff.toString());break;
|
sprite.showStatus(CharSprite.NEGATIVE, buff.toString());
|
||||||
case NEUTRAL:
|
break;
|
||||||
sprite.showStatus(CharSprite.NEUTRAL, buff.toString()); break;
|
case NEUTRAL: default:
|
||||||
case SILENT: default:
|
sprite.showStatus(CharSprite.NEUTRAL, buff.toString());
|
||||||
break; //show nothing
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+4
@@ -27,6 +27,10 @@ import com.watabou.noosa.Image;
|
|||||||
|
|
||||||
public class Adrenaline extends FlavourBuff {
|
public class Adrenaline extends FlavourBuff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
public static final float DURATION = 10f;
|
public static final float DURATION = 10f;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+4
@@ -27,6 +27,10 @@ import com.watabou.utils.Bundle;
|
|||||||
|
|
||||||
public class AdrenalineSurge extends Buff {
|
public class AdrenalineSurge extends Buff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
private int boost;
|
private int boost;
|
||||||
private static final float INTERVAL = TICK * 500f;
|
private static final float INTERVAL = TICK * 500f;
|
||||||
|
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ public class Amok extends FlavourBuff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+4
@@ -26,6 +26,10 @@ import com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene;
|
|||||||
|
|
||||||
public class Awareness extends FlavourBuff {
|
public class Awareness extends FlavourBuff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
public static final float DURATION = 2f;
|
public static final float DURATION = 2f;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -27,6 +27,10 @@ import com.watabou.utils.Bundle;
|
|||||||
|
|
||||||
public class Barkskin extends Buff {
|
public class Barkskin extends Buff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
private int level = 0;
|
private int level = 0;
|
||||||
private int interval = 1;
|
private int interval = 1;
|
||||||
|
|
||||||
|
|||||||
+3
-1
@@ -29,7 +29,9 @@ import com.watabou.utils.Bundle;
|
|||||||
|
|
||||||
public class Barrier extends ShieldBuff {
|
public class Barrier extends ShieldBuff {
|
||||||
|
|
||||||
//TODO icon and description for phase 2
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean act() {
|
public boolean act() {
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ public class Bleeding extends Buff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected int level;
|
protected int level;
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ public class Bless extends FlavourBuff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.POSITIVE;
|
type = buffType.POSITIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+1
@@ -29,6 +29,7 @@ public class Blindness extends FlavourBuff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+4
@@ -39,6 +39,10 @@ import com.watabou.noosa.Image;
|
|||||||
|
|
||||||
public class BlobImmunity extends FlavourBuff {
|
public class BlobImmunity extends FlavourBuff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
public static final float DURATION = 20f;
|
public static final float DURATION = 20f;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -39,10 +39,12 @@ public class Buff extends Actor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//determines how the buff is announced when it is shown.
|
//determines how the buff is announced when it is shown.
|
||||||
//buffs that work behind the scenes, or have other visual indicators can usually be silent.
|
|
||||||
//FIXME should extend this to more buffs, want silent positive and silent negative?
|
//FIXME should extend this to more buffs, want silent positive and silent negative?
|
||||||
public enum buffType {POSITIVE, NEGATIVE, NEUTRAL, SILENT};
|
public enum buffType {POSITIVE, NEGATIVE, NEUTRAL};
|
||||||
public buffType type = buffType.SILENT;
|
public buffType type = buffType.NEUTRAL;
|
||||||
|
|
||||||
|
//whether or not the buff announces its name
|
||||||
|
public boolean announced = false;
|
||||||
|
|
||||||
protected HashSet<Class> resistances = new HashSet<>();
|
protected HashSet<Class> resistances = new HashSet<>();
|
||||||
|
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ public class Burning extends Buff implements Hero.Doom {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ public class Charm extends FlavourBuff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ public class Chill extends FlavourBuff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+1
@@ -39,6 +39,7 @@ public class Corrosion extends Buff implements Hero.Doom {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+1
@@ -30,6 +30,7 @@ public class Corruption extends Buff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private float buildToDamage = 0f;
|
private float buildToDamage = 0f;
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ public class Cripple extends FlavourBuff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ public class Doom extends Buff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ public class Drowsy extends Buff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEUTRAL;
|
type = buffType.NEUTRAL;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+4
@@ -30,6 +30,10 @@ import com.watabou.noosa.Image;
|
|||||||
|
|
||||||
public class EarthImbue extends FlavourBuff {
|
public class EarthImbue extends FlavourBuff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
public static final float DURATION = 30f;
|
public static final float DURATION = 30f;
|
||||||
|
|
||||||
public void proc(Char enemy){
|
public void proc(Char enemy){
|
||||||
|
|||||||
+4
@@ -34,6 +34,10 @@ import com.watabou.utils.Random;
|
|||||||
|
|
||||||
public class FireImbue extends Buff {
|
public class FireImbue extends Buff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
public static final float DURATION = 30f;
|
public static final float DURATION = 30f;
|
||||||
|
|
||||||
protected float left;
|
protected float left;
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ public class Frost extends FlavourBuff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ public class Fury extends Buff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.POSITIVE;
|
type = buffType.POSITIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -27,6 +27,10 @@ import com.watabou.noosa.Image;
|
|||||||
|
|
||||||
public class Haste extends FlavourBuff {
|
public class Haste extends FlavourBuff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
public static final float DURATION = 20f;
|
public static final float DURATION = 20f;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -37,6 +37,8 @@ public class Healing extends Buff {
|
|||||||
//unlike other buffs, this one acts after the hero and takes priority against other effects
|
//unlike other buffs, this one acts after the hero and takes priority against other effects
|
||||||
//healing is much more useful if you get some of it off before taking damage
|
//healing is much more useful if you get some of it off before taking damage
|
||||||
actPriority = HERO_PRIO - 1;
|
actPriority = HERO_PRIO - 1;
|
||||||
|
|
||||||
|
type = buffType.POSITIVE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+1
@@ -39,6 +39,7 @@ public class Invisibility extends FlavourBuff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.POSITIVE;
|
type = buffType.POSITIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+4
@@ -30,6 +30,10 @@ import com.watabou.noosa.Image;
|
|||||||
|
|
||||||
public class Levitation extends FlavourBuff {
|
public class Levitation extends FlavourBuff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
public static final float DURATION = 20f;
|
public static final float DURATION = 20f;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -30,6 +30,10 @@ import com.watabou.noosa.Image;
|
|||||||
|
|
||||||
public class Light extends FlavourBuff {
|
public class Light extends FlavourBuff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
public static final float DURATION = 300f;
|
public static final float DURATION = 300f;
|
||||||
public static final int DISTANCE = 6;
|
public static final int DISTANCE = 6;
|
||||||
|
|
||||||
|
|||||||
+1
@@ -35,6 +35,7 @@ public class MagicalSight extends FlavourBuff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.POSITIVE;
|
type = buffType.POSITIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+1
@@ -35,6 +35,7 @@ public class MindVision extends FlavourBuff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.POSITIVE;
|
type = buffType.POSITIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -28,6 +28,10 @@ import com.watabou.utils.Bundle;
|
|||||||
|
|
||||||
public class Momentum extends Buff {
|
public class Momentum extends Buff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
private int stacks = 0;
|
private int stacks = 0;
|
||||||
private int turnsSinceMove = 0;
|
private int turnsSinceMove = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ public class Ooze extends Buff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+5
@@ -36,6 +36,7 @@ public class Paralysis extends FlavourBuff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -102,6 +103,10 @@ public class Paralysis extends FlavourBuff {
|
|||||||
|
|
||||||
public static class ParalysisResist extends Buff {
|
public static class ParalysisResist extends Buff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
private int damage;
|
private int damage;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ public class Poison extends Buff implements Hero.Doom {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+4
@@ -27,6 +27,10 @@ import com.watabou.noosa.Image;
|
|||||||
|
|
||||||
public class Recharging extends FlavourBuff {
|
public class Recharging extends FlavourBuff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int icon() {
|
public int icon() {
|
||||||
return BuffIndicator.RECHARGING;
|
return BuffIndicator.RECHARGING;
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ public class Roots extends FlavourBuff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@ public class Shadows extends Invisibility {
|
|||||||
private static final String LEFT = "left";
|
private static final String LEFT = "left";
|
||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.SILENT;
|
announced = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ public class Slow extends FlavourBuff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final float DURATION = 10f;
|
public static final float DURATION = 10f;
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ public class SoulMark extends FlavourBuff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -27,6 +27,10 @@ import com.watabou.noosa.Image;
|
|||||||
|
|
||||||
public class Stamina extends FlavourBuff {
|
public class Stamina extends FlavourBuff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int icon() {
|
public int icon() {
|
||||||
return BuffIndicator.MOMENTUM;
|
return BuffIndicator.MOMENTUM;
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ public class Terror extends FlavourBuff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+4
@@ -31,6 +31,10 @@ import com.watabou.utils.Bundle;
|
|||||||
|
|
||||||
public class ToxicImbue extends Buff {
|
public class ToxicImbue extends Buff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
public static final float DURATION = 30f;
|
public static final float DURATION = 30f;
|
||||||
|
|
||||||
protected float left;
|
protected float left;
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ public class Vertigo extends FlavourBuff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ public class Weakness extends FlavourBuff {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+4
@@ -208,6 +208,10 @@ public class MirrorImage extends NPC {
|
|||||||
|
|
||||||
public static class MirrorInvis extends Invisibility {
|
public static class MirrorInvis extends Invisibility {
|
||||||
|
|
||||||
|
{
|
||||||
|
announced = false;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int icon() {
|
public int icon() {
|
||||||
return BuffIndicator.NONE;
|
return BuffIndicator.NONE;
|
||||||
|
|||||||
+4
@@ -46,6 +46,10 @@ public class Brimstone extends Armor.Glyph {
|
|||||||
|
|
||||||
public static class BrimstoneShield extends ShieldBuff {
|
public static class BrimstoneShield extends ShieldBuff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean act() {
|
public boolean act() {
|
||||||
Hero hero = (Hero)target;
|
Hero hero = (Hero)target;
|
||||||
|
|||||||
+5
@@ -46,6 +46,11 @@ public class Camouflage extends Armor.Glyph {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static class Camo extends Invisibility {
|
public static class Camo extends Invisibility {
|
||||||
|
|
||||||
|
{
|
||||||
|
announced = false;
|
||||||
|
}
|
||||||
|
|
||||||
private int pos;
|
private int pos;
|
||||||
private int left;
|
private int left;
|
||||||
|
|
||||||
|
|||||||
+4
@@ -72,6 +72,10 @@ public class Viscosity extends Glyph {
|
|||||||
|
|
||||||
public static class DeferedDamage extends Buff {
|
public static class DeferedDamage extends Buff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.NEGATIVE;
|
||||||
|
}
|
||||||
|
|
||||||
protected int damage = 0;
|
protected int damage = 0;
|
||||||
|
|
||||||
private static final String DAMAGE = "damage";
|
private static final String DAMAGE = "damage";
|
||||||
|
|||||||
+5
@@ -200,6 +200,11 @@ public class CloakOfShadows extends Artifact {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public class cloakStealth extends ArtifactBuff{
|
public class cloakStealth extends ArtifactBuff{
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
int turnsToCost = 0;
|
int turnsToCost = 0;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+8
@@ -223,6 +223,10 @@ public class TimekeepersHourglass extends Artifact {
|
|||||||
|
|
||||||
public class timeStasis extends ArtifactBuff {
|
public class timeStasis extends ArtifactBuff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean attachTo(Char target) {
|
public boolean attachTo(Char target) {
|
||||||
|
|
||||||
@@ -270,6 +274,10 @@ public class TimekeepersHourglass extends Artifact {
|
|||||||
|
|
||||||
public class timeFreeze extends ArtifactBuff {
|
public class timeFreeze extends ArtifactBuff {
|
||||||
|
|
||||||
|
{
|
||||||
|
type = buffType.POSITIVE;
|
||||||
|
}
|
||||||
|
|
||||||
float partialTime = 1f;
|
float partialTime = 1f;
|
||||||
|
|
||||||
ArrayList<Integer> presses = new ArrayList<Integer>();
|
ArrayList<Integer> presses = new ArrayList<Integer>();
|
||||||
|
|||||||
+1
@@ -67,6 +67,7 @@ public class StoneOfAggression extends Runestone {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+1
@@ -67,6 +67,7 @@ public class StoneOfAvoidance extends Runestone {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.NEGATIVE;
|
type = buffType.NEGATIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ public class Earthroot extends Plant {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.POSITIVE;
|
type = buffType.POSITIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ public class Sungrass extends Plant {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.POSITIVE;
|
type = buffType.POSITIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ public class Swiftthistle extends Plant {
|
|||||||
|
|
||||||
{
|
{
|
||||||
type = buffType.POSITIVE;
|
type = buffType.POSITIVE;
|
||||||
|
announced = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user