Skip to content

Conversation

AlexOn1ine
Copy link
Collaborator

@AlexOn1ine AlexOn1ine commented Sep 18, 2025

Closes #6286
#7748 follow up.

Makes AI calcs more accurate and should also improve speed a bit since we get both ability and the held effect for free in majority of cases.

For the future, functions that are going to be used for AI should ideally have all needed values passed down as args. This usually avoids a lot of recalculations of data and makes it more accurate. A side benefit is that we get a lot of values for free anyways because they were used in a parent function.

@AlexOn1ine AlexOn1ine added category: battle-mechanic Pertains to battle mechanics General Doesn't fit under other labels labels Sep 18, 2025
@Bassoonian Bassoonian merged commit 66b7a7b into rh-hideout:upcoming Sep 24, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: battle-mechanic Pertains to battle mechanics General Doesn't fit under other labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants