Skip to content

Commit

Permalink
Fix FPTP bonus condition
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed May 8, 2018
1 parent f1ee697 commit dfeed6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/Result.js
Expand Up @@ -70,8 +70,8 @@ const BonusList = [
},
{
name: 'First past the post',
desc: 'Win with non-positive hp, or foe loses with positive hp',
func: game => game.player1.hp <= 0 || game.player2.hp > 0 ? 0.1 : 0,
desc: 'Win with non-positive hp, or foe loses from damage with positive hp',
func: game => game.player2.deck.length && (game.player1.hp <= 0 || game.player2.hp > 0) ? 0.1 : 0,
},
{
name: 'Grounds Keeper',
Expand Down

0 comments on commit dfeed6f

Please sign in to comment.