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) 2012
23/06/2012 DOTP 2012 Persee's Custom DLC Ver 1.4
Moderator: CCGHQ Admins
Re: 29/01/2012 DOTP 2012 Persee's Custom DLC Ver 1.1
by Persee » 30 Jan 2012, 07:46
I don't have this bug. Did you erase your profile ?
Re: 29/01/2012 DOTP 2012 Persee's Custom DLC Ver 1.1
by ptisan35700 » 30 Jan 2012, 18:23
I'm not sure what you mean by "profile".Persee wrote:I don't have this bug. Did you erase your profile ?
Here's a screenshot of it. I don't know if it matters, but I installed kevlahota's patch over Theta's 1.0r61 release.
I also have your previous decks still in the directory, if that matters as well.
- ptisan35700
- Posts: 23
- Joined: 08 Aug 2011, 21:06
- Has thanked: 1 time
- Been thanked: 0 time
Re: 29/01/2012 DOTP 2012 Persee's Custom DLC Ver 1.1
by Persee » 31 Jan 2012, 08:29
The profile is the directory called XXX_swarm (XXX is your name or nickname). Delete it.
Re: 29/01/2012 DOTP 2012 Persee's Custom DLC Ver 1.1
by Aborash » 03 Feb 2012, 09:37
It works perfect without delete the profile.
Really entertaining deck BTW.
Really entertaining deck BTW.
Re: 29/01/2012 DOTP 2012 Persee's Custom DLC Ver 1.1
by Persee » 03 Feb 2012, 09:55
Thanks.
Don't hesitate to make suggestions to improve cards and decks.
Don't hesitate to make suggestions to improve cards and decks.
Re: 29/01/2012 DOTP 2012 Persee's Custom DLC Ver 1.1
by CWheezy » 04 Feb 2012, 08:12
Is it possible to use planeswalker cards, like jace?
Re: 29/01/2012 DOTP 2012 Persee's Custom DLC Ver 1.1
by Persee » 04 Feb 2012, 20:54
Planeswalker cards don't work in DOTP12, for now, I hope.
Re: 29/01/2012 DOTP 2012 Persee's Custom DLC Ver 1.1
by thefiremind » 05 Feb 2012, 09:19
I'm afraid they will never work, unless a big expansion including at least one planeswalker card gets released in the future. Since there's no planeswalker in the game, I think the developers didn't even include the planeswalker rules in the code (like how to decide to deal damage to them instead of the controller, and so on).Persee wrote:Planeswalker cards don't work in DOTP12, for now, I hope.
I don't miss them, maybe because when I played with real cards they didn't exist yet... anyway I understand it's a pity to cut away an entire card type.
< 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: 721 times
Re: 29/01/2012 DOTP 2012 Persee's Custom DLC Ver 1.1
by Aborash » 05 Feb 2012, 11:53
Ok, I really love the artifacts decks (Etherium artifact FTW!!!), and would be awesome if you could make a trinistax one:Persee wrote:Thanks.
Don't hesitate to make suggestions to improve cards and decks.
http://tappedout.net/mtg-decks/legacy-stax-1/
Here is the code for Smokestack:
- Code: Select all
<TRIGGERED_ABILITY tag="YOUR_CARD_HERE_RULE_1" layer="0" auto_skip="1">
<TRIGGER value="BEGINNING_OF_STEP">
return MyStep( STEP_DRAW )
</TRIGGER>
<PLAYTIME>
Object():GetController():BeginNewMultipleChoice()
Object():GetController():AddMultipleChoiceAnswer( "YES" )
Object():GetController():AddMultipleChoiceAnswer( "NO" )
Object():GetController():AskMultipleChoiceQuestion( "YOUR_CARD_CHOOSE_TEXT" )
</PLAYTIME>
<EFFECT>
if Object():GetMultipleChoiceResult() == 0 then
AddChargeCounter( Object() )
end
</EFFECT>
</TRIGGERED_ABILITY>
<TRIGGERED_ABILITY layer="8" auto_skip="1">
<TRIGGER value="BEGINNING_OF_STEP">
return MyUpkeep() or (MTG():GetStep() == STEP_UPKEEP and Object():GetController():MyTurn() == 0 and Player() ~= Object():GetPlayer() )
</TRIGGER>
<PRE_EFFECT>
if Object():CountCounters( MTG():ChargeCounters() ) > 0 then
Object():GetFilter():Clear()
Object():GetFilter():AddCardType( CARD_TYPE_ARTIFACT )
Object():GetFilter():AddCardType( CARD_TYPE_ENCHANTMENT )
Object():GetFilter():AddCardType( CARD_TYPE_LAND )
Object():GetFilter():AddCardType( CARD_TYPE_CREATURE )
Object():GetFilter():AddCardType( CARD_TYPE_PLANESWALKER )
Object():GetFilter():SetController( Player() )
Object():GetFilter():SetZone( ZONE_IN_PLAY )
Object():GetFilter():PlayerHint( Player() )
local count = Object():CountCounters( MTG():ChargeCounters() )
Player():SetTargetCount( count )
local index = 0
while index < count do
Player():SetTargetPrompt( index, "ChoosePermanent" )
index = index + 1
end
Player():ChooseTargets()
end
</PRE_EFFECT>
<EFFECT>
for i=0, Object():GetNumberOfTargets() - 1 do
Object():GetNthTargetCard( i ):Sacrifice()
end
if (Object():GetTargetCard() ~= nil) then
Object():GetTargetCard():Sacrifice()
end
</EFFECT>
</TRIGGERED_ABILITY>
Or just a more classic Aractifact deck, with Goblin Welder
Also, love the control decks, may be you can make one with Braids, Cabal Minion and Gravecrawler / recurring creatures ...
Re: 29/01/2012 DOTP 2012 Persee's Custom DLC Ver 1.1
by Persee » 05 Feb 2012, 18:26
Legacy Stax ? Hum, why not, but some cards seems to be hard to code :
- crucible
- trinisphere
- Chalice
This could take me some time to do it.
- crucible
- trinisphere
- Chalice
This could take me some time to do it.
Re: 29/01/2012 DOTP 2012 Persee's Custom DLC Ver 1.1
by Aborash » 06 Feb 2012, 01:06
Chalice Of The VoidPersee wrote:Legacy Stax ? Hum, why not, but some cards seems to be hard to code :
- crucible
- trinisphere
- Chalice
This could take me some time to do it.
- Code: Select all
<TRIGGERED_ABILITY tag="CHALICE_OF_THE_VOID_RULE_1" layer="0" internal="1">
<TRIGGER value="COMES_INTO_PLAY">
return SelfTriggered()
</TRIGGER>
<EFFECT>
Object():Register_Set( 0, Object():GetManaX() )
Object():Register_Div( 0, 2 )
Object():AddCounters( MTG():GetCountersType( "CHARGE" ), Object():Register_Get(0) )
local OBJ_LINKED_CARD = MTG():ObtainToken( "TARMOGOYF" , Object():GetOwner() )
if (OBJ_LINKED_CARD ~= nil) then
Object():Register_Object_Set(7, OBJ_LINKED_CARD )
OBJ_LINKED_CARD:Register_Object_Set(7, Object() )
OBJ_LINKED_CARD:RemoveFromGame()
end
</EFFECT>
</TRIGGERED_ABILITY>
<TRIGGERED_ABILITY tag="CHALICE_OF_THE_VOID_RULE_2" layer="0">
<TRIGGER value="ZONECHANGE">
Object():SetSFXTargetCard( TriggerObject() )
return (TriggerObject() ~= Object() and TriggerObject():GetRef() ~= Object():GetRef() and
TriggerObject():GetRef() ~= Object():Register_Object_Get(7):GetRef() and
TriggerObject():GetZone() == ZONE_STACK and
TriggerObject():GetConvertedManaCost() == Object():CountCounters( MTG():GetCountersType( "CHARGE" ) ))
</TRIGGER>
<EFFECT>
if TriggerObject() ~= nil then
TriggerObject():CounterSpell()
end
</EFFECT>
</TRIGGERED_ABILITY>
<TRIGGERED_ABILITY layer="0">
<TRIGGER value="ZONECHANGE">
Object():SetSFXTargetCard( TriggerObject() )
return (Object():Register_Object_Get(7) ~= nil and
TriggerObject():GetRef() == Object():Register_Object_Get(7):GetRef() and
TriggerObject():GetZone() == ZONE_STACK and
Object():CountCounters( MTG():GetCountersType( "CHARGE" ) ) == 2)
</TRIGGER>
<EFFECT>
if TriggerObject() ~= nil then
TriggerObject():CounterSpell()
end
</EFFECT>
</TRIGGERED_ABILITY>
<UTILITY_ABILITY layer="0" zone="hand">
<COST qualifier="Additional" type="Mana" cost="{X}" />
</UTILITY_ABILITY>
<!--
/////////////////////////////////////////////////////////////////////////////////////////////
Function to counter invalid double X cost of other Chalice of the Void if X cost is
an Odd Number. This is neccessary to avoid cheating using Chalice. Manual modulo method
is used here to determine if its an Odd or an Even number.
-kevlahnota
/////////////////////////////////////////////////////////////////////////////////////////////
-->
<TRIGGERED_ABILITY layer="0">
<TRIGGER value="SPELL_PLAYED">
Object():SetSFXTargetCard( TriggerObject() )
return TriggerObject() ~= Object() and TriggerObject():GetRef() == Object():GetRef()
</TRIGGER>
<EFFECT>
local targetXcost = TriggerObject():GetManaX()
Object():Register_Set( 1, targetXcost )
Object():Register_Div( 1, 2 )
Object():Register_Mul( 1, 2 )
local minusXcost = targetXcost - Object():Register_Get(1)
local correctXcost = targetXcost - minusXcost
local mychargecounters = Object():CountCounters( MTG():GetCountersType( "CHARGE" ) )
if correctXcost == mychargecounters then
if TriggerObject() ~= nil then
TriggerObject():CounterSpell()
end
Object():Register_Set( 1, 0 )
else
Object():Register_Set( 1, 0 )
end
</EFFECT>
</TRIGGERED_ABILITY>
Re: 29/01/2012 DOTP 2012 Persee's Custom DLC Ver 1.1
by Persee » 13 Feb 2012, 18:35
I just made Crucible of Worlds and it's works !
Last edited by Persee on 15 Feb 2012, 15:59, edited 1 time in total.
Re: 29/01/2012 DOTP 2012 Persee's Custom DLC Ver 1.1
by witchfm » 17 Feb 2012, 11:58
After Phyrexian Metamorph entered on the battlefield as a copy of target creature permanent, after few turns i want to blobk with it another creature or enchant it. In both cases, Phyrexian Metamorph go to graveyard. Is it Normal?
Re: 29/01/2012 DOTP 2012 Persee's Custom DLC Ver 1.1
by Persee » 17 Feb 2012, 22:34
Did you play versus a red deck ? I think that the cpu could target the invisible card in play.
The original code is not from me. I could made an error.
Edit : I found the problem. I take the code from Phantasmal Image and I forgot to remove "When this creature becomes the target of a spell or ability, sacrifice it"
Will be corrected in the next release.
The original code is not from me. I could made an error.
Edit : I found the problem. I take the code from Phantasmal Image and I forgot to remove "When this creature becomes the target of a spell or ability, sacrifice it"
Will be corrected in the next release.
58 posts
• Page 2 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: No registered users and 3 guests