Discard Hidden after defending?

By Alarin, in Imperial Assault Rules Questions

Hi,

The title says it. In a thread on bgg they say you only discard it after the attack if you are the attacker. Couldn't find any other confirmation. Is that legal way to play?
Thanks!

Hidden Condition wrote:
While defending, apply -2 Accuracy to the attack results.
While attacking, apply +1 pic2477003.png to the attack results.
After you resolve an attack, you must discard this condition.
Edited by Alarin

The target of an attack does not discard its conditions, because the target isn't resolving an attack, the attacker is resolving an attack.

"After you resolve an attack, you must discard this condition."

Many cards use the word "you" to refer to a figure instead of the player. For example, if a Deployment card
reads "While attacking, you may reroll 1 or more attack dice" each figure belonging to that card's group may
use that ability. If an ability requires "you" to exhaust the card, then only the figure paying the exhaust cost can
use the ability.
* If an effect corresponding to a figure instructs "you" to claim a token, gain VPs, or manipulate cards, or
refers to "your" army or figures, "you" refers to that figure's player.

Edited by a1bert
28 minutes ago, a1bert said:

The target of an attack does not discard its conditions, because the target isn't resolving an attack, the attacker is resolving an attack.

"After you resolve an attack, you must discard this condition."

Many cards use the word "you" to refer to a figure instead of the player. For example, if a Deployment card
reads "While attacking, you may reroll 1 or more attack dice" each figure belonging to that card's group may
use that ability. If an ability requires "you" to exhaust the card, then only the figure paying the exhaust cost can
use the ability.
* If an effect corresponding to a figure instructs "you" to claim a token, gain VPs, or manipulate cards, or
refers to "your" army or figures, "you" refers to that figure's player.

Thank you!