v0.3.0: buff descriptions round 2
This commit is contained in:
parent
ccf6249b8f
commit
508c23b9a4
|
@ -151,6 +151,18 @@ public class Burning extends Buff implements Hero.Doom {
|
|||
return r != null ? r.durationFactor() * DURATION : DURATION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String desc() {
|
||||
return "Few things are more distressing than being engulfed in flames.\n" +
|
||||
"\n" +
|
||||
"Fire will deal damage every turn until it is put out by water, expires, or it is resisted. " +
|
||||
"Fire can be extinquished by stepping into water, or from the splash of a shattering potion. \n" +
|
||||
"\n" +
|
||||
"Additionally, the fire may ignite flammable terrain or items that it comes into contact with.\n" +
|
||||
"\n" +
|
||||
"The burning will last for " + dispTurns() + ", or until it is resisted or extinquished.";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDeath() {
|
||||
|
||||
|
|
|
@ -30,6 +30,15 @@ public class EarthImbue extends FlavourBuff {
|
|||
return "Imbued with Earth";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String desc() {
|
||||
return "You are inbued with the power of earth!\n" +
|
||||
"\n" +
|
||||
"All physical attacks will command roots to lock the enemy in place while the effect lasts.\n" +
|
||||
"\n" +
|
||||
"You are imbued for " + dispTurns() + ".";
|
||||
}
|
||||
|
||||
{
|
||||
immunities.add( Paralysis.class );
|
||||
immunities.add( Roots.class );
|
||||
|
|
|
@ -71,6 +71,16 @@ public class FireImbue extends Buff {
|
|||
return "Imbued with Fire";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String desc() {
|
||||
return "You are imbued with the power of fire!\n" +
|
||||
"\n" +
|
||||
"All physical attacks will have a chance to light enemies ablaze. " +
|
||||
"Additionally, you are completely immune to the effects of fire.\n" +
|
||||
"\n" +
|
||||
"You are imbued for " + dispTurns() + ".";
|
||||
}
|
||||
|
||||
{
|
||||
immunities.add( Burning.class );
|
||||
}
|
||||
|
|
|
@ -64,7 +64,17 @@ public class Invisibility extends FlavourBuff {
|
|||
public String toString() {
|
||||
return "Invisible";
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String desc() {
|
||||
return "You are completely blended into the surrounding terrain, making you impossible to see.\n" +
|
||||
"\n" +
|
||||
"While you are invisible enemies are unable to attack or follow you. " +
|
||||
"Physical attacks and magical effects (such as scrolls and wands) will immediately cancel invisibility.\n" +
|
||||
"\n" +
|
||||
"This invisibility will last for " + dispTurns() + ".";
|
||||
}
|
||||
|
||||
public static void dispel() {
|
||||
Invisibility buff = Dungeon.hero.buff( Invisibility.class );
|
||||
if (buff != null) {
|
||||
|
|
|
@ -96,5 +96,15 @@ public class Shadows extends Invisibility {
|
|||
public String toString() {
|
||||
return "Shadowmelded";
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String desc() {
|
||||
return "You are blended into the shadows around you, granting you invisibility and slowing your metabolism.\n" +
|
||||
"\n" +
|
||||
"While you are invisible enemies are unable to attack or follow you. " +
|
||||
"Most physical attacks and magical effects (such as scrolls and wands) will immediately cancel invisibility. " +
|
||||
"Additionally, while shadowmelded, your rate of hunger is slowed.\n" +
|
||||
"\n" +
|
||||
"You will remain shadowmelded until you leave the shadows or an enemy comes into contact with you.";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -59,6 +59,16 @@ public class ToxicImbue extends Buff {
|
|||
return "Imbued with Toxicity";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String desc() {
|
||||
return "You are imbued with poisonous energy!\n" +
|
||||
"\n" +
|
||||
"As you move around toxic gas will constantly billow forth from you, damaging your enemies. " +
|
||||
"You are immune to toxic gas and poison for the duration of the effect.\n" +
|
||||
"\n" +
|
||||
"You are imbued for " + dispTurns() + ".";
|
||||
}
|
||||
|
||||
{
|
||||
immunities.add( ToxicGas.class );
|
||||
immunities.add( Poison.class );
|
||||
|
|
|
@ -63,4 +63,13 @@ public class Weakness extends FlavourBuff {
|
|||
Resistance r = ch.buff( Resistance.class );
|
||||
return r != null ? r.durationFactor() * DURATION : DURATION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String desc() {
|
||||
return "Your gear suddenly feels a lot heavier.\n" +
|
||||
"\n" +
|
||||
"Weakening magic is affecting you, reducing your effective strength by 2 points.\n" +
|
||||
"\n" +
|
||||
"This weakness will last for " + dispTurns() + ".";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -241,6 +241,16 @@ public class CloakOfShadows extends Artifact {
|
|||
return "Cloaked";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String desc() {
|
||||
return "Your cloak of shadows is granting you invisibility while you are shrouded by it.\n" +
|
||||
"\n" +
|
||||
"While you are invisible enemies are unable to attack or follow you. " +
|
||||
"Most physical attacks and magical effects (such as scrolls and wands) will immediately cancel invisibility.\n" +
|
||||
"\n" +
|
||||
"You will remain cloaked until it is cancelled or your cloak runs out of charge.";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void detach() {
|
||||
if (target.invisible > 0)
|
||||
|
|
|
@ -91,5 +91,13 @@ public class ScrollOfRecharging extends Scroll {
|
|||
return Math.min(1f, this.cooldown());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String desc() {
|
||||
return "Energy is coursing through you, improving the rate that your wands and staffs charge.\n" +
|
||||
"\n" +
|
||||
"Each turn this buff will increase current charge by one quarter, in addition to regular recharge. \n" +
|
||||
"\n" +
|
||||
"The recharging will last for " + dispTurns() + ".";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user