Page 1 of 1

Help Writing a Card Script (Almost Working)

PostPosted: 18 Sep 2018, 22:29
by pongox
Hi, I'm trying to piece together a script for the new, unreleased card Etrata, the Silencer. I've gotten it to be unblockable, exile a creature defending player controls when it hits, and put a counter on it (I'm using egg counters as the program had problems with hit counters.) I'm currently stuck on checking the number of creatures in exile with egg counters on them and using the number I get back from that to cause the defending player to lose the game. Any help would be appreciated. I attached the txt file below. Thank you!

(I know it doesn't shuffle itself in yet with my script, I was waiting until I got the loss trigger right for time purposes.)

Re: Help Writing a Card Script (Almost Working)

PostPosted: 24 Sep 2018, 20:15
by austinio7116
I think it may be the Card.DefenderOwns - perhaps it should be DefenderCtrl - I cannot see any other script that contains DefenderOwns anywhere, so it may not be an option.