Page 1 of 1

Oath of Druid

PostPosted: 28 Oct 2014, 17:45
by demeitri1
is there a specefic reason this card wasnt coded into anyones wad?
Image

Re: Oath of Druid

PostPosted: 28 Oct 2014, 23:24
by RiiakShiNal
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.

Re: Oath of Druid

PostPosted: 28 Oct 2014, 23:59
by thefiremind
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).

Re: Oath of Druid

PostPosted: 30 Oct 2014, 03:07
by chieuduong
Also you can try code it yourself :D
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.

Re: Oath of Druid

PostPosted: 30 Oct 2014, 04:27
by sweetLu
Which engine is that for?

Re: Oath of Druid

PostPosted: 30 Oct 2014, 09:05
by thefiremind
sweetLu wrote:Which engine is that for?
It's for Forge. Sure it looks simple... but it doesn't help a bit in writing code for DotP. :lol:

Re: Oath of Druid

PostPosted: 30 Oct 2014, 15:20
by Morden
oh yeah, everyone loves this card :D
I made a deck with it, I'll test when I have time :(

Re: Oath of Druid

PostPosted: 04 Nov 2014, 12:23
by Morden
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.

Re: Oath of Druid

PostPosted: 04 Nov 2014, 13:35
by thefiremind
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.
You're right, the <MAY /> doesn't work with SetTargetAnswerer. I fixed the code, always here.

Re: Oath of Druid

PostPosted: 04 Nov 2014, 17:51
by mamoul
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.

Re: Oath of Druid

PostPosted: 04 Nov 2014, 19:08
by thefiremind
Edited again.