kellyelton/OCTGN — Issue #143: Allow specific actions in the definition, to be available even on cards you do not control.
Author: db0
Created: 2012-02-14 08:22:07+00:00
State: open

I'd like to be able to define specific actions in my game definition, that should be available on the card's context menu, even if you do not control said card. These are going to be things that require the action to know some variable related to the actor, rather than the card itself.

To give you an example, in Doomtown, when you ace (kill) specific undead dudes, the person who aced them, needs to pull a card from their own deck and compare its value with the aced card. If only the person who controls the card can ace however, there is no way for the script to know who aced the card and make the pull from the appropriate deck. They could take control of the card and then ace it, but that's obviously not optimal.

There are many other scenarios like that. For example, I'd like to have a "Quick Poker hand" function, that pulls 5 cards from the a deck and makes a poker hand. This needs to also be playable from other people's decks, since there are cards that force you to. I'm thinking I should be able to define this action on the definition, and just set an extra property on it, such as "Non-controller = True" on the xml which would make it available, even if you right-click on a Deck pile you do not control.