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

[MKM] Murders at Karlov Manor Collation #12978

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

tiera3
Copy link
Contributor

@tiera3 tiera3 commented Oct 6, 2024

Original comment I believe there is more work needed for TheList and SpecialGuest cards.

generateBoosterMap

Cards needed are listed in:
private final CardRun list = new CardRun(false, "XLN_91", "DKA_4", "MH2_191", "HOU_149", "RAV_277", "ARB_68", "DIS_173", "ISD_183", "DOM_130", "MH2_46", "RNA_182", "ONS_272", "SOM_96", "VOW_207", "MBS_10", "UMA_138", "DDU_50", "2X2_17", "KLD_221", "M14_213", "UMA_247", "CLB_85", "JOU_153", "APC_117", "STX_220", "SOI_262", "DIS_33", "DKA_143", "ELD_107", "C16_47");
private final CardRun listRare = new CardRun(false, "STX_64", "M20_167", "DST_40", "ONS_89", "WAR_54", "MRD_99", "SOM_98", "C21_19", "MH1_21", "RTR_140");
private final CardRun listGuest = new CardRun(false, "SPG_25", "SPG_27", "SPG_20", "SPG_28", "SPG_24", "SPG_19", "SPG_21", "SPG_26", "SPG_22", "SPG_23" );

I have made an attempt at generateBoosterMap, so hopefully this PR is now complete.

I believe there is more work needed for TheList and SpecialGuest cards.
generateBoosterMap

Cards needed are listed in:
    private final CardRun list = new CardRun(false, "XLN_91", "DKA_4", "MH2_191", "HOU_149", "RAV_277", "ARB_68", "DIS_173", "ISD_183", "DOM_130", "MH2_46", "RNA_182", "ONS_272", "SOM_96", "VOW_207", "MBS_10", "UMA_138", "DDU_50", "2X2_17", "KLD_221", "M14_213", "UMA_247", "CLB_85", "JOU_153", "APC_117", "STX_220", "SOI_262", "DIS_33", "DKA_143", "ELD_107", "C16_47");
    private final CardRun listRare = new CardRun(false, "STX_64", "M20_167", "DST_40", "ONS_89", "WAR_54", "MRD_99", "SOM_98", "C21_19", "MH1_21", "RTR_140");
    private final CardRun listGuest = new CardRun(false, "SPG_25", "SPG_27", "SPG_20", "SPG_28", "SPG_24", "SPG_19", "SPG_21", "SPG_26", "SPG_22", "SPG_23" );
@github-actions github-actions bot added the cards label Oct 6, 2024
@xenohedron xenohedron self-assigned this Oct 6, 2024
corrected typo in RarityConfiguration foilUncommonRuns
fuC (was originally listed as fcC)
@tiera3
Copy link
Contributor Author

tiera3 commented Oct 6, 2024

Just found a typo in RarityConfiguration foilUncommonRuns and corrected it.

It appears I had made an error in my original calculation for commons.
@tiera3
Copy link
Contributor Author

tiera3 commented Oct 13, 2024

deleted since no longer accurate.

I think I've worked out what was needed.
Please check to make sure.
protected void generateBoosterMap() {
super.generateBoosterMap();
for( let cn = 19 ; cn < 29 ; cn++ ){
inBoosterMap.put("SPG_" + cn, CardRepository.instance.findCard("SPG", "" + cn));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must check findCard result and save only non nullable values. inBoosterMap allow only good objects. Also on null values you can raise error about unknown card (it will help to find typo or non-implemented cards in booster settings).

IMG_0900

I am not certain if I used the correct Exception type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants