-
-
Notifications
You must be signed in to change notification settings - Fork 418
Adjust Guardian Spell usage by AI #10431
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
base: master
Are you sure you want to change the base?
Conversation
It should depend on AI role of a hero.
| Rand::Shuffle( spells ); | ||
|
|
||
| const int32_t spellMultiplier = Difficulty::getGuardianSpellMultiplier( Game::getDifficulty() ); | ||
| int32_t spellMultiplier = Difficulty::getGuardianSpellMultiplier( Game::getDifficulty() ); |
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.
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.
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.
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
|




It should depend on AI role of a hero.