Skip to content

[FE6] version v0.9.1 fails to randomize with both "Strict Matching" and "Randomize Regular Enemies" selected #246

@Denver1701

Description

@Denver1701

When randomizing FE6, attempting to randomize while both the "Strict Matching" weapon assignment and "Randomize Regular Enemies" options are selected will cause the following error message:

Error

Randomization failed with error: Encountered error while randomizing classes.

IllegalArgumentException

Stack Trace:

java.util.Random.nextInt(Unknown Source)
random.gba.loader.ItemDataLoader.getSidegradeWeapon(ItemDataLoader.java:372)
random.gba.randomizer.ClassRandomizer.validateMinionInventory(ClassRandomizer.java:531)
random.gba.randomizer.ClassRandomizer.updateMinionToClass(ClassRandomizer.java:417)
random.gba.randomizer.ClassRandomizer.randomizeMinionClasses(ClassRandomizer.java:304)

The randomizer correctly functions as long as both of these options are not selected at the same time. I tested the same settings in the previous version I was using (v0.8.5) and the issue does not appear to be present in that version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FE6Applies to Fire Emblem: Binding BladebugFor bugs that cause gameplay issues or crashes

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions