thanks to your demo. I solved this problem by replacing "Agility" with "agility"
Viewing post in How would I do this? (Q&A Thread)
For example, this is a card target to teammate:
<Card Actions>
Select 1 from hand
Add Selected to "Target's" hand
Clear Selection
</Card Actions>
<Card Target Actions>
Select 1 from hand
Add Selected to "User's hand"
Clear Selection
</Card Target Actions>
This is my aim. But I dont know how to express" target". And I aslo tried this:
"<Card Target Actions>
Select 1 from discard
Eval user.actorId(2).addCardToZone([SceneManager._scene._cardSelectionWindow.selectedCards()[0]._skillId],"hand")
Clear Selection
</Card Target Actions>"
But I dont know why 2nd actor did not add card to hand