Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions balatro-sim.js
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,8 @@ class Hand {
if(card[CARD_DISABLED]) return;
const notStone = card[ENHANCEMENT] !== STONE;

const isFace = this.Pareidolia || (notStone && card[RANK] >= JACK && card[RANK] <= KING);

if(notStone || this.hasVampire) {
this.chips += cardValues[card[RANK]] + card[EXTRA_CHIPS] + card[EXTRA_EXTRA_CHIPS];
}
Expand All @@ -581,7 +583,7 @@ class Hand {
let luckyMoney = 0;
let luckyTriggers = 0;

if(!this.hasVampire) {
if(!this.hasVampire && !(this.MidasMaskas && isFace)) {
switch(card[ENHANCEMENT]) {
case BOUNS:
this.chips += 30;
Expand Down Expand Up @@ -649,8 +651,6 @@ class Hand {
break;
}

const isFace = this.Pareidolia || (notStone && card[RANK] >= JACK && card[RANK] <= KING);

if(notStone) {
for(let j = 0; j < this.jokers.length; j++) {
const joker = this.jokers[j];
Expand Down