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

Remove unintentional enemy skill dependence on resource balance setting #2789

Conversation

jaj22
Copy link

@jaj22 jaj22 commented Jun 11, 2023

What type of PR is this.

  1. Bug
  2. Change
  3. Enhancement

What have you changed and why?

The enemy skill calculation had an unintentional dependence on the resource balance setting, so setting resource balance to Hard would increase enemy skill substantially for high player counts. This PR fixes this by calculating directly from active player count instead.

The calculation works out pretty close to previous values (at Normal) for most of the player count range, with a small reduction at very high player counts.

Please specify which Issue this PR Resolves.

closes #XXXX

Please verify the following and ensure all checks are completed.

  1. Have you loaded the mission in LAN host?
  2. Have you loaded the mission on a dedicated server?

Is further testing or are further changes required?

  1. No
  2. Yes (Please provide further detail below.)

@jaj22 jaj22 added the Bug-fix label Jun 11, 2023
@Bob-Murphy Bob-Murphy added this to the 3.3 milestone Jun 25, 2023
Copy link

@Bob-Murphy Bob-Murphy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Bob-Murphy Bob-Murphy merged commit 0da750d into official-antistasi-community:unstable Jun 25, 2023
@Bob-Murphy Bob-Murphy added the Added to changelog Added to changelog label Jul 25, 2023
igorkis-scrts pushed a commit to igorkis-scrts/A3-Antistasi-Plus that referenced this pull request Aug 8, 2023
…I-skill-dependency

Remove unintentional enemy skill dependence on resource balance setting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants