A guide to the AI of planeswalkers using ability factories
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
33 posts
• Page 3 of 3 • 1, 2, 3
Re: A guide to the AI of planeswalkers using ability factori
by Sloth » 07 Nov 2011, 08:02
I think the easiest way would be to add a Sacrifice parameter to AF Destroy. It would look a bit strange, but the code change is the same as with the "NoRegen" parameter.slapshot5 wrote:Uhh, No, I don't think so. I swear I copied something for that. But, I don't see what that would have been in a current search. I'll revert until it can be done.friarsol wrote:slapshot, did you make code changes in AF_Sacrifice to support the second ability? http://cardforge.org/bugz/view.php?id=543
-slapshot5
EDIT: We could also add a Destroy parameter to AF Sacrifice to support Imperial Edict and Wei Assassins.
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: A guide to the AI of planeswalkers using ability factori
by ArsenalNut » 07 Nov 2011, 17:51
I bet you copied the second ability of Garruk the Veiled Curse. It had it a similar problem to Sarkhan the Mad before I checked in a fix. As a side note, the fixed second ability of Garruk the Veiled Curse plays kind of weird. The sacrifice AF doesn't wait for the human choice before displaying the library choice. There is TODO in the Sacrifice AF about this issue so I didn't think it needed a bug report.slapshot5 wrote:Uhh, No, I don't think so. I swear I copied something for that. But, I don't see what that would have been in a current search. I'll revert until it can be done.friarsol wrote:slapshot, did you make code changes in AF_Sacrifice to support the second ability? http://cardforge.org/bugz/view.php?id=543
-slapshot5
So many cards, so little time
-
ArsenalNut - Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: A guide to the AI of planeswalkers using ability factori
by Milod » 11 Dec 2011, 09:52
elspeth tirel summons creatures first then uses her ultimate ability to destroy her own creatures 

33 posts
• Page 3 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 18 guests