Skip to content

Conversation

@ihhub
Copy link
Owner

@ihhub ihhub commented Dec 13, 2025

It should depend on AI role of a hero.

It should depend on AI role of a hero.
@ihhub ihhub added this to the 1.1.13 milestone Dec 13, 2025
@ihhub ihhub self-assigned this Dec 13, 2025
@ihhub ihhub added improvement New feature, request or improvement AI Artificial intelligence behaviour labels Dec 13, 2025
Rand::Shuffle( spells );

const int32_t spellMultiplier = Difficulty::getGuardianSpellMultiplier( Game::getDifficulty() );
int32_t spellMultiplier = Difficulty::getGuardianSpellMultiplier( Game::getDifficulty() );
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be a double value to smooth out the curve. With integer increments of 15 spell points the only situation where it will be cast is impossible difficulty scout or maybe a hunter. Unless boosted by a map maker AI heroes are often underdeveloped.

Copy link
Collaborator

Choose a reason for hiding this comment

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

With the double multiplier we can bump Scout role divisor to 5:

Current values in this PR (Scout-Hunter-Champion):
Normal: 45 - 105 - 210
Hard: 45 - 90 - 180
Impossible: 30 - 60 - 120

Normal: 42 - 105 - 210
Hard: 36 - 90 - 180
Impossible: 24 - 60 - 120

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
1 New Major Issues (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@ihhub ihhub modified the milestones: 1.1.13, 1.2.0 Dec 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Artificial intelligence behaviour improvement New feature, request or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants