Cards with counter related triggered abilities change zone
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
4 posts
• Page 1 of 1
Cards with counter related triggered abilities change zone
by Sloth » 14 Jun 2011, 14:52
Here is a possible fix for the bugs relating cards with counter related triggered abilities changing zones (Chalice of the Void, Allies):
1. copyCard will now copy all counters (used in changeZone).
2. if the destination is not battlefield remove all counters (like it used to be).
I coded it up, but before I'm going to submit it, I ask you:
Are there any problems with this?
1. copyCard will now copy all counters (used in changeZone).
2. if the destination is not battlefield remove all counters (like it used to be).
I coded it up, but before I'm going to submit it, I ask you:
Are there any problems with this?
-

Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Cards with counter related triggered abilities change zo
by jeffwadsworth » 14 Jun 2011, 16:00
Good find.Sloth wrote:Here is a possible fix for the bugs relating cards with counter related triggered abilities changing zones (Chalice of the Void, Allies):
1. copyCard will now copy all counters (used in changeZone).
2. if the destination is not battlefield remove all counters (like it used to be).
I coded it up, but before I'm going to submit it, I ask you:
Are there any problems with this?
- jeffwadsworth
- Super Tester Elite
- Posts: 1172
- Joined: 20 Oct 2010, 04:47
- Location: USA
- Has thanked: 287 times
- Been thanked: 70 times
Re: Cards with counter related triggered abilities change zo
by Sloth » 14 Jun 2011, 20:41
I've submitted the fix. Report if you notice anything wrong.
-

Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Cards with counter related triggered abilities change zo
by Hellfish » 15 Jun 2011, 09:18
Once we implement Commander cards, Skullbriar, the Walking Grave could do with a scriptable exemption from the removal of counters.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-

Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 33 guests