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

Bunch of fixes #1963

Merged
merged 7 commits into from
Nov 24, 2022
Merged

Bunch of fixes #1963

merged 7 commits into from
Nov 24, 2022

Conversation

tool4ever
Copy link
Contributor

@tool4ever tool4ever commented Nov 24, 2022

  • I'm kind of hoping this speeds the AI up a bit, as the canPlay check was being called lots of times and can also get complex in some scenarios.
    (There's no reason to provide it with fully updated View as its spell selection is thankfully not done by iterating via some kind of GUI interaction 😄 )

  • Cherry-picked phasing fix from Timestamp rework #117 and extended it, e.g. phased out Haunted Plate Mail will no longer become animated or still be able to attach

  • Fix Out of Time counting cards with CantPhaseOut

@tool4ever tool4ever added AI General AI tag Card Cleanup Improving less than ideal (but not bugged) card scripts Card Patch Fixing bugged card scripts labels Nov 24, 2022
@tool4ever tool4ever marked this pull request as draft November 24, 2022 08:45
@tool4ever tool4ever marked this pull request as ready for review November 24, 2022 12:20
@Agetian
Copy link
Contributor

Agetian commented Nov 24, 2022

Looks good and reasonable to me :) 👍

@kevlahnota kevlahnota merged commit 58ea27b into Card-Forge:master Nov 24, 2022
@Hanmac
Copy link
Contributor

Hanmac commented Nov 25, 2022

@tool4ever you could pick up more changes from that timestamp rework branch

like the unneeded check for "can be targeted" in the GameEffects, the MagicStack should already handle that

@tool4ever tool4ever deleted the fixes24 branch November 27, 2022 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI General AI tag Card Cleanup Improving less than ideal (but not bugged) card scripts Card Patch Fixing bugged card scripts Game Mechanics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants