Help Writing a Card Script (Almost Working)
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Help Writing a Card Script (Almost Working)
by pongox » 18 Sep 2018, 22:29
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.)
(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.)
- Attachments
-
- Save.txt
- (1.44 KiB) Downloaded 185 times
- pongox
- Posts: 1
- Joined: 18 Sep 2018, 22:22
- Has thanked: 0 time
- Been thanked: 0 time
Re: Help Writing a Card Script (Almost Working)
by austinio7116 » 24 Sep 2018, 20:15
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.
-
austinio7116 - Posts: 451
- Joined: 10 Mar 2017, 11:59
- Has thanked: 47 times
- Been thanked: 169 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 112 guests