Board index Programs with AI or Rules Enforcement Magic: The Gathering - Duels of the Planeswalkers Programming Talk
Trying to code Day's Undoing for DOTP 2014
Moderator: CCGHQ Admins
Re: Trying to code Day's Undoing for DOTP 2014
by Xander9009 » 22 Aug 2015, 21:40
The code uses ZONE_ANYWHERE, so the only ones that should be unaffected should be those in exile. And it filters for all card types, including lands. I'll have to test it to be sure, but it should already prevent lands being played.
I'll go ahead and add the can't attack characteristic just to be on the safe side, but it should be unnecessary because the combat phase is skipped. Better safe than sorry, though.
I'll go ahead and add the can't attack characteristic just to be on the safe side, but it should be unnecessary because the combat phase is skipped. Better safe than sorry, though.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
16 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 4 guests