Skip to content

Commit d5efa88

Browse files
committed
bug fixes, other tweaks and changes, etc
1 parent cde34ca commit d5efa88

File tree

13 files changed

+29
-30
lines changed

13 files changed

+29
-30
lines changed

src/main/java/theHexaghost/cards/FastForward.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ public FastForward() {
1717
}
1818

1919
public void use(AbstractPlayer p, AbstractMonster m) {
20-
atb(new AdvanceAction());
21-
atb(new ChargeCurrentFlameAction());
2220
if (upgraded) atb(new AdvanceAction());
23-
21+
atb(new ChargeCurrentFlameAction());
22+
atb(new AdvanceAction());
2423
}
2524

2625
public void upgrade() {

src/main/java/theHexaghost/cards/Ghostwalk.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
import com.megacrit.cardcrawl.characters.AbstractPlayer;
44
import com.megacrit.cardcrawl.monsters.AbstractMonster;
5-
import sneckomod.CardIgnore;
65
import theHexaghost.actions.RetractAction;
76
import theHexaghost.powers.EtherealRefundPower;
7+
import theHexaghost.util.CardIgnore;
88

99
@CardIgnore
1010
public class Ghostwalk extends AbstractHexaCard {

src/main/java/theHexaghost/cards/PowerFromBeyond.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public boolean canUse(AbstractPlayer p, AbstractMonster m) {
2929

3030
@Override
3131
public void triggerOnExhaust() {
32-
applyToSelf(new EnergizedBluePower(AbstractDungeon.player, magicNumber));
32+
applyToSelf(new EnergizedBluePower(AbstractDungeon.player, 1));
3333
applyToSelf(new DrawCardNextTurnPower(AbstractDungeon.player, magicNumber));
3434
}
3535

@@ -40,6 +40,8 @@ public void upgrade() {
4040
if (!upgraded) {
4141
upgradeName();
4242
upgradeMagicNumber(UPG_MAGIC);
43+
rawDescription = UPGRADE_DESCRIPTION;
44+
initializeDescription();
4345
}
4446
}
4547
}

src/main/java/theHexaghost/cards/TimeWarp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class TimeWarp extends AbstractHexaCard implements OnAdvanceOrRetractSubs
1717
private static final int UPG_DAMAGE = 2;
1818

1919
public TimeWarp() {
20-
super(ID, 2, CardType.ATTACK, CardRarity.UNCOMMON, CardTarget.ENEMY);
20+
super(ID, 0, CardType.ATTACK, CardRarity.UNCOMMON, CardTarget.ENEMY);
2121
baseDamage = DAMAGE;
2222
}
2323

src/main/java/theHexaghost/ghostflames/BolsteringGhostflame.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ public String getDescription() {
5151
s = "Ignited. ";
5252
}
5353
if (GhostflameHelper.activeGhostFlame == this) {
54-
s = s + "#yActive. Ignites after a #yPower is played this turn. NL At the end of your turn, #yAdvance to the next Ghostflame.";
54+
s = s + "#yActive. #yIgnites after a #yPower is played this turn. NL At the end of your turn, #yAdvance to the next Ghostflame.";
5555
} else {
56-
s = s + "Inactive. Ignites after a #yPower is played while #yActive.";
56+
s = s + "Inactive. #yIgnites after a #yPower is played while #yActive.";
5757
}
5858
int x = block;
5959
if (AbstractDungeon.player.hasPower(EnhancePower.POWER_ID)) {
6060
x += AbstractDungeon.player.getPower(EnhancePower.POWER_ID).amount;
6161
}
62-
return s + " NL #y Ignition: When Ignited, gain #b" + x + " #yBlock and #b1 #yStrength.";
62+
return s + " NL #yIgnition: When #yIgnited, gain #b" + x + " #yBlock and #b1 #yStrength.";
6363
}
6464
}

src/main/java/theHexaghost/ghostflames/CrushingGhostflame.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,17 @@ public String getDescription() {
6868
if (GhostflameHelper.activeGhostFlame == this) {
6969
int x = (2 - skillsPlayedThisTurn);
7070
if (x == 1) {
71-
s = s + "#yActive. Ignites after #b" + x + " #ySkill is played this turn. NL At the end of your turn, #yAdvance to the next Ghostflame.";
71+
s = s + "#yActive. #yIgnites after #b" + x + " #ySkill is played this turn. NL At the end of your turn, #yAdvance to the next Ghostflame.";
7272
} else {
73-
s = s + "#yActive. Ignites after #b" + x + " #ySkills are played this turn.";
73+
s = s + "#yActive. #yIgnites after #b" + x + " #ySkills are played this turn. NL At the end of your turn, #yAdvance to the next Ghostflame.";
7474
}
7575
} else {
76-
s = s + "Inactive. Play #b2 #ySkills while #yActive to Charge.";
76+
s = s + "Inactive. #yIgnites after #b2 #ySkills are played while #yActive.";
7777
}
7878
int x = damage;
7979
if (AbstractDungeon.player.hasPower(EnhancePower.POWER_ID)) {
8080
x += AbstractDungeon.player.getPower(EnhancePower.POWER_ID).amount;
8181
}
82-
return s + " NL Ignition: When Ignited, deal #b" + x + " damage to a random enemy twice.";
82+
return s + " NL #yIgnition: When #yIgnited, deal #b" + x + " damage to a random enemy twice.";
8383
}
8484
}

src/main/java/theHexaghost/ghostflames/InfernoGhostflame.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public void onCharge() {
3030
x += AbstractDungeon.player.getPower(EnhancePower.POWER_ID).amount;
3131
}
3232
for (int j = GhostflameHelper.hexaGhostFlames.size() - 1; j >= 0; j--) {
33-
//i have no ghostflame. goodnight
3433
AbstractGhostflame gf = GhostflameHelper.hexaGhostFlames.get(j);
3534
if (gf.charged) {
3635
att(new ExtinguishAction(gf));
@@ -87,6 +86,6 @@ public String getDescription() {
8786
if (AbstractDungeon.player.hasPower(EnhancePower.POWER_ID)) {
8887
x += AbstractDungeon.player.getPower(EnhancePower.POWER_ID).amount;
8988
}
90-
return s + " NL Ignition: When Ignited, deal #b" + x + " damage to a random enemy for each #yCharged #yGhostflame, then #yExtinguish them.";
89+
return s + " NL #yIgnition: When #yIgnited, deal #b" + x + " damage to a random enemy for each #yIgnited #yGhostflame, then #yExtinguish them.";
9190
}
9291
}

src/main/java/theHexaghost/ghostflames/SearingGhostflame.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,18 @@ public String getDescription() {
6060
if (GhostflameHelper.activeGhostFlame == this) {
6161
int x = (2 - attacksPlayedThisTurn);
6262
if (x == 1) {
63-
s = s + "#yActive. Ignites after #b" + x + " #yAttack is played this turn. NL At the end of your turn, #yAdvance to the next Ghostflame.";
63+
s = s + "#yActive. #yIgnites after #b" + x + " #yAttack is played this turn. NL At the end of your turn, #yAdvance to the next Ghostflame.";
6464
} else {
65-
s = s + "#yActive. Ignites after #b" + x + " #yAttacks are played this turn. NL At the end of your turn, #yAdvance to the next Ghostflame.";
65+
s = s + "#yActive. #yIgnites after #b" + x + " #yAttacks are played this turn. NL At the end of your turn, #yAdvance to the next Ghostflame.";
6666
}
6767
} else {
68-
s = s + "Inactive. Ignites after #b2 #yAttacks are played while #yActive.";
68+
s = s + "Inactive. #yIgnites after #b2 #yAttacks are played while #yActive.";
6969
}
7070
int x = magic;
7171
if (AbstractDungeon.player.hasPower(EnhancePower.POWER_ID)) {
7272
x += AbstractDungeon.player.getPower(EnhancePower.POWER_ID).amount;
7373
}
74-
return s + " NL Ignition: When Ignited, apply #b" + x + " #yBurn to a random enemy.";
74+
return s + " NL #yIgnition: When #yIgnited, apply #b" + x + " #yBurn to a random enemy.";
7575

7676
}
7777
}

src/main/java/theHexaghost/powers/ApocalypticArmorPower.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class ApocalypticArmorPower extends AbstractPower implements OnChargeSubs
2929
private static final Texture tex32 = TextureLoader.getTexture(HexaMod.getModID() + "Resources/images/powers/ApocalypseArmor32.png");
3030

3131
public ApocalypticArmorPower(final int amount) {
32-
this.name = "Apocalypse Armor";
32+
this.name = "Doomsday";
3333
this.ID = POWER_ID;
3434
this.owner = AbstractDungeon.player;
3535
this.amount = amount;
@@ -61,8 +61,8 @@ public void onCharge(AbstractGhostflame g) {
6161
@Override
6262
public void updateDescription() {
6363
if (amount >= GhostflameHelper.hexaGhostFlames.size())
64-
description = "The next time you Charge the Inferno Ghostflame and all #b" + amount + " Ghostflames are Charged, take an additional turn.";
64+
description = "The next time you Charge the Inferno Ghostflame and all #b" + amount + " Ghostflames are Charged, end your turn and take an additional turn.";
6565
else
66-
description = "Whenver you Charge the Inferno Ghostflame and at least #b" + amount + " Ghostflames are Charged, take an additional turn.";
66+
description = "Whenver you Charge the Inferno Ghostflame and at least #b" + amount + " Ghostflames are Charged, end your turn and take an additional turn.";
6767
}
6868
}

src/main/java/theHexaghost/powers/BurnPower.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public void atStartOfTurn() {
5959

6060
@Override
6161
public void updateDescription() {
62-
description = "At the start of its turn, loses #b" + amount + " HP, then Burn is halved (rounding up).";
62+
description = "At the start of its turn, loses #b" + amount + " HP, then Burn is halved (rounding down).";
6363
}
6464

6565
@Override

0 commit comments

Comments
 (0)