Skip to content

Commit

Permalink
minor other fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkVexon committed Jan 26, 2020
1 parent 0ea1725 commit c7fbee6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/theHexaghost/actions/BurningHitAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private void TOASTY() {
tmp = target.currentHealth;
}
if (tmp > 0) {
AbstractDungeon.actionManager.addToBottom(new BurnAction(((AbstractMonster)target), tmp));
AbstractDungeon.actionManager.addToTop(new BurnAction(((AbstractMonster)target), tmp));
}
}
}
3 changes: 2 additions & 1 deletion src/main/java/theHexaghost/cards/PhantomFireball.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package theHexaghost.cards;

import com.megacrit.cardcrawl.actions.AbstractGameAction;
import com.megacrit.cardcrawl.actions.common.DamageAction;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.monsters.AbstractMonster;
import theHexaghost.powers.BurnPower;
Expand Down Expand Up @@ -28,7 +29,7 @@ public void use(AbstractPlayer p, AbstractMonster m) {
public void update() {
isDone = true;
if (m.hasPower(BurnPower.POWER_ID)) {
dmg(m, makeInfo(), AttackEffect.FIRE);
addToTop(new DamageAction(m, makeInfo(), AttackEffect.FIRE));
}
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/theHexaghost/cards/seals/SecondSeal.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public SecondSeal() {
}

public void realUse(AbstractPlayer p, AbstractMonster m) {
applyToSelf(new GoldPostCombatPower(1));
applyToSelf(new GoldPostCombatPower(5));
AbstractDungeon.getCurrRoom().addGoldToRewards(5);
}
}
3 changes: 2 additions & 1 deletion src/main/java/theHexaghost/vfx/SpookyFlameBarrier.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import com.megacrit.cardcrawl.core.CardCrawlGame;
import com.megacrit.cardcrawl.core.Settings;
import com.megacrit.cardcrawl.dungeons.AbstractDungeon;
import com.megacrit.cardcrawl.helpers.ImageMaster;
import com.megacrit.cardcrawl.vfx.AbstractGameEffect;
import com.megacrit.cardcrawl.vfx.BorderFlashEffect;
import com.megacrit.cardcrawl.vfx.BorderLongFlashEffect;
Expand All @@ -34,7 +35,7 @@ public void update() {
if (this.flashedBorder) {// 32
CardCrawlGame.sound.play("ATTACK_FLAME_BARRIER", 0.05F);// 33
this.flashedBorder = false;// 34
AbstractDungeon.effectsQueue.add(new BorderFlashEffect(new Color(1.0F, 1.0F, 0.1F, 1.0F)));// 35
AbstractDungeon.effectsQueue.add(new BorderFlashEffect(new Color(0.1F, 1.0F, 0.1F, 1.0F)));// 35
AbstractDungeon.effectsQueue.add(new BorderLongFlashEffect(new Color(0.1F, 1.0F, 0.1F, 1.0F)));// 36
}

Expand Down

0 comments on commit c7fbee6

Please sign in to comment.