Skip to content

AttachAi: make KeepTapped logic generic - #7361

Merged
tool4ever merged 3 commits into
masterfrom
attachKeepTappedAi
Apr 8, 2025
Merged

AttachAi: make KeepTapped logic generic#7361
tool4ever merged 3 commits into
masterfrom
attachKeepTappedAi

Conversation

@Hanmac

@Hanmac Hanmac commented Apr 8, 2025

Copy link
Copy Markdown
Contributor

with that we should be able to remove the "KeepTapped" logic from the Auras

@Hanmac Hanmac added Game Mechanics AI General AI tag labels Apr 8, 2025
@Hanmac
Hanmac requested a review from tool4ever April 8, 2025 05:31
@Agetian

Agetian commented Apr 8, 2025

Copy link
Copy Markdown
Contributor

Good idea! 👍

@tool4ever

Copy link
Copy Markdown
Contributor

LGTM

@Hanmac

Hanmac commented Apr 8, 2025

Copy link
Copy Markdown
Contributor Author

@tool4ever do you want to remove the KeepTapped Flag on the Cards with this MR or another one?

@tool4ever

Copy link
Copy Markdown
Contributor

should be done together imo

@Hanmac

Hanmac commented Apr 8, 2025

Copy link
Copy Markdown
Contributor Author

@tool4ever hm there is one of them that isn't a spell:

A:AB$ Attach | Cost$ 3 U | ValidTgts$ Creature | TgtPrompt$ Select target creature | AILogic$ KeepTapped | SpellDescription$ Attach CARDNAME to target creature.

Maybe I should remove the isAuraSpell check?

@tool4ever

Copy link
Copy Markdown
Contributor

it's probably RemoveDeck because of that anyway 🤷‍♂️

@Hanmac

Hanmac commented Apr 8, 2025

Copy link
Copy Markdown
Contributor Author

@tool4ever can you update the cards for me in this MR, or should i do that later?

@tool4ever

Copy link
Copy Markdown
Contributor

maybe on the weekend but not near my IDE right now

@Hanmac

Hanmac commented Apr 8, 2025

Copy link
Copy Markdown
Contributor Author

@tool4ever
Hm apropos attach, we might need to separate the logic between such Auras that keep stuff tapped,
and Equipment like Cement Shoes that does have it as drawback.

i will think about the second ones if they need some extra logic

@Hanmac
Hanmac force-pushed the attachKeepTappedAi branch from 2e813fa to 2223a70 Compare April 8, 2025 18:57
@Hanmac
Hanmac marked this pull request as ready for review April 8, 2025 18:57
@Hanmac

Hanmac commented Apr 8, 2025

Copy link
Copy Markdown
Contributor Author

@tool4ever @Agetian i think this is ready?
i will do the Equipments on a later day

@tool4ever
tool4ever merged commit 8d3e3cb into master Apr 8, 2025
@Hanmac
Hanmac deleted the attachKeepTappedAi branch April 9, 2025 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI General AI tag Game Mechanics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants