#357
Solved
card.target issues
Reported by brine on OCTGN · 09/03/2011 01:57:55
- Assigned to:
- jods
- Priority:
- Normal
- Status:
- Solved
- Category:
- Game scripts
- Version:
- 0.9.*
- Issue type:
- Feature
It’s so tough to report these as bugs since it may just be that I don’t know how to write the script properly, but it seems that there’s no way to select cards with targets on them.
For example, the code:
groupA = (card for card in table
if card.controller == me
and card.target(True))
running this in a definition will add the target to all cards I control, instead of selecting them like it is supposed to. It would be nice to have scripts be able to do things like counting cards with the target on them, as targetting is one of the few actions that can safely be done on opponent’s cards.
Attachments
No attachment has been uploaded, yet.
Loading comments...