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

Character Generation: any special ability that has a dropdown does not incur a deduction from your pool of available character generation xp. #66

Closed
sldfgunslinger2766 opened this issue Apr 15, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@sldfgunslinger2766
Copy link

Build Date: 2024-04-04T20:05:33.009448
Today: 2024-04-14
Origin Project: MekHQ
Java Vendor: Eclipse Adoptium
Java Version: 11.0.20
Platform: Windows 10 10.0 (amd64)
System Locale: en_US
Total memory available to MekHQ: 2 GB

During the initial character set up in the Young Wolves Story Arc, when choosing an SPA that has a dropdown, selecting an option does not deduct xp from the pool available. If a selection is made and then an SPA option with a checkbox is enabled and then disabled, the xp count decrements accordingly. Posting issue at Taharqa's request after raising the issue in the Story Arcs Channel of the Megamek Discord on 4/13/24.

@sldfgunslinger2766 sldfgunslinger2766 changed the title Character Generation:ny special ability that has a dropdown does not incur a deduction from your pool of available character generation xp. Character Generation: any special ability that has a dropdown does not incur a deduction from your pool of available character generation xp. Apr 15, 2024
@AaronGullickson AaronGullickson self-assigned this Apr 15, 2024
@AaronGullickson AaronGullickson added the bug Something isn't working label Apr 15, 2024
@AaronGullickson AaronGullickson added this to the Story Arcs Beta 0.4 milestone Apr 15, 2024
@AaronGullickson
Copy link
Owner

This requires adding a listener in megamek to listen for changes to drop down JComboBoxes. I added that PR in MegaMek/megamek#5369. Once that is merged, I just need to add the following to CreateCharacterDialog:

@Override
public void optionSwitched(DialogOptionComponent comp, IOption option, int i) {
    refreshXpSpent();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants