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

Princess - enhanced anti-Mech targeting #5602

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
5c980a2
Working commit
Jun 16, 2024
a98eeb5
Primary functions
Jun 17, 2024
e5e01af
Add detailed infantry checks
Jun 17, 2024
38e53a6
Improvements for infantry checking
Jun 17, 2024
dcc6f01
Minor change to equipment ID extraction for checking
Jun 18, 2024
5e31f4c
Refactor blocks of code to separate methods
Jun 18, 2024
2a4dfe5
Factor out code for setting aimed location or called shot directions
Jun 18, 2024
6f9f552
Enhance selection for selecting a leg as the aiming target
Jun 18, 2024
87ca493
Enhance aim location calculation to account for low internal structur…
Jun 18, 2024
0ba1065
Change to what is considered a penetrating hit against an aimed location
Jun 18, 2024
646c15f
Enhance aim location to check for 'big' weapons in an arm
Jun 18, 2024
18863ff
Filter called shots to exclude all anti-Mech attacks except leg attacks
Jun 18, 2024
cb764b5
Exclude called shots from all anti-Mech attacks
Jun 18, 2024
e33d428
Only aim for the legs if this is an anti-Mech leg attack
Jun 18, 2024
8f41487
Use multiple calls to sendCalledShotChange to emulate user button act…
Jun 18, 2024
e276b39
Optimizing 'big' weapon check in arms
Jun 18, 2024
34194e0
Early exit on aiming location if a torso with no armor is found
Jun 18, 2024
fec15a1
Error thrown - picking up MechWarriors as infantry
Jun 18, 2024
4f8dff0
Minor cleanup
Jun 18, 2024
b1f4aa9
Rework how effectiveness of aimed shots are checked
Jun 19, 2024
eedbc8a
Exclude ejected vehicle crews and pilots from using advanced aiming
Jun 19, 2024
8dafbd9
Limit aimed shot evaluation to use against active targets. Aimed shot…
Jun 19, 2024
61d7254
Minor edit for clarity
Jun 19, 2024
967b7d2
Ensure some damage is done when checking for aimed shot viability
Jun 19, 2024
a8e748a
Rebuild of arm weapon check for better loop control
Jun 19, 2024
d75a0c9
Cleanup
Jun 19, 2024
24a2478
Move aimed shot penetration testing into aimed shot location method
Jun 19, 2024
c1d0836
Rebuild called shots evaluation
Jun 19, 2024
3b224f7
Consolidate filtering of non-aimable attacks
Jun 19, 2024
4a6c855
Clean up
Jun 19, 2024
31c55b1
Descriptive comment for filtering target and attacker types
Jun 21, 2024
7c54344
Add null protection on plan.get(0) and replace with local variable to…
Jun 21, 2024
560ac27
Additional null protection, implementation of constants
Jun 21, 2024
7194763
Fixing string comparison method
Jun 21, 2024
f850d0f
Missed null protection case
Jun 21, 2024
949578e
Expanded reasoning for order of torso location selection
Jun 21, 2024
7daa1f9
Merge branch 'refs/heads/master-v3' into Princess-enhanced-antiMech-t…
Jun 22, 2024
f1f4787
Factor out enhanced targeting checking to a separate method
Jun 22, 2024
47e34b3
Replace factored out code with method call. Correct some faulty unit …
Jun 22, 2024
24791a6
Remove some now-redundant local variables
Jun 22, 2024
23e48f4
Minor logic update for calling shots low - weak legs OR high speeds, …
Jun 22, 2024
40a3266
Extract to-hit threshold calculation, and adjust code to suit. Ensur…
Jun 22, 2024
e70d080
Move to-hit threshold, armor, and other checks into specific methods
Jun 23, 2024
125fff8
Add intermediate method to allow handling of different target types
Jun 23, 2024
506edb5
Enable external control of valid target and attacker types
Jun 23, 2024
6c3707a
Add in external controls for using called shots on immobile targets
Jun 23, 2024
048a0c1
Add in external controls for filtering out targets with partial cover
Jun 23, 2024
4a1db55
Add in external control for enabling enhanced targeting, change top-l…
Jun 23, 2024
bb5ce49
Minor typo fixes
Jun 24, 2024
e2084be
Minor typo fixes
Jun 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading