Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
New MTG Cards and Decks (2010, 2012, 2013, 2014, 2015, Magic Duels)
2014




Oath of Druid
Moderator: CCGHQ Admins
Oath of Druid
by demeitri1 » 28 Oct 2014, 17:45
is there a specefic reason this card wasnt coded into anyones wad?

Re: Oath of Druid
by RiiakShiNal » 28 Oct 2014, 23:24
It's probable that no one got around to it. There are more than 10,000 cards and I don't think anyone has the time to code and test them all.
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: 2188
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: Oath of Druid
by thefiremind » 28 Oct 2014, 23:59
I posted some code in the Formal Request Thread, for the sake of keeping all DotP2014 requests together as much as possible. By the way, the errata changed the card a bit: according to the text here, the only requisite for the target is to be an opponent, but now with the errata, the condition for controlling more creatures than the choosing player is a requisite for the target as well (this is much better in DotP because you won't be asked to choose if no opponent controls more creatures than you).
< 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: 722 times
Re: Oath of Druid
by chieuduong » 30 Oct 2014, 03:07
Also you can try code it yourself
Here's something to start with
Name:Oath of Druids
ManaCost:1 G
Types:Enchantment
T:Mode$ Phase | Phase$ Upkeep | Execute$ TrigOathofDruids | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's upkeep, that player chooses target player who controls more creatures than he or she does and is his or her opponent. The first player may reveal cards from the top of his or her library until he or she reveals a creature card. If he or she does, that player puts that card onto the battlefield and all other cards revealed this way into his or her graveyard.
SVar:TrigOathofDruids:AB$ Pump | Cost$ 0 | TargetingPlayer$ TriggeredPlayer | ValidTgts$ Player.OpponentToActive+withMoreCreaturesThanActive | TgtPrompt$ Choose target player who controls more creatures than you and is your opponent | IsCurse$ True | SubAbility$ DBDig
SVar:DBDig:DB$ DigUntil | Defined$ TriggeredPlayer | Valid$ Creature | ValidDescription$ creature card | FoundDestination$ Battlefield | RevealedDestination$ Graveyard | AILogic$ OathOfDruids | Optional$ True
Textbox:At the beginning of each player's upkeep, that player chooses target player who
controls more creatures than he or she does and is his or her opponent. The first player may reveal cards from the top of his or her library until he or she reveals a creature card. If he or she does, that player puts that card onto the battlefield and all other cards revealed this way into his or her graveyard.

Here's something to start with
Name:Oath of Druids
ManaCost:1 G
Types:Enchantment
T:Mode$ Phase | Phase$ Upkeep | Execute$ TrigOathofDruids | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's upkeep, that player chooses target player who controls more creatures than he or she does and is his or her opponent. The first player may reveal cards from the top of his or her library until he or she reveals a creature card. If he or she does, that player puts that card onto the battlefield and all other cards revealed this way into his or her graveyard.
SVar:TrigOathofDruids:AB$ Pump | Cost$ 0 | TargetingPlayer$ TriggeredPlayer | ValidTgts$ Player.OpponentToActive+withMoreCreaturesThanActive | TgtPrompt$ Choose target player who controls more creatures than you and is your opponent | IsCurse$ True | SubAbility$ DBDig
SVar:DBDig:DB$ DigUntil | Defined$ TriggeredPlayer | Valid$ Creature | ValidDescription$ creature card | FoundDestination$ Battlefield | RevealedDestination$ Graveyard | AILogic$ OathOfDruids | Optional$ True
Textbox:At the beginning of each player's upkeep, that player chooses target player who
controls more creatures than he or she does and is his or her opponent. The first player may reveal cards from the top of his or her library until he or she reveals a creature card. If he or she does, that player puts that card onto the battlefield and all other cards revealed this way into his or her graveyard.
-
chieuduong - Posts: 37
- Joined: 30 Sep 2013, 05:09
- Has thanked: 42 times
- Been thanked: 2 times
Re: Oath of Druid
by thefiremind » 30 Oct 2014, 09:05
It's for Forge. Sure it looks simple... but it doesn't help a bit in writing code for DotP.sweetLu wrote:Which engine is that for?

< 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: 722 times
Re: Oath of Druid
by Morden » 30 Oct 2014, 15:20
oh yeah, everyone loves this card 
I made a deck with it, I'll test when I have time

I made a deck with it, I'll test when I have time

Re: Oath of Druid
by Morden » 04 Nov 2014, 12:23
mhmhmh, I think there's something strange....
if the opponent has fewer creatures than me, it's MY choice to activate or not the oath's ability, FOR HIM.
if the opponent has fewer creatures than me, it's MY choice to activate or not the oath's ability, FOR HIM.
Re: Oath of Druid
by thefiremind » 04 Nov 2014, 13:35
You're right, the <MAY /> doesn't work with SetTargetAnswerer. I fixed the code, always here.Morden wrote:mhmhmh, I think there's something strange....
if the opponent has fewer creatures than me, it's MY choice to activate or not the oath's ability, FOR HIM.
< 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: 722 times
Re: Oath of Druid
by mamoul » 04 Nov 2014, 17:51
Now the card works but there's still an issue. In deed, if you don't have any creature in your library, it's the first permanent of your library who is put on the battefield instead of don't put any permanent on the battlefield (and put all cards of the library in your graveyard).
If you have almost one creature in your library, there is no problem.
If you have almost one creature in your library, there is no problem.
- mamoul
- Posts: 16
- Joined: 27 Oct 2014, 17:20
- Location: France
- Has thanked: 0 time
- Been thanked: 0 time
Re: Oath of Druid
by thefiremind » 04 Nov 2014, 19:08
Edited again.
< 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: 722 times
11 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 10 guests