Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add banned cards to duel rewards? (alongside 2 other small questions) #91

Closed
orwasaker opened this issue Aug 10, 2022 · 3 comments

Comments

@orwasaker
Copy link

If I'm not mistaken, you can win any card from the playable pool in duel rewards

But how do I expand that to include banned cards? Also I'm not exactly sure if limited or semi limited cards are included in those rewards

Would editing the ban list from the files do the job? like if I make pot of greed unlimited would that make it possible to win it from rewards?

Hell if there's a way to just edit the reward pool itself that would be great

P.S: I'm perfectly aware that I can craft and use them, I'm doing a special kind of playthrough where I win them rather than craft them

Small question #1: what does "ProgressiveCardList" do if set to true?

Small question #2: Is there an option to make ALL cards dismantle-able? Or at least an option to empty my card pool completely including the beginner structure deck cards

@pixeltris
Copy link
Owner

The limited list isn't considered when those rewards are given. Banned cards should be available. To specify a specific set of card ids to pull from you add something like "ids": [4007,4008] and it'll only pull from those cards.

ProgressiveCardList is used by a mod that I made for IRL packs. Each new pack which is unlocked then displays those cards in the deck editor. It isn't useful for anything in the regular YgoMaster.

All cards which can be dismantled can be crafted. Therefore you want to set CardCraftableAll to true.

@orwasaker
Copy link
Author

orwasaker commented Aug 11, 2022

All cards which can be dismantled can be crafted

You misunderstood this part of my question, I meant I want all cards to be DISmantale-able, because when emptying my card pool the game still forces me to have the structure decks cards (the Synchro Link and Dragon ones) and those CAN'T be dismantled even in YgoMaster

So my question is, is there a way to either delete those cards from the card pool or make them able to be dismantled so I can empty the pool manually?

you add something like

....add to which file and which line in said file?

@pixeltris
Copy link
Owner

So for structure decks it's hard coded to give you a card which cannot be dismantled. Some additional code would have to be written to convert non-dismantle cards to dismantle cards. You can find your card quantities in Player.json but it wouldn't be feasible to edit manually.

request.Player.Cards.Add(cardId, 1, PlayerCardKind.NoDismantle, CardStyleRarity.Normal);

....add to which file and which line in said file?

Sorry, you'd add it somewhere like here

{
"type": "Card",
"cardRate": [90,10],
"rate": 50
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants