LackeyCCG

LackeyCCG Forum => Plugins & Plugin Creation Forum => Topic started by: Shaogen on August 29, 2018, 06:44:45 AM

Title: Ownership of card drawn from a shared Deck
Post by: Shaogen on August 29, 2018, 06:44:45 AM
Hello,
I have a little problem.
I am making a plugin for a card game that use several shared Deck.
In these Decks are cards that need to be taped (like in MTG) tu use their capacities.
The problem is that when a card is drawn from a shared deck (to hand or to the table), the owneship is not given to the player who draw the card, it results in the function ALLYOURCARDMAKERIGHT0DEGREES not working.
It's still possible to untap all the cards one by one, but it can take a lot of time if there is a lot of cards.

Is there any way to make the cards drawn from the shared decks being possessed by the player who draw it?

Thanks.

Regards,

Shaogen
Title: Re: Ownership of card drawn from a shared Deck
Post by: Jerod_tb on August 30, 2018, 10:43:34 AM
You can add the CHANGEOWNER card function.  When you use it on a card some text will appear under the card and will read "controlled."  After you do this when you used the ALLYOURCARDMAKERIGHT0DEGREES function they will untap.  I hope this helps.
Title: Re: Ownership of card drawn from a shared Deck
Post by: Shaogen on August 30, 2018, 11:03:45 AM
Yes, I already made a function to take control, well i guess there is no other solution.
Thanks anyway^^