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

Mega-Combo-PR. Fixed some typos, and some exceptions. #78

Open
wants to merge 9 commits into
base: gh-pages
Choose a base branch
from
Open

Mega-Combo-PR. Fixed some typos, and some exceptions. #78

wants to merge 9 commits into from

Conversation

Sleet01
Copy link
Contributor

@Sleet01 Sleet01 commented May 20, 2017

Found typos using NetBeans IDE.
Then squashed some other clean-up check-ins.

  1. There were a handful of minor syntax errors across three files that NetBeans found while importing the repo.
  2. Fix to scroll handling in the sidebars. This was throwing an exception.
  3. Fix for Bodhi crew card exception.
  4. A possible fix for Alliance Overhaul not finding the "activeweapon" of its ship while under AI control.

Sleet01 added 4 commits May 19, 2017 22:51
Found typos using NetBeans IDE.
Then squashed two other clean-up check-ins.

Possibly okay?

Remove extraneous file
I *believe* currentTarget.id is the id that is relevant to scrolling in
this context.
Bodhi was not getting a gettargetableunits prototype with a .vanilla
member, because while wrap_after adds a .vanilla to /his/
gettargetableunits, it does not modify the
Unit.prototype.gettargetableunits.
Also, the call needs to include the unit from which to measure, not the
list of valid targets itself.
Activeweapon is not a member of this, m, n, or d.   This.weapon.unit /
this has an activeweapon member but in this context it's set to -1,
which would probably cause an out of range exception too.

But each weapon has the .isactive member which, at least in this case,
is true.  So this seems like a safe way to select a valid active weapon
for Alliance Overhaul-equipped ARC-170s.
@Sleet01 Sleet01 changed the title Fixed some typos. Mega-Combo-PR. Fixed some typos, and some exceptions. May 27, 2017
Sleet01 added 5 commits May 27, 2017 00:51
…he log

Updated Latts Razzi crew card to output stress source, Evade
benificiary, and Latts' name, instead of the entirety of the Latts Razzi
card and then Latts' name.
Latts Razzi crew card was printing its entire contents into the log
window, rather than just its name.  Also, it did not indicate which card
it was pulling the stress from.  This fix alleviates both problems.
I was holding off on checking in the compiled version, so that the
XWS-Bench repo could import my changes without immediately changing the
hosted code itself.  But I eventually decided to check in the compiled,
minified code so that people can test my changes for themselves, via my
cloned repo.
Several calls were wrong.
Note: Snapshot still does not work correctly.
xws-bench pushed a commit that referenced this pull request Apr 7, 2018
Laser -> Turretlaser should be sufficient for this fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant