Card-Forge / Card-Forge/forge

Zur curses himself with Stuck in Summoner's Sanctum

Open
#8,702 2 comments 0 reactions 2 assignees Assigned to @Hanmac View on GitHub
AI Game Mechanics keep
Dominant language
Java
Stars
2.7k
Forks
1.1k
Avg merge
1d 1h
Merged PRs (30d)
163

Description

I know the art is nice, but _Stuck in Summoner's Sanctum_ has `SVar:AttachAILogic:Curse`. `SpellAbility.isCurse` only checks for `hasParam("IsCurse");` which _Torture_ has but only because that's an ability param. `Card.isCurse` checks `getType().hasSubtype("Curse");` so is for the Magic type Curse. Only `TokenAi.tgtRoleAura` checks the right part with `boolean isCurse = "Curse".equals(sa.getParam("AILogic")) || "Curse".equals(tok.getSVar("AttachAILogic"));` but Zur is not a token. My build is dirty but i don't see where evil auras avoid one's own nontoken permanents by checking `AttachAILogic`. Hold on, `AttachAILogic` is turned into `AILogic` in `CardState.getAuraSpell`... `AILogic.*Curse` only occurs in the token code and `useRemovalNow` so also doesn't apply.

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.