Skip to content

Commit 0b63b6e

Browse files
committed
Minor rogue run fixes
1 parent bdb91d0 commit 0b63b6e

4 files changed

Lines changed: 22 additions & 16 deletions

File tree

spellsource-cards-git/src/main/resources/cards/uncollectible/rogue/equipment_emperor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "ENCHANTMENT",
44
"heroClass": "ANY",
55
"rarity": "LEGENDARY",
6-
"description": "",
6+
"description": "At the end of your turns, reduce the cost of cards in your hand by (1).",
77
"trigger": {
88
"eventTrigger": {
99
"class": "TurnEndTrigger",

spellsource-graphql/graphql/shared/fragments/entitySummary.graphql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ fragment entitySummary on Entity {
88
rarity
99
owner
1010
manaCost
11+
baseManaCost
1112
attack
13+
baseAttack
1214
hp
15+
baseHp
1316
maxHp
1417
armor
1518
playable

spellsource-server/src/main/java/com/hiddenswitch/framework/impl/RogueManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public static Future<Long> makeRogueChoice(long choiceId, List<Integer> choices)
152152
} else {
153153
var random = new XORShiftRandom(seedState);
154154
var newCards = getCardChoices(random, rogueRun.getHeroClass(), choice.getType(),
155-
choice.getCanPick() - choices.size(), deck);
155+
choices.size(), deck);
156156
seedState = random.getState();
157157

158158
var newChoices = choice.getCards();

0 commit comments

Comments
 (0)