-
Notifications
You must be signed in to change notification settings - Fork 291
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
Quirks misc code changes #4944
Quirks misc code changes #4944
Conversation
|
||
/** | ||
* Sets the value | ||
* | ||
* @param value value to set | ||
*/ | ||
public abstract void setValue(Object value); | ||
void setValue(Object value); |
Check notice
Code scanning / CodeQL
Confusing overloading of methods Note
setValue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
legacy issue. Seems no problem at this moment. I tried, can't just remove it.
I've been testing the Quirks branch's and everything seems to work. But I haven't tested a unit with every quirk. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One or two loose questions/thoughts.
Hehe I gave myself some conflicts :) |
# Conflicts: # megamek/src/megamek/common/options/Quirks.java
Looking at allowing Quirk editing in MML, so I really needed some API improvements for Quirks and WeaponQuirks. Also updates and condenses the Quirks validity checks.
In the MechSummary, the weapon quirks list now shows the weapon location. In the weapon list, weapons with quirks get a (Q) marker.