-
Notifications
You must be signed in to change notification settings - Fork 29
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
feat: Allow land speeders on raids #386
base: release/0.10.0.0
Are you sure you want to change the base?
Conversation
Reviewer's Guide by SourceryThis pull request introduces a change that allows land speeders to participate in raids. This is achieved by modifying the roster selection logic to include land speeders when the selected drop location is a raid. A new array File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey @OH296 - I've reviewed your changes - here's some feedback:
Overall Comments:
- Please perform and check off the relevant tests, especially Ground Battle testing since this affects combat mechanics
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
if (_allow){ | ||
if (!obj_drop_select.attack){ | ||
|
||
_allow = array_contains(_raid_allowable, _v_role); | ||
} | ||
} | ||
if (_allow){ |
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.
I may be wrong, but shouldn't the check at line 307 be if (!_allow)
?
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.
it's if _allow
as there is no point checking if it's the correct vehicle type if it's already been determined it's in the wrong location which is what the previous checks do
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.
Oh, it's a second level check, sorry.
Just got confused by the two if (_allow)
.
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.
damn missing the cats now
Description of changes
Reasons for changes
Related links
How have you tested your changes?
Summary by Sourcery
New Features: