Skip to content

[don't merge] Fix show ward on disguised and cloaked cards#15470

Open
nandmp wants to merge 1 commit into
magefree:masterfrom
nandmp:fixDisguisedCloakedWard
Open

[don't merge] Fix show ward on disguised and cloaked cards#15470
nandmp wants to merge 1 commit into
magefree:masterfrom
nandmp:fixDisguisedCloakedWard

Conversation

@nandmp

@nandmp nandmp commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Fixes #15190

@xenohedron

Copy link
Copy Markdown
Contributor

Could you show a screenshot of this working?

Could you test with cloaking a card that intrinsically has ward ability? Don't want to leak info in that scenario

@nandmp

nandmp commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author
Screenshot 2026-07-01 at 15 39 33

It would be nice if it were to show the original face down card like it does on arena as well.
Abilities which trigger when the card is turned face up are currently also visible to the controller, why not also the original card text?

@JayDi85 JayDi85 changed the title Fix show ward on disguised and cloaked cards [don't merge] Fix show ward on disguised and cloaked cards Jul 1, 2026
Ability newAbility = blueprintAbility.copy();
newAbility.setRuleVisible(CardUtil.isInformationAbility(newAbility));
newAbility.setRuleVisible(CardUtil.isInformationAbility(newAbility) || (newAbility instanceof WardAbility &&
(faceDownType == FaceDownType.DISGUISED || faceDownType == FaceDownType.CLOAKED)));

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thats wrong place.

There is other place to text hint inject (see constructor).
There is related issue to hide some face down info (#13431).
There is special unit test for it: test_NormalPlay_ClientData_CostRulesVisible

I'll try to research and fix it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cryptic Coat "Cloak" token issues (No art, no text box, etc)

3 participants