sIKE23 / Mage-Wars

Mage Wars for OCTGN
7 stars 5 forks source link

Johktari BM's Wounded Prey should work on Guardain Sslak's #290

Open sIKE23 opened 9 years ago

sIKE23 commented 9 years ago

The Gamehost is responsible for setting up the Domination scenario this means the Sslak's are "Friendly" to her. This is something that we need to figure out we need to stop depending on OCTGN control to represent a Friendly creature.

ACG8 commented 9 years ago

We could use card properties to determine which player is the controller and which player is the owner of a card (store player ids as ints). Then we just make sure scenario-controlled cards are owned and controlled by neither player.

sIKE23 commented 9 years ago

I was thinking something close, we could have a hidden property "Friendly" that is set to True by default, and then we could change it to False if it is Scenario, if it is a Team Game, set it to the Friendly Team value that we decide on later. Your new script tool should make this easy. I think my idea might be a bit less flexible than yours.

//FC

On Sun, Sep 13, 2015 at 11:31 AM, Ananda notifications@github.com wrote:

We could use card properties to determine which player is the controller and which player is the owner of a card (store player ids as ints). Then we just make sure scenario-controlled cards are owned and controlled by neither player.

— Reply to this email directly or view it on GitHub https://github.com/sIKE23/Mage-Wars/issues/290#issuecomment-139892815.

ACG8 commented 9 years ago

Well, the property can't just say whether or not a card is friendly; it has to specify friendly relative to which player (hence the player ids).

sIKE23 commented 9 years ago

True! For Co-Op Team play we could replace the player ids with team ids.

//FC

On Sun, Sep 13, 2015 at 2:19 PM, Ananda notifications@github.com wrote:

Well, the property can't just say whether or not a card is friendly; it has to specify friendly relative to which player (hence the player ids).

— Reply to this email directly or view it on GitHub https://github.com/sIKE23/Mage-Wars/issues/290#issuecomment-139909868.

ACG8 commented 9 years ago

If teams are defined by lists of player ids (which I think is probably the easiest way to do it), then we still only need to associate cards with player ids, and we can calculate friendliness by whether a card is controlled by a player contained in the same team as you (the player trying to find out if a card is friendly). I think it would be best to just stick with the basic definition of "friendly if controlled by a friendly player", and handle control ourselves (as opposed to our previous use of OCTGN's definition of card control).