It is currently 04 Aug 2025, 07:47
   
Text Size

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!

Moderator: CCGHQ Admins

Re: Card Creation Request Thread

Postby sumomole » 28 Apr 2013, 10:15

KnowledgeJunkie7 wrote:I ask because I was interested in adding Downsize to a blue/green deck
If you want Downsize, you can modify Weapon Surge, they are very similar.
PS: overload is alternative costs, not additional costs such as kicker.
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Card Creation Request Thread

Postby sumomole » 28 Apr 2013, 12:13

Master Necro wrote:May I request O-Naginata, Ronin Warclub and One with Nothing. :)
I don't know the standard code of the O-Naginata's first ability. My code maybe has bug.
Attachments
CARDS.zip
O-Naginata, Ronin Warclub and One with Nothing
(341.53 KiB) Downloaded 284 times
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Card Creation Request Thread

Postby thefiremind » 28 Apr 2013, 12:53

sumomole wrote:I don't know the standard code of the O-Naginata's first ability. My code maybe has bug.
I don't think that there's a clean way to do that. Here's how I made the restriction for Konda's Banner (besides changing the target filter of the equip ability, of course):
Code: Select all
  <TRIGGERED_ABILITY internal="1" pre_trigger="1">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Konda’s Banner can be attached only to a legendary creature.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Il Vessillo di Konda può essere assegnato solo a una creatura leggendaria.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Kondas Banner kann nur an eine legendäre Kreatur angelegt werden.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[La Bannière de Konda ne peut être attachée qu’à une créature légendaire.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[El Estandarte de Konda sólo puede ser anexado a una criatura legendaria.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[今田の旗印は伝説のクリーチャーにのみつけることができる。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Konda’s Banner can be attached only to a legendary creature.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Konda’s Banner can be attached only to a legendary creature.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Estandarte de Konda só pode ser anexado a uma criatura lendária.]]></LOCALISED_TEXT>
    <TRIGGER value="EQUIPMENT_ATTACHED">
    if TriggerObject() == Object() and SecondaryObject():GetSupertype():Test( SUPERTYPE_LEGENDARY ) == 0 then
       override = 1
       return true
    end
    return false
    </TRIGGER>
  </TRIGGERED_ABILITY>
I chose to override the attachment. Anyway there shouldn't be much difference.
< 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: 722 times

Re: Card Creation Request Thread

Postby sumomole » 28 Apr 2013, 13:13

thefiremind wrote:
sumomole wrote:I don't know the standard code of the O-Naginata's first ability. My code maybe has bug.
I don't think that there's a clean way to do that. Here's how I made the restriction for Konda's Banner (besides changing the target filter of the equip ability, of course)
I chose to override the attachment. Anyway there shouldn't be much difference.
First ability including two effects: 1, O-Naginata can be attached only to a creature with 3 or more power; 2, O-Naginata becomes unattached if the equipped creature's power is less than 3 as state-based actions are checked.
TRIGGER_EQUIPMENT_ATTACHED seems only to achieve the first effect.
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Card Creation Request Thread

Postby thefiremind » 28 Apr 2013, 13:28

You're right, I'll add that to my Banner. :)
< 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: 722 times

Re: Card Creation Request Thread

Postby Master Necro » 28 Apr 2013, 14:04

sumomole wrote:
Master Necro wrote:May I request O-Naginata, Ronin Warclub and One with Nothing. :)
I don't know the standard code of the O-Naginata's first ability. My code maybe has bug.
thefiremind wrote:
sumomole wrote:I don't know the standard code of the O-Naginata's first ability. My code maybe has bug.
I don't think that there's a clean way to do that. Here's how I made the restriction for Konda's Banner (besides changing the target filter of the equip ability, of course):
Code: Select all
  <TRIGGERED_ABILITY internal="1" pre_trigger="1">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Konda’s Banner can be attached only to a legendary creature.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Il Vessillo di Konda può essere assegnato solo a una creatura leggendaria.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Kondas Banner kann nur an eine legendäre Kreatur angelegt werden.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[La Bannière de Konda ne peut être attachée qu’à une créature légendaire.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[El Estandarte de Konda sólo puede ser anexado a una criatura legendaria.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[今田の旗印は伝説のクリーチャーにのみつけることができる。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Konda’s Banner can be attached only to a legendary creature.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Konda’s Banner can be attached only to a legendary creature.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Estandarte de Konda só pode ser anexado a uma criatura lendária.]]></LOCALISED_TEXT>
    <TRIGGER value="EQUIPMENT_ATTACHED">
    if TriggerObject() == Object() and SecondaryObject():GetSupertype():Test( SUPERTYPE_LEGENDARY ) == 0 then
       override = 1
       return true
    end
    return false
    </TRIGGER>
  </TRIGGERED_ABILITY>
I chose to override the attachment. Anyway there shouldn't be much difference.
Thanks will check that. :)

Btw, and this is the last that I will ask in some time I promise :oops: , can anyone make Night of Souls' Betrayal? :)
User avatar
Master Necro
 
Posts: 259
Joined: 24 Apr 2013, 18:25
Has thanked: 83 times
Been thanked: 21 times

Re: Card Creation Request Thread

Postby sumomole » 28 Apr 2013, 14:11

I found if I use two same name but different ID cards, they can both on battlefield even if they are legendary.
Perhaps if we can also make cards in DOTP2014, should create a topic to lists the completed cards and its ID, to ensure that each card is unique.

1.JPG
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Card Creation Request Thread

Postby sumomole » 28 Apr 2013, 14:41

Master Necro wrote:Btw, and this is the last that I will ask in some time I promise :oops: , can anyone make Night of Souls' Betrayal? :)
Night of Souls' Betrayal.zip
(117.38 KiB) Downloaded 299 times
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Card Creation Request Thread

Postby Master Necro » 28 Apr 2013, 14:48

sumomole wrote:
Master Necro wrote:Btw, and this is the last that I will ask in some time I promise :oops: , can anyone make Night of Souls' Betrayal? :)
Thanks! :)
User avatar
Master Necro
 
Posts: 259
Joined: 24 Apr 2013, 18:25
Has thanked: 83 times
Been thanked: 21 times

Re: Card Creation Request Thread

Postby KnowledgeJunkie7 » 28 Apr 2013, 20:45

sumomole wrote:
KnowledgeJunkie7 wrote:I ask because I was interested in adding Downsize to a blue/green deck
If you want Downsize, you can modify Weapon Surge, they are very similar.
PS: overload is alternative costs, not additional costs such as kicker.
Hey, I took a peak at Weapon Surge as you mentioned, and I tried to apply it to Downsize as I thought it should fit, but there's an issue: I can't cast it as it always says there are no available targets.

Here's my version of it (with an illustration I added later following kevlahnota's guide)- could I maybe get a tip on why it might not find any targets?
Attachments
Downsize.zip
(102.64 KiB) Downloaded 258 times
KnowledgeJunkie7
 
Posts: 11
Joined: 26 Apr 2013, 21:08
Has thanked: 0 time
Been thanked: 0 time

Re: Card Creation Request Thread

Postby sumomole » 28 Apr 2013, 22:15

KnowledgeJunkie7 wrote:I took a peak at Weapon Surge as you mentioned, and I tried to apply it to Downsize as I thought it should fit, but there's an issue: I can't cast it as it always says there are no available targets.
You only need to changed {R} to {U}, 1 to 2, +1 to -4, "you control" to "you don't control", and del first strike, don't need to modify else.

Code "you don't control" is:
Code: Select all
    <TARGET_DEFINITION id="0">
    local filter = Object():GetFilter()
    filter:Clear()
    filter:AddCardType( CARD_TYPE_CREATURE )
    filter:SetZone( ZONE_IN_PLAY )
    filter:SetPlayer( EffectController() )
    filter:AddExtra( FILTER_EXTRA_FLIP_PLAYER )
    filter:SetHint( HINT_ENEMY_ONLY, EffectController() )
    </TARGET_DEFINITION>
and
Code: Select all
    <FILTER>
      return CreaturesInPlay() and YouDontControl()
    </FILTER>
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Card Creation Request Thread

Postby Scion of Darkness » 29 Apr 2013, 09:59

Sumomole, i'll try to explain what i was trying to achieve that unoficial code you saw on the lines that are AI available are set to when the opponent draws a card it looks into the hand and chooses the mana ability with the chroma count, and when the player activate the ability instead of a query it rotates in case of dual lands, so my idea was merging that card with your card draw lookup ability and that was why i changed the miracle cards with slivers, since most of the times the cards drawn are going to be played on the same turn it could make the use of the dual lands more simple.
That combined with the modded land walk badges i've made could make the use of dual lands more natural, like the basic lands of the game.
Attachments
MECHANIC_MULTI_LAND.zip
(3.29 KiB) Downloaded 212 times
User avatar
Scion of Darkness
 
Posts: 235
Joined: 27 Aug 2012, 13:14
Has thanked: 17 times
Been thanked: 23 times

Re: Card Creation Request Thread

Postby sumomole » 29 Apr 2013, 13:12

Scion of Darkness wrote:That combined with the modded land walk badges i've made could make the use of dual lands more natural, like the basic lands of the game.
I agree with your idea and wish you success, I just don't understand the following code, it use pre_trigger and Interrogate_CardsDrawnThisTurn because it's only code for miracle ability, its purpose is to change the land color whenever you would draw the first card each turn is a miracle card, if you want the multicolorland can auto convert color when you draw card, You don't need to use those code, it's useless. :)

Code: Select all
   <TRIGGERED_ABILITY internal="1" pre_trigger="1" priority="-10" filter_zone="ZONE_IN_PLAY">
    <TRIGGER value="DREW_CARD" simple_qualifier="controller">
    local card = EffectController():Library_GetNth(0)
    local drawCard = MTG():Interrogate_CardsDrawnThisTurn(EffectController())
    if card ~= nil and drawCard == 1 then
       return TriggerPlayer() == EffectController()
    else
       return false
    end
    </TRIGGER>
    <RESOLUTION_TIME_ACTION>
    local card = EffectController():Library_GetNth(0)
    if (card:GetCardName() == "GEMHIDE_SLIVER" or card:GetCardName() == "MUSCLE_SLIVER" or card:GetCardName() == "DESCENDANT'S_PATH") and EffectController():CanAfford("{G}") == 0 then
      MultiLand:GrantAbility(COLOUR_GREEN)
   elseif (card:GetCardName() == "CRYPT_SLIVER" or card:GetCardName() == "TOXIN_SLIVER") and EffectController():CanAfford("{U}") == 0 then
     MultiLand:GrantAbility(COLOUR_BLACK)
   elseif (card:GetCardName() == "SHIFTING_SLIVER" or card:GetCardName() == "MANA_LEAK") and EffectController():CanAfford("{U}") == 0 then
      MultiLand:GrantAbility(COLOUR_BLUE)
   elseif (card:GetCardName() == "PLATED_SLIVER" card:GetCardName() == "SWORDS_TO_PLOWSHARES" or card:GetCardName() == "WARD_SLIVER"or card:GetCardName() == "ESSENCE_SLIVER") and EffectController():CanAfford("{U}") == 0 then
      MultiLand:GrantAbility(COLOUR_WHITE)
   elseif (card:GetCardName() == "SLIVER_LEGION" or card:GetCardName() == "SLIVER_QUEEN" or card:GetCardName() == "SLIVER_OVERLORD") and EffectController():CanAfford("{U}") == 0 then
      MultiLand:GrantAbility(COLOUR_RED)
    end
    </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Card Creation Request Thread

Postby nivmizzet1 » 29 Apr 2013, 13:49

*Bump*

thefiremind wrote:
nivmizzet1 wrote:Have you got any tips as to how I could do that? I wouldn't have a clue where to start :oops: Is there a card that has something like that implemented already?
I just coded my own version of Mass Polymorph. The idea is to save the creatures in a chest instead of putting them onto the battlefield immediately, this way you can get them from the chest in a single action. I didn't use the <FILTER> block because it often gives problems to me when some parts of the ability use it and some other not, so I wanted to play safe. :D
Let me know if it works as intended.
Thank You!

EDIT: Unfortunately, it doesn't work as intended. When I used it with 7 (token) creatures on the battlefield and only 5 creatures in my library, it just flashed every card in my library at me, putting them back in the library (similar to when a player is milled cards, but with cards going from library to library) and none of the creatures went to the battlefield. #-o

Could it be because it was looking for 7 creatures when there was only 5 available? EDIT: Nope, that's not it. Just tested when I had 1 creature on the b/f -- the reveal showed me one creature in the library and stopped there. So the problem is that the revealed creatures aren't being put on the b/f after the reveal is finished.
nivmizzet1
 
Posts: 617
Joined: 21 Mar 2013, 10:10
Has thanked: 100 times
Been thanked: 25 times

Re: Card Creation Request Thread

Postby thefiremind » 29 Apr 2013, 14:33

nivmizzet1 wrote:EDIT: Unfortunately, it doesn't work as intended.
I made a real mess with that code... #-o Now it's fixed. Retrieve the new version on the old post:
viewtopic.php?f=64&t=4557&p=116558#p116558
I also changed it so that it reveals just non-creature cards, because creatures are revealed when they enter the battlefield and nobody likes a huge amount of cards flipped through GuidedReveal. :mrgreen:
< 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: 722 times

PreviousNext

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 1 guest

Main Menu

User Menu

Our Partners


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 1 guest

Login Form