Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
Programming Talk
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
Programming Talk
Help on these 3 cards.
Moderator: CCGHQ Admins
3 posts
• Page 1 of 1
Help on these 3 cards.
by alexandreonly » 13 Sep 2012, 11:27
Vastwood Animist, Harabaz Druid and Tuktuk Scrapper are the only allies i still don't coded, and i don't know how to implement them. Ideas?
- alexandreonly
- Posts: 145
- Joined: 04 Jul 2011, 17:27
- Has thanked: 0 time
- Been thanked: 8 times
Re: Help on these 3 cards.
by Persee » 13 Sep 2012, 11:35
Harabaz Druid will be easy to code with mana token.
Re: Help on these 3 cards.
by RiiakShiNal » 13 Sep 2012, 12:14
Well, Vastwood Animist should be easy by looking at Awakener Druid (coded by Wizards) and using part of it for the card.
And Tuktuk Scrapper should be relatively easy by just having a triggered ability that destroys a target artifact when an ally comes into play and creates a delayed trigger that triggers if the artifact goes to the graveyard and cleans up at either end of turn or once it is triggered that does damage to the controller equal to the number of allies you currently control.
So for Tuktuk Scrapper I would probably create a chest on the EffectDC and pass the card and current controller via that.
And Tuktuk Scrapper should be relatively easy by just having a triggered ability that destroys a target artifact when an ally comes into play and creates a delayed trigger that triggers if the artifact goes to the graveyard and cleans up at either end of turn or once it is triggered that does damage to the controller equal to the number of allies you currently control.
So for Tuktuk Scrapper I would probably create a chest on the EffectDC and pass the card and current controller via that.
- Code: Select all
EffectDC():Make_Chest(0)
EffectDC():Get_Chest(0):Set_CardPtr(0, oTarget)
EffectDC():Get_Chest(0):Set_PlayerPtr(1, oTarget:GetController())
MTG():CreateDelayedTrigger(ResourceId, EffectDC():Get_Chest(0))
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: 2189
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 13 guests