Skip to content

Commit

Permalink
update choose modifiers (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpinones authored Nov 4, 2024
1 parent 6b7485e commit 7674e4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/constants/packs.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ fn MODIFIER_CARDS_PACK() -> BlisterPack {
cost: 0,
name: 'modifier_cards_pack',
probability: 100,
size: 10,
size: 6,
cards: array![array![].span(), modifiers_ids_all().span()].span(),
probs: array![100, 100].span(),
}
Expand Down
2 changes: 1 addition & 1 deletion src/systems/game_system.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ mod game_system {
assert(game.substate == GameSubState::DRAFT_MODIFIERS, errors::WRONG_SUBSTATE_DRAFT_MODIFIERS);

let mut blister_pack_result = store.get_blister_pack_result(game.id);
assert(cards_index.len() <= 5, errors::INVALID_CARD_INDEX_LEN);
assert(cards_index.len() <= 3, errors::INVALID_CARD_INDEX_LEN);

select_cards_from_blister(world, ref game, blister_pack_result.cards, cards_index);

Expand Down

0 comments on commit 7674e4c

Please sign in to comment.