Auto accept/decline @Hellfish
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
4 posts
• Page 1 of 1
Auto accept/decline @Hellfish
by Forger » 18 Sep 2011, 14:55
Hi, I noticed you added this function in 10450, sounds great but how does it exactly work? Right clicking/middle mouse doesnt seem to do anything when one pops up. No context menu or anything.
*Added a context menu to the stack items of optional triggers that lets you specify wether to always accept them,always decline them or always ask(default). Just right click! (The choice you make resets at the start of each game)
Re: Auto accept/decline @Hellfish
by Hellfish » 18 Sep 2011, 15:17
Works fine for me. :S What card was the trigger from? Was the item on the stack marked with "(OPTIONAL)"?
There is a possibility that some hardcoded triggered optional abilities aren't marked to use this functionality as they should be.
There is a possibility that some hardcoded triggered optional abilities aren't marked to use this functionality as they should be.
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
Re: Auto accept/decline @Hellfish
by Forger » 18 Sep 2011, 16:37
Yes that was the case here, first card I tested it with Sylvan Library, but it indeed works with cards that show "(OPTIONAL)".
Thanks for the quick answer and implementing this in the first place!
Thanks for the quick answer and implementing this in the first place!
Re: Auto accept/decline @Hellfish
by Hellfish » 18 Sep 2011, 16:44
No problem, I will take a look through our hardcoded triggers to fix this. 
EDIT: My mind has completely gone, the system didn't cater to hardcoded triggers in the first place.. Nevertheless, I will attempt to fix this!
EDIT: Hardcoded triggers that can be converted to using Trigger objects should be no problem. Sylvan Library is fixed for instance.

EDIT: My mind has completely gone, the system didn't cater to hardcoded triggers in the first place.. Nevertheless, I will attempt to fix this!
EDIT: Hardcoded triggers that can be converted to using Trigger objects should be no problem. Sylvan Library is fixed for instance.
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 36 guests