-
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
Making Supercooled Myomer operational #4111
Conversation
Codecov ReportBase: 23.00% // Head: 22.95% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #4111 +/- ##
============================================
- Coverage 23.00% 22.95% -0.05%
- Complexity 4813 4819 +6
============================================
Files 2264 2282 +18
Lines 249505 250311 +806
Branches 46325 46372 +47
============================================
+ Hits 57398 57460 +62
- Misses 190648 191399 +751
+ Partials 1459 1452 -7
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Looks good, just a few extra brackets
} | ||
if (nhits < hits) { |
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.
} | |
if (nhits < hits) { | |
} | |
if (nhits < hits) { |
} | ||
|
||
/** | ||
* @return the heat generated while the mech is walking. | ||
*/ | ||
public int getWalkHeat(Entity e) { | ||
boolean hasSCM = ((e instanceof Mech) && ((Mech) e).hasWorkingSCM()); |
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.
boolean hasSCM = ((e instanceof Mech) && ((Mech) e).hasWorkingSCM()); | |
boolean hasSCM = (e instanceof Mech) && ((Mech) e).hasWorkingSCM(); |
} | ||
} | ||
|
||
/** | ||
* @return the heat generated while the mech is running. | ||
*/ | ||
public int getRunHeat(Entity e) { | ||
boolean hasSCM = ((e instanceof Mech) && ((Mech) e).hasWorkingSCM()); |
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.
boolean hasSCM = ((e instanceof Mech) && ((Mech) e).hasWorkingSCM()); | |
boolean hasSCM = (e instanceof Mech) && ((Mech) e).hasWorkingSCM(); |
} | ||
} | ||
|
||
/** | ||
* @return the heat generated while the mech is sprinting. | ||
*/ | ||
public int getSprintHeat() { | ||
public int getSprintHeat(Entity e) { | ||
boolean hasSCM = ((e instanceof Mech) && ((Mech) e).hasWorkingSCM()); |
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.
boolean hasSCM = ((e instanceof Mech) && ((Mech) e).hasWorkingSCM()); | |
boolean hasSCM = (e instanceof Mech) && ((Mech) e).hasWorkingSCM(); |
As the title says; SCM was construction-only so far. A difficulty is that SCM is not destroyed upon the first crit which it shares with Partial Wings and Mek shields. There are probably issues with damage to shields and PW which I haven't tried to solve here.
Sadly, there's 0 canon units using SCM.