It is currently 01 Aug 2025, 12:03
   
Text Size

【25/09/14】DotP2014 DLC v9.5

Moderator: CCGHQ Admins

Re: 【29/8/13】DotP2014 custom mod released【v6.3 42 decks】

Postby gorem2k » 05 Sep 2013, 19:14

Kessig Wolf Run | Open
Code: Select all
  <STATIC_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{T}: Add {1} to your mana pool.]]></LOCALISED_TEXT>
    <CONTINUOUS_ACTION layer="6">
    if EffectSource() ~= nil then
      local colour = S_NotHaveColourInGame(0, 0)
      EffectSource():GetCurrentCharacteristics():GrantAbility(colour)
    end
    </CONTINUOUS_ACTION>
  </STATIC_ABILITY>
I think your Kessig Wolf Run adds colored mana while it should be colorless {1}.

I'm not sure if I have the latest update.
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: 【29/8/13】DotP2014 custom mod released【v6.3 42 decks】

Postby sumomole » 05 Sep 2013, 20:14

gorem2k wrote:I think your Kessig Wolf Run adds colored mana while it should be colorless {1}.
Please tell me the details of "while it should be colorless {1}", I need to know the deck list and which cards on the battlefield when you used Kessig Wolf Run.
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: 【29/8/13】DotP2014 custom mod released【v6.3 42 decks】

Postby gorem2k » 05 Sep 2013, 20:47

sorry, it was my mistake. :oops:

I was looking at your Manamorphose to find a way coding multiple mana in different combination. I see you used 2 same spell ability, since you are one of the most experienced mana user, I'd like to ask what you would do if a card let you choose more than 2 mana combination?

I've done this:
Code: Select all
  <SPELL_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Add 10 mana in any combination of {B} and/or {R} to your mana pool.]]></LOCALISED_TEXT>
    <PLAY_TIME_ACTION>
    local player = EffectController()
    local totalBmana = 10
    player:BeginNewNumericalChoice()
    player:AddNumericalChoiceAnswer(totalBmana)
    player:AskNumericalChoiceQuestion("{B}")
    </PLAY_TIME_ACTION>
    <PLAY_TIME_ACTION>
    local player = EffectController()
    local totalRmana = 10 - player:GetMultipleChoiceResult()
    player:BeginNewNumericalChoice()
    player:AddNumericalChoiceAnswer(totalRmana)
    player:AskNumericalChoiceQuestion("{R}")
    </PLAY_TIME_ACTION>
...
Do you think this is the best way to do ?
the code is incomplete I should save first result before asking for the second color.

EDIT2: I've worked another method. sorry I don't want to bother you, just wanted your opinion on how you would approach this if you don't mind.

combine mana #2 | Open
Code: Select all
  <SPELL_ABILITY linked_ability_group="1">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Add 10 mana in any combination of {B} and/or {R} to your mana pool.]]></LOCALISED_TEXT>
    <PLAY_TIME_ACTION>
    LinkedDC():Set_Int(99, 10)
    </PLAY_TIME_ACTION>
    <PLAY_TIME_ACTION repeating="1">
    local n = MTG():GetActionRepCount()
    local player = EffectController()
    local repcount = LinkedDC():Get_Int(99)
    if n &lt; repcount then
       player:BeginNewMultipleChoice()
       player:AddMultipleChoiceAnswer( "CARD_QUERY_OPTION_MANA_B" )
       player:AddMultipleChoiceAnswer( "CARD_QUERY_OPTION_MANA_R" )
       player:AskMultipleChoiceQuestion( "CARD_QUERY_CHOOSE_COLOUR", "REMAINING MANA: "..10-n )
        LinkedDC():Set_Int( n, EffectController():GetMultipleChoiceResult() )
        return true
      else
        return false
    end
    </PLAY_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local repcount = LinkedDC():Get_Int(99)
    local msg = ""
    for i = 0, repcount do
        msg = msg .. LinkedDC():Get_Int(i)
    end
    EffectController():DisplayMessage( "results "..msg )
    </RESOLUTION_TIME_ACTION>
  </SPELL_ABILITY>
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: 【29/8/13】DotP2014 custom mod released【v6.3 42 decks】

Postby sumomole » 06 Sep 2013, 06:54

gorem2k wrote:I'd like to ask what you would do if a card let you choose more than 2 mana combination?
People like the first, which is simple, but AI maybe like the second, produce mana token one by one is easier way to determine the next.
| Open
Code: Select all
  <SPELL_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Add 10 mana in any combination of {B} and/or {R} to your mana pool.]]></LOCALISED_TEXT>
    <RESOLUTION_TIME_ACTION repeating="1">
    local n = MTG():GetActionRepCount()
    local parity = n % 3
    local player = EffectController()
    if player:IsAI() then
      return false
    end
    if parity == 0 then
      player:BeginNewNumericalChoice()
      player:AddNumericalChoiceAnswer(10)
      player:AskNumericalChoiceQuestion("{B}")
      return true
    elseif parity == 1 then
      local result_B = player:GetNumericalChoiceResult()
         RSN_Produce( "{B}", result_B )
      return true
    elseif parity == 2 then
      local result_R = 10 - player:GetNumericalChoiceResult()
         RSN_Produce( "{R}", result_R )
      return false
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION repeating="1">
    local n = MTG():GetActionRepCount()
    local parity = n % 2
    local player = EffectController()
    if n &lt; 20 and player:IsAI() then
      if parity == 0 then
        player:BeginNewMultipleChoice()
        player:AddMultipleChoiceAnswer( "CARD_QUERY_OPTION_MANA_B" )
        player:AddMultipleChoiceAnswer( "CARD_QUERY_OPTION_MANA_R" )
        player:AskMultipleChoiceQuestion( "CARD_QUERY_CHOOSE_COLOUR", "REMAINING MANA: "..10-n )
      else
          local nColour = player:GetMultipleChoiceResult() + 3
          if (nColour == COLOUR_BLACK) then
             RSN_Produce( "{B}", 1 )
          elseif (nColour == COLOUR_RED) then
             RSN_Produce( "{R}", 1 )
          end
      end
      return true
    else
      return false
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
      RSN_EliminateExtraManaTokens()
    </RESOLUTION_TIME_ACTION>
  </SPELL_ABILITY>
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: 【29/8/13】DotP2014 custom mod released【v6.3 42 decks】

Postby gorem2k » 06 Sep 2013, 08:59

sumomole wrote:People like the first, which is simple, but AI maybe like the second, produce mana token one by one is easier way to determine the next.
Great, I will use this. thanks for your help. :D
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: 【29/8/13】DotP2014 custom mod released【v6.3 42 decks】

Postby bQttger » 08 Sep 2013, 18:00

Your decks are awesome and give hours of entertainment. I really appreciate it.
Have you thought about making an evolve deck?
bQttger
 
Posts: 2
Joined: 27 Jun 2013, 14:18
Has thanked: 2 times
Been thanked: 0 time

Re: 【29/8/13】DotP2014 custom mod released【v6.3 42 decks】

Postby Shiva » 09 Sep 2013, 08:32

Great work, thank you! Awesome decks. Are those decks working on the iPad? I putted in but they don't work. Should i convert them? How? Is there a way to play multiplayer with the ipad and those decks? Sorry for all this noob question :)
Shiva
 
Posts: 8
Joined: 09 Sep 2013, 08:08
Has thanked: 5 times
Been thanked: 0 time

Re: 【29/8/13】DotP2014 custom mod released【v6.3 42 decks】

Postby sumomole » 09 Sep 2013, 09:14

Shiva wrote:Great work, thank you! Awesome decks. Are those decks working on the iPad? I putted in but they don't work. Should i convert them? How? Is there a way to play multiplayer with the ipad and those decks? Sorry for all this noob question :)
There is only v5 mod for ipad, it includes only 30 decks.
v4 download
v5 patch
If you want to learn how to convert, you can send massage to j6m6w6 and shijer who have done convert work.
You can only play online game with your friends that use the exact same mods.
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: 【29/8/13】DotP2014 custom mod released【v6.3 42 decks】

Postby Shiva » 09 Sep 2013, 15:37

Thanks for the reply.
The links are in chinese (i believe) and i can't download it.
Shiva
 
Posts: 8
Joined: 09 Sep 2013, 08:08
Has thanked: 5 times
Been thanked: 0 time

Re: 【29/8/13】DotP2014 custom mod released【v6.3 42 decks】

Postby Shiva » 10 Sep 2013, 08:25

Ok, i downloaded them and add to the iPad! Thanks...
Many decks are fine, but the app crash when i try to open some decks. Any idea?
Shiva
 
Posts: 8
Joined: 09 Sep 2013, 08:08
Has thanked: 5 times
Been thanked: 0 time

Re: 【29/8/13】DotP2014 custom mod released【v6.3 42 decks】

Postby sumomole » 10 Sep 2013, 08:50

Shiva wrote:Ok, i downloaded them and add to the iPad! Thanks...
Many decks are fine, but the app crash when i try to open some decks. Any idea?
Sorry, I don't play games on ipad.
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: 【15/9/13】DotP2014 custom mod v7

Postby gorem2k » 27 Sep 2013, 23:48

Sumo, the filename TRAUMATIZE_628593.xml refer to Spelltwine. MIRRAN_CRUSADER_627271 to Squadron Hawk.
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: 【15/9/13】DotP2014 custom mod v7

Postby o0JuZaM0o » 17 Oct 2013, 19:45

Any plan for updating the Karn avatar for all decks?
o0JuZaM0o
 
Posts: 10
Joined: 21 Sep 2013, 17:18
Has thanked: 6 times
Been thanked: 0 time

Re: 【15/9/13】DotP2014 custom mod v7

Postby sumomole » 20 Oct 2013, 02:13

gorem2k wrote:Sumo, the filename TRAUMATIZE_628593.xml refer to Spelltwine. MIRRAN_CRUSADER_627271 to Squadron Hawk.
fixed. :wink:

o0JuZaM0o wrote:Any plan for updating the Karn avatar for all decks?
no. :mrgreen:
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: 【20/10/13】DotP2014 DLC - Theros v8

Postby Exxington » 20 Oct 2013, 14:17

Mono blue devotion keeps crashing
Exxington
 
Posts: 15
Joined: 27 Apr 2013, 13:21
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 9 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 9 users online :: 0 registered, 0 hidden and 9 guests (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 9 guests

Login Form