|
1 | 1 | <template> |
2 | 2 | <div> |
3 | | - <TopNavbar :username="currentUser.username"></TopNavbar> |
| 3 | + <TopNavbar :username="currentUser.username"></TopNavbar> |
4 | 4 | <div v-if="!doneLoading"> |
5 | 5 | <h1 class="deckbuilder-deck-name">Loading Deck Builder...</h1> |
6 | 6 | </div> |
|
39 | 39 | ------------------------------------------------- |
40 | 40 | "SICKNESS" | SICKNESS | 1 or 0, or empty (for cards where n/a) |
41 | 41 | "MANA_COST" | MANA_COST | n, or empty (for cards n/a) |
| 42 | + "MANA_UPKEEP" | MANA_UPKEEP | n, or empty (for card n/a) |
42 | 43 | "ATTACK" | ATTACK | n, or empty (for cards n/a) |
43 | 44 | "HEALTH" | HEALTH | n, or empty (for cards n/a) |
44 | 45 | "ATTACK_AVAILABLE" | ATTACK_AVAILABLE | 1, or empty (when explicit 0 n/a) |
|
55 | 56 | <th>Type</th> |
56 | 57 | <th>Name</th> |
57 | 58 | <th>Count</th> |
58 | | - <th>Mana</th> |
59 | | - <th style="width: 100px">A / H</th> |
60 | | - <th>Sick</th> |
61 | | - <th>Akt?</th> |
62 | | - <th>FX</th> |
| 59 | + <th v-if="this.currentUser.game.mod === 'Mythos'">Mana Cost / Upkeep</th> |
| 60 | + <th v-else>Mana Cost</th> |
| 61 | + <th style="width: 100px">Attack / Health</th> |
| 62 | + <th>Sickness</th> |
| 63 | + <th>Attack?</th> |
| 64 | + <th>Effect</th> |
63 | 65 | <th>?</th> |
64 | 66 | </tr> |
65 | 67 | <tr v-for="card in cards"> |
|
76 | 78 | <button @click="increment(card)" type="button" class="btn btn-xs btn-default fa fa-plus"></button> |
77 | 79 | </div> |
78 | 80 | </td> |
79 | | - <td style="text-align: center;">{{card.properties.MANA_COST}}</td> |
| 81 | + <td style="text-align: center;"> |
| 82 | + <span v-if="card.properties.MANA_UPKEEP" style="font-size: 1.0em;"> |
| 83 | + {{`${card.properties.MANA_COST} / ${card.properties.MANA_UPKEEP}`}} |
| 84 | + </span> |
| 85 | + <span v-else style="font-size: 1.0em;"> |
| 86 | + {{card.properties.MANA_COST}} |
| 87 | + </span> |
| 88 | + </td> |
80 | 89 | <td style="font-weight: bold; text-align: center;"> |
81 | 90 | <span v-if="card.properties.ATTACK" style="font-size: 1.0em;">{{card.properties.ATTACK}}</span> |
82 | 91 | <span v-if="!card.properties.ATTACK" style="font-size: 1.0em; color: red;">-</span> |
|
86 | 95 | </td> |
87 | 96 | <td style="text-align: center;">{{card.properties.SICKNESS}}</td> |
88 | 97 | <td style="text-align: center;"> |
89 | | - <span v-if="card.properties.ATTACK_AVAILABLE" style="font-size: 0.8em; color: green;">Yes</span> |
90 | | - <span v-if="!card.properties.ATTACK_AVAILABLE" style="font-size: 0.8em; color: red;">No</span> |
| 98 | + <span v-if="card.properties.ATTACK_AVAILABLE" style="font-size: 1.0em; color: green;">Yes</span> |
| 99 | + <span v-if="!card.properties.ATTACK_AVAILABLE" style="font-size: 1.0em; color: red;">No</span> |
91 | 100 | </td> |
92 | 101 | <td style="text-align: center;"> |
93 | 102 | {{card.properties.effect}} |
|
0 commit comments