Board index Programs with AI or Rules Enforcement Magic: The Gathering - Duels of the Planeswalkers Programming Talk
Gatecrash mechanics are all possible in DotP2013
Moderator: CCGHQ Admins
Gatecrash mechanics are all possible in DotP2013
by thefiremind » 07 Jan 2013, 19:46
While RTR had overload which cannot be done in DotP2013 (believe me, I thought about many solutions but they were all far from perfect ), the Gatecrash mechanics are all possible to code. This makes me quite happy.
(Mechanics listed here)
(Mechanics listed here)
- Bloodrush: that's just cycling with a different effect for each creature.
- Extort: you can make it with a conditional cost (not 100% correct because you will be forced to decide before resolution even if the ability isn't targetted) or with a multiple choice query (Mana Leak style), easy anyway.
- Evolve: that's just an enter-the-battlefield trigger that checks for power and toughness of the involved creatures.
- Battalion: when the creature with battalion attacks, check if the attacking creatures are more than 2, and if so, activate the effect.
- Cipher: the most complicated (what could you expect from Dimir? ), but possible. As an additional SPELL_ABILITY, the spells with cipher should let you choose a creature you control and allow to finish early: if you choose a creature, the spell card will be exiled, nailed onto the creature, and that creature will be saved in the spell card's ObjectDC. The spell card will also need a triggered ability that triggers when the saved creature deals combat damage to a player, asks you if you want to play a copy, and if so, plays the copy. Note that the copy shouldn't be able to cipher again: this could be achieved by checking the card's ErstwhileZone (I suppose that a card copy should have ZONE_NOWHERE_YET as ErstwhileZone, but I should test it).
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 721 times
Re: Gatecrash mechanics are all possible in DotP2013
by RiiakShiNal » 08 Jan 2013, 01:06
And of course we already know how to add subtypes (because we did it with creatures a while back) so we can also add the new land subtype "Gate".
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2185
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 496 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 20 guests