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)



Card Creation Request Thread
User-made mods in DLC (Downloadable Content) form.
Get MTG cards here for your DotP that aren't available anywhere else!
Get MTG cards here for your DotP that aren't available anywhere else!
Moderator: CCGHQ Admins
Re: Card Creation Request Thread
by BloodReyvyn » 07 Jun 2013, 03:07
Awesome, thanks. I had actually had an issue with the same thing before except apparently I accidentally changed Get_CardPtr(0) to Get_CardPtr(1) and back again in my haste... 

"There's an experience worse than blindness - it's the certainty that your vision is perfect and the horror that there's no world around you to see."
-
BloodReyvyn - Posts: 421
- Joined: 19 May 2013, 13:29
- Has thanked: 53 times
- Been thanked: 40 times
Re: Card Creation Request Thread
by BloodReyvyn » 07 Jun 2013, 03:22
Just change the <TRIGGER> code to:
- Code: Select all
<TRIGGER value="DISCARD">
return Object():GetPlayer():GetTeam() ~= TriggerObject():GetPlayer():GetTeam()
</TRIGGER>
"There's an experience worse than blindness - it's the certainty that your vision is perfect and the horror that there's no world around you to see."
-
BloodReyvyn - Posts: 421
- Joined: 19 May 2013, 13:29
- Has thanked: 53 times
- Been thanked: 40 times
Re: Card Creation Request Thread
by NEMESiS » 07 Jun 2013, 03:24
Tried making Edric, Spymaster of the Trest from Garruk's Packleader but its not working.
- Code: Select all
<TRIGGER value="CREATURE_DEALT_COMBAT_DAMAGE_TO_PLAYER">
return (TriggerPlayer():GetTeam() ~= Object():GetPlayer():GetTeam())
</TRIGGER>
<RESOLUTION_TIME_ACTION>
if TriggerObject():IsAI() == 0 then
EffectController():BeginNewMultipleChoice()
EffectController():AddMultipleChoiceAnswer( "CARD_QUERY_OPTION_YES" )
EffectController():AddMultipleChoiceAnswer( "CARD_QUERY_OPTION_NO" )
EffectController():AskMultipleChoiceQuestion( "CARD_QUERY_DRAW_A_CARD")
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
if TriggerObject():IsAI() == 0 then
local decision = Object():GetMultipleChoiceResult()
if decision == 0 then
EffectController():DrawCard()
end
elseif CountCardsInLibrary(EffectController()) > 5 then
EffectController():DrawCard()
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
-
NEMESiS - Posts: 460
- Joined: 03 Jan 2013, 04:02
- Location: Pools of Becoming
- Has thanked: 70 times
- Been thanked: 21 times
Re: Card Creation Request Thread
by sumomole » 07 Jun 2013, 04:04
Should be player:IsAI() == 0, not object:IsAI() == 0. And should be the creature's controller draw, not you. Like this:NEMESiS wrote:Tried making Edric, Spymaster of the Trest from Garruk's Packleader but its not working.
- Edric, Spymaster of Trest | Open
- Code: Select all
<TRIGGERED_ABILITY auto_skip="1">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever a creature deals combat damage to one of your opponents, its controller may draw a card.]]></LOCALISED_TEXT>
<TRIGGER value="CREATURE_DEALS_COMBAT_DAMAGE_TO_PLAYER">
if TriggerObject() ~= nil and TriggerPlayer():GetTeam() ~= EffectController():GetTeam() then
EffectDC():Set_CardPtr(2, TriggerObject())
EffectDC():LKIShield_CardPtr(2)
return true
end
return false
</TRIGGER>
<RESOLUTION_TIME_ACTION>
local creature = EffectDC():Get_CardPtr(2)
if creature ~= nil then
local player = creature:GetController()
if player ~= nil and player:IsAI() == 0 then
player:BeginNewMultipleChoice()
player:AddMultipleChoiceAnswer( "CARD_QUERY_OPTION_YES" )
player:AddMultipleChoiceAnswer( "CARD_QUERY_OPTION_NO" )
player:AskMultipleChoiceQuestion( "CARD_QUERY_DRAW_A_CARD")
end
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local creature = EffectDC():Get_CardPtr(2)
if creature ~= nil then
local player = creature:GetController()
if player ~= nil then
if player:IsAI() == 0 then
local decision = Object():GetMultipleChoiceResult()
if decision == 0 then
player:DrawCard()
end
elseif CountCardsInLibrary(player) > 5 then
player:DrawCard()
end
end
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
-
sumomole - Programmer
- Posts: 611
- Joined: 07 Jun 2011, 08:34
- Has thanked: 51 times
- Been thanked: 234 times
Re: Card Creation Request Thread
by becauseafrica » 07 Jun 2013, 11:46
Farseek and Parallel Lives please))
- becauseafrica
- Posts: 13
- Joined: 24 Jan 2012, 07:34
- Has thanked: 9 times
- Been thanked: 0 time
Re: Card Creation Request Thread
by sumomole » 07 Jun 2013, 12:23
Farseek is in my mod, PARALLEL_LIVES_277047 is official card.becauseafrica wrote:Farseek and Parallel Lives please))
-
sumomole - Programmer
- Posts: 611
- Joined: 07 Jun 2011, 08:34
- Has thanked: 51 times
- Been thanked: 234 times
Re: Card Creation Request Thread
by nivmizzet1 » 07 Jun 2013, 12:47
Is Elderwood Scion possible?
______________________________________
my DOTP 2014 Main mod page - my DOTP 2014 OP Decks mod page - Community WAD
my DOTP 2014 Main mod page - my DOTP 2014 OP Decks mod page - Community WAD
- nivmizzet1
- Posts: 617
- Joined: 21 Mar 2013, 10:10
- Has thanked: 100 times
- Been thanked: 25 times
Re: Card Creation Request Thread
by thefiremind » 07 Jun 2013, 12:51
No because when you have chosen a target it's too late to change costs.nivmizzet1 wrote:Is Elderwood Scion possible?
< 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: Card Creation Request Thread
by nivmizzet1 » 07 Jun 2013, 13:28
Bummer, that's what I thought...thefiremind wrote:No because when you have chosen a target it's too late to change costs.nivmizzet1 wrote:Is Elderwood Scion possible?
would've been a fun card to play with.
______________________________________
my DOTP 2014 Main mod page - my DOTP 2014 OP Decks mod page - Community WAD
my DOTP 2014 Main mod page - my DOTP 2014 OP Decks mod page - Community WAD
- nivmizzet1
- Posts: 617
- Joined: 21 Mar 2013, 10:10
- Has thanked: 100 times
- Been thanked: 25 times
Re: Card Creation Request Thread
by nivmizzet1 » 07 Jun 2013, 13:30
Here are some of the "vow" enchantments: Vow of Duty, Vow of Wildness, Vow of Flight.
...just in case anybody searches for them.
...just in case anybody searches for them.
- Attachments
-
Vows.zip
- (344.16 KiB) Downloaded 267 times
______________________________________
my DOTP 2014 Main mod page - my DOTP 2014 OP Decks mod page - Community WAD
my DOTP 2014 Main mod page - my DOTP 2014 OP Decks mod page - Community WAD
- nivmizzet1
- Posts: 617
- Joined: 21 Mar 2013, 10:10
- Has thanked: 100 times
- Been thanked: 25 times
Re: Card Creation Request Thread
by becauseafrica » 07 Jun 2013, 13:32
- becauseafrica
- Posts: 13
- Joined: 24 Jan 2012, 07:34
- Has thanked: 9 times
- Been thanked: 0 time
Re: Card Creation Request Thread
by sumomole » 07 Jun 2013, 13:43
It's official card, you know? You don't need to find it, only need to add PARALLEL_LIVES_277047 to your deck list.becauseafrica wrote:I have found Farseek, but Parallel Lives I don't have... could you add it to message? tnx

-
sumomole - Programmer
- Posts: 611
- Joined: 07 Jun 2011, 08:34
- Has thanked: 51 times
- Been thanked: 234 times
Re: Card Creation Request Thread
by becauseafrica » 07 Jun 2013, 13:56
haha)) ok, I got it=) thanks a lotsumomole wrote:It's official card, you know? You don't need to find it, only need to add PARALLEL_LIVES_277047 to your deck list.becauseafrica wrote:I have found Farseek, but Parallel Lives I don't have... could you add it to message? tnx
- becauseafrica
- Posts: 13
- Joined: 24 Jan 2012, 07:34
- Has thanked: 9 times
- Been thanked: 0 time
Re: Card Creation Request Thread
by nivmizzet1 » 07 Jun 2013, 14:51
is Mark of Eviction possible? Please say yes; I really want it.
______________________________________
my DOTP 2014 Main mod page - my DOTP 2014 OP Decks mod page - Community WAD
my DOTP 2014 Main mod page - my DOTP 2014 OP Decks mod page - Community WAD
- nivmizzet1
- Posts: 617
- Joined: 21 Mar 2013, 10:10
- Has thanked: 100 times
- Been thanked: 25 times
Re: Card Creation Request Thread
by sumomole » 07 Jun 2013, 15:02
I think it's similar to the first effect of Orzhov Charm, you can try.nivmizzet1 wrote:is Mark of Eviction possible? Please say yes; I really want it.

-
sumomole - Programmer
- Posts: 611
- Joined: 07 Jun 2011, 08:34
- Has thanked: 51 times
- Been thanked: 234 times
Return to New MTG Cards and Decks (2010, 2012, 2013, 2014, 2015, Magic Duels)
Who is online
Users browsing this forum: No registered users and 3 guests