It is currently 06 Jun 2024, 10:23
   
Text Size

Oath of Druid

Moderator: CCGHQ Admins

Oath of Druid

Postby demeitri1 » 28 Oct 2014, 17:45

is there a specefic reason this card wasnt coded into anyones wad?
Image
demeitri1
 
Posts: 29
Joined: 24 Oct 2014, 02:32
Has thanked: 6 times
Been thanked: 0 time

Re: Oath of Druid

Postby 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.
RiiakShiNal
Programmer
 
Posts: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Oath of Druid

Postby 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...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 721 times

Re: Oath of Druid

Postby chieuduong » 30 Oct 2014, 03:07

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.
User avatar
chieuduong
 
Posts: 37
Joined: 30 Sep 2013, 05:09
Has thanked: 42 times
Been thanked: 2 times

Re: Oath of Druid

Postby sweetLu » 30 Oct 2014, 04:27

Which engine is that for?
sweetLu
 
Posts: 181
Joined: 16 Jul 2014, 01:24
Has thanked: 21 times
Been thanked: 22 times

Re: Oath of Druid

Postby thefiremind » 30 Oct 2014, 09:05

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:
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 721 times

Re: Oath of Druid

Postby Morden » 30 Oct 2014, 15:20

oh yeah, everyone loves this card :D
I made a deck with it, I'll test when I have time :(
Morden
 
Posts: 16
Joined: 18 Sep 2014, 19:23
Has thanked: 2 times
Been thanked: 0 time

Re: Oath of Druid

Postby 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.
Morden
 
Posts: 16
Joined: 18 Sep 2014, 19:23
Has thanked: 2 times
Been thanked: 0 time

Re: Oath of Druid

Postby thefiremind » 04 Nov 2014, 13:35

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.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 721 times

Re: Oath of Druid

Postby 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.
mamoul
 
Posts: 16
Joined: 27 Oct 2014, 17:20
Location: France
Has thanked: 0 time
Been thanked: 0 time

Re: Oath of Druid

Postby thefiremind » 04 Nov 2014, 19:08

Edited again.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 721 times


Return to 2014

Who is online

Users browsing this forum: No registered users and 52 guests


Who is online

In total there are 52 users online :: 0 registered, 0 hidden and 52 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 52 guests

Login Form