diff --git a/CHANGELOG.md b/CHANGELOG.md index c955c8b..24bfa87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ### v1.5.2 * Fix: Reflect Attack and Reflect Block happen during the Ornate Mirror's turn, not at start of turn. This means the power is applied after Poison, so the description now takes the amount of poison into account. * Balance: Ornate Mirror: reduced Reflect powers to 40% (50% in ascension), and reduce attack damage +* Balance: Purge now costs 5 HP to play. ### v1.5.1 * Fix: Cube Rune power now works diff --git a/src/main/java/conspire/cards/red/Purge.java b/src/main/java/conspire/cards/red/Purge.java index 4f98ed2..a636ed3 100644 --- a/src/main/java/conspire/cards/red/Purge.java +++ b/src/main/java/conspire/cards/red/Purge.java @@ -1,11 +1,14 @@ package conspire.cards.red; +import com.megacrit.cardcrawl.actions.animations.VFXAction; +import com.megacrit.cardcrawl.actions.common.LoseHPAction; import com.megacrit.cardcrawl.cards.AbstractCard; import com.megacrit.cardcrawl.characters.AbstractPlayer; import com.megacrit.cardcrawl.core.CardCrawlGame; import com.megacrit.cardcrawl.dungeons.AbstractDungeon; import com.megacrit.cardcrawl.localization.CardStrings; import com.megacrit.cardcrawl.monsters.AbstractMonster; +import com.megacrit.cardcrawl.vfx.combat.OfferingEffect; import basemod.abstracts.CustomCard; import conspire.Conspire; @@ -19,6 +22,7 @@ public class Purge extends CustomCard { public static final String UPGRADE_DESCRIPTION = cardStrings.UPGRADE_DESCRIPTION; public static final String[] EXTENDED_DESCRIPTION = cardStrings.EXTENDED_DESCRIPTION; private static final int COST = 1; + private static final int HP_LOSS = 5; public Purge() { super(ID, NAME, Conspire.cardImage(ID), COST, DESCRIPTION, CardType.SKILL, CardColor.RED, CardRarity.RARE, CardTarget.NONE); @@ -28,7 +32,8 @@ public Purge() { @Override public void use(AbstractPlayer p, AbstractMonster m) { - this.calculateCardDamage(m); + AbstractDungeon.actionManager.addToBottom(new VFXAction(new OfferingEffect(), 0.5f)); + AbstractDungeon.actionManager.addToBottom(new LoseHPAction(p, p, HP_LOSS)); AbstractDungeon.actionManager.addToBottom(new PurgeAction(1, false, false, false, false)); } diff --git a/src/main/resources/conspire/localization/eng/conspire-cards.json b/src/main/resources/conspire/localization/eng/conspire-cards.json index d46f03e..2279a17 100644 --- a/src/main/resources/conspire/localization/eng/conspire-cards.json +++ b/src/main/resources/conspire/localization/eng/conspire-cards.json @@ -14,7 +14,7 @@ }, "conspire:Purge": { "NAME": "Purge", - "DESCRIPTION": "Exhaust a card in your hand and permanently remove it from your deck. NL Exhaust.", + "DESCRIPTION": "Lose 5 HP. NL Exhaust a card in your hand and permanently remove it from your deck. NL Exhaust.", "EXTENDED_DESCRIPTION": [ "Exhaust and remove from your deck" ]