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

CanAbilityX Function Cleanup #6183

Merged
merged 6 commits into from
Feb 5, 2025

Conversation

ghoulslash
Copy link
Collaborator

CanAbilityBlockMove/CanAbilityAbsorbMove were introduced in 1.10.0 and are really nice for syncing code between AI and actual battle engine computations. This PR adds a "runScript" function to each of these to further reduce the overhead of AbilityBattleEffects. It also moves CanPartnerAbilityBlockMove into CanAbilityBlockMove

@ghoulslash ghoulslash added category: battle-mechanic Pertains to battle mechanics type: cleanup labels Feb 4, 2025
Copy link
Collaborator

@AlexOn1ine AlexOn1ine left a comment

Choose a reason for hiding this comment

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

Really nice! Few minor things

@AlexOn1ine AlexOn1ine merged commit dc21bef into rh-hideout:upcoming Feb 5, 2025
1 check passed
@ghoulslash ghoulslash deleted the expansion/canabilityx branch February 6, 2025 18:05
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 type: cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants