It is currently 02 Aug 2025, 20:16
   
Text Size

TFM&G2K's Planeswalkers Pool v8g (12/Sep/2014)

Moderator: CCGHQ Admins

Re: TFM&G2K's Planeswalkers Pool v4b (12/Sep/2013)

Postby thefiremind » 14 Sep 2013, 21:32

gorem2k wrote:and define "defending" accordingly... though you might already have tried.
The problem isn't in the triggered ability, but in the static ability, and now that I think about it more carefully, I think that the question would be asked more than once even in a FFA with more than 2 players if more than 1 player uses Planeswalkers. I just got an idea for a fix, but I'm not sure if it will work.
Last edited by thefiremind on 15 Sep 2013, 08:57, edited 1 time in total.
< 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: TFM&G2K's Planeswalkers Pool v4b (12/Sep/2013)

Postby NVRSRRNDR » 14 Sep 2013, 22:21

hey

first of all i really like and enjoy your work
thumbs up

then to my problem ..
Played an Free for All Match with 2 AI's for testin my deck
but somethin worked not right:

Gideon, Champion of Justice
added Loyality points till he got "16"
after that i select the third option
(-15): Exile all other permanents.

after that Card Animation all permanents was still there and Gideon has 3 Loyality points left ..

anyone got the same problem or at least some similar ?

regards
NVRSRRNDR
 
Posts: 7
Joined: 18 Aug 2013, 20:14
Has thanked: 1 time
Been thanked: 0 time

Re: TFM&G2K's Planeswalkers Pool v4b (12/Sep/2013)

Postby thefiremind » 14 Sep 2013, 22:46

NVRSRRNDR wrote:Gideon, Champion of Justice
added Loyality points till he got "16"
after that i select the third option
(-15): Exile all other permanents.

after that Card Animation all permanents was still there and Gideon has 3 Loyality points left ..
I can confirm the exiling problem, and I'll fix it, but the number of loyalty counters to remove is correctly set to 15 already.
< 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: TFM&G2K's Planeswalkers Pool v4b (12/Sep/2013)

Postby NVRSRRNDR » 14 Sep 2013, 23:08

thefiremind wrote:
NVRSRRNDR wrote:Gideon, Champion of Justice
added Loyality points till he got "16"
after that i select the third option
(-15): Exile all other permanents.

after that Card Animation all permanents was still there and Gideon has 3 Loyality points left ..
I can confirm the exiling problem, and I'll fix it, but the number of loyalty counters to remove is correctly set to 15 already.
thank u very much

and the Loyality points worked as it should be .. tested it again and everythin is fine



edit:
but found another thing:

but maybe im wrong

put Gideon, Champion of Justice on the battlefield and tryed to give him the ability from Ajani, Caller of the Pride (-3) Target Creature gains flying and double strike until end of turn.

but did not work ..

is that because Gideon is He's still a planeswalker even he is on the battlefield ?

(sorry for that noob question im not that familiar with Planeswalkers)
NVRSRRNDR
 
Posts: 7
Joined: 18 Aug 2013, 20:14
Has thanked: 1 time
Been thanked: 0 time

Re: TFM&G2K's Planeswalkers Pool v4b (12/Sep/2013)

Postby thefiremind » 14 Sep 2013, 23:47

NVRSRRNDR wrote:put Gideon, Champion of Justice on the battlefield and tryed to give him the ability from Ajani, Caller of the Pride (-3) Target Creature gains flying and double strike until end of turn.

but did not work ..

is that because Gideon is He's still a planeswalker even he is on the battlefield ?
Planeswalkers aren't creatures. Gideon can become a creature for a turn, but you need to activate his "0" ability first. Then you should be able to use Ajani's ability on him.
< 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: TFM&G2K's Planeswalkers Pool v4b (12/Sep/2013)

Postby gorem2k » 15 Sep 2013, 00:01

thefiremind wrote:EDIT: I have no time to make extensive tests now, but if someone else wants to test the fix before me...
So far so good.

made a quick video using a leyline (planeswalkers edition) in 2HG =P~

2HG test
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: TFM&G2K's Planeswalkers Pool v4b (12/Sep/2013)

Postby gorem2k » 15 Sep 2013, 00:13

thefiremind wrote:Planeswalkers aren't creatures. Gideon can become a creature for a turn, but you need to activate his "0" ability first. Then you should be able to use Ajani's ability on him.
I think he knew about that, I've changed Gideon to a creature and he couldn't fly with Ajani 2nd ability.

EDIT: Ajani, Caller of the Pride 2nd ability is missing a duration.
Code: Select all
<DURATION simple_duration="UntilEOT" />
on a completely different subject, (maybe I should use another thread) I found out that ZONE_CEASED_TO_EXIST can be used somehow. though I don't know what could use it. maybe as a commander zone?

Code: Select all
  <ACTIVATED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Remove your hand from the game.]]></LOCALISED_TEXT> 
    <COST mana_cost="{0}" type="Mana" />
    <RESOLUTION_TIME_ACTION>
    if EffectSource() ~= nil then
       EffectController():MoveLocalZone( ZONE_HAND, ZONE_CEASED_TO_EXIST )
    end
    </RESOLUTION_TIME_ACTION>
  </ACTIVATED_ABILITY>
  <ACTIVATED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Put all cards from outside the game in your hand.]]></LOCALISED_TEXT> 
    <COST mana_cost="{0}" type="Mana" />
    <RESOLUTION_TIME_ACTION>
    if EffectSource() ~= nil then
       EffectController():MoveLocalZone( ZONE_CEASED_TO_EXIST, ZONE_HAND )
    end
    </RESOLUTION_TIME_ACTION>
  </ACTIVATED_ABILITY>
this will put cards from your hand out of the game and return them. just put these 2 abilities on a random card.

made two invented cards Yin Goblin and Yang Goblin using this zone with filter this time, white black goblins is odd, yeah it's dumb but had a blast at making them. if you try, I suggest putting 20 Yin and 20 Yang :lol:
Attachments
CARDS.zip
yin yang invented goblins
(2.96 KiB) Downloaded 415 times
Last edited by gorem2k on 15 Sep 2013, 06:39, edited 4 times in total.
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: TFM&G2K's Planeswalkers Pool v4b (12/Sep/2013)

Postby NVRSRRNDR » 15 Sep 2013, 00:18

gorem2k wrote:
thefiremind wrote:Planeswalkers aren't creatures. Gideon can become a creature for a turn, but you need to activate his "0" ability first. Then you should be able to use Ajani's ability on him.
I think he knew about that, I've changed Gideon to a creature and he couldn't fly with Ajani 2nd ability.
exactly


sry if i wrote that not clear enough ( its a bit early in the morning :) )
NVRSRRNDR
 
Posts: 7
Joined: 18 Aug 2013, 20:14
Has thanked: 1 time
Been thanked: 0 time

Re: TFM&G2K's Planeswalkers Pool v4b (12/Sep/2013)

Postby thefiremind » 15 Sep 2013, 08:31

gorem2k wrote:EDIT: Ajani, Caller of the Pride 2nd ability is missing a duration.
Code: Select all
<DURATION simple_duration="UntilEOT" />
Good, so the problem was on Ajani. I'm on my way to fix it. :D

gorem2k wrote:So far so good.

made a quick video using a leyline (planeswalkers edition) in 2HG =P~

2HG test
Nice, I'll add Ajani's fix and move the new version to the first post.
EDIT: Done.

gorem2k wrote:on a completely different subject, (maybe I should use another thread) I found out that ZONE_CEASED_TO_EXIST can be used somehow. though I don't know what could use it. maybe as a commander zone?
The problem is that we have no function to move a single card to that zone. MoveLocalZone will always move all the cards from the source zone. Forget what I wrote... I hadn't looked at your goblins yet. I totally forgot about QueueZoneChange! #-o Nice idea. Commander would still need a custom support card, and phasing would still have the problem that zone changes shouldn't trigger when phasing in/out, but it's a step forward nonetheless.
< 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: TFM&G2K's Planeswalkers Pool v4c (15/Sep/2013)

Postby NVRSRRNDR » 15 Sep 2013, 19:45

thanks for the update

damn the Planeswalkers are so OVP xD
NVRSRRNDR
 
Posts: 7
Joined: 18 Aug 2013, 20:14
Has thanked: 1 time
Been thanked: 0 time

Re: TFM&G2K's Planeswalkers Pool v5 (18/Sep/2013)

Postby thefiremind » 18 Sep 2013, 12:05

I updated the pool with Ashiok and Xenagos, but I haven't coded the first ability on Xenagos. I'm looking for anyone who's already comfortable with RiiakShiNal's mana functions and wants to give it a shot. I remember gorem2k asking sumomole what was the best way to ask for a combination of 2 colors over X mana, so he may have a good part of it already done.

EDIT: Oh, I was forgetting: I could also use a better art for Xenagos.
< 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: TFM&G2K's Planeswalkers Pool v5 (18/Sep/2013)

Postby gorem2k » 18 Sep 2013, 19:13

Here's what I have done so far:

Xenagos mana ability | Open
Code: Select all
  <ACTIVATED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[(+1): Add X mana in any combination of {R} and/or {G} to your mana pool, where X is the number of creatures you control.]]></LOCALISED_TEXT>
    <AVAILABILITY sorcery_time="1" per_turn_limit="1" />
    <COST type="generic">
      <PREREQUISITE>
      return true
      </PREREQUISITE>
      <RESOLUTION_TIME_ACTION>
      if EffectSource() ~= nil then
         PLW_ShutDownDoublingSeason()
         EffectSource():AddCounters( MTG():GetCountersType("Loyalty"), 1 )
      end
      </RESOLUTION_TIME_ACTION>
    </COST>
    <PLAY_TIME_ACTION>
    RSN_MarkManaAbilityStart()
    </PLAY_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local filter = ClearFilter()
       filter:Add(FE_TYPE, OP_IS, CARD_TYPE_CREATURE)
       filter:Add(FE_CONTROLLER, OP_IS, EffectController())
       local amount = filter:Count()
       EffectDC():Set_Int(99, amount)
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local player = EffectController()
    local amount = EffectDC():Get_Int(99)
    if player:IsAI() then
       return false
    else
       player:BeginNewNumericalChoice()
       player:AddNumericalChoiceAnswer( amount )
       player:AskNumericalChoiceQuestion("{R}")
       return true
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local player = EffectController()
    local amount = EffectDC():Get_Int(99)
    if player:IsAI() then
       return false
    else
       local result_R = player:GetNumericalChoiceResult()
       local result_G = amount - result_R
       if result_R &gt;0 then
          RSN_Produce( "{R}", result_R )
       end
       if result_G &gt; 0 then
          RSN_Produce( "{G}", result_G )
       end
    end
    </RESOLUTION_TIME_ACTION>

    <RESOLUTION_TIME_ACTION repeating="1">
    local n = MTG():GetActionRepCount()
    local parity = n % 2
    local player = EffectController()
    local amount = EffectDC():Get_Int(99)
    if n &lt; (amount*2) and player:IsAI() then
      if parity == 0 then
        player:BeginNewMultipleChoice()
        player:AddMultipleChoiceAnswer( "CARD_QUERY_OPTION_MANA_R" )
        player:AddMultipleChoiceAnswer( "CARD_QUERY_OPTION_MANA_G" )
        player:AskMultipleChoiceQuestion( "CARD_QUERY_CHOOSE_COLOUR" )
      else
          local nColour = player:GetMultipleChoiceResult() + 3
          if (nColour == COLOUR_RED) then
             RSN_Produce( "{R}", 1 )
          elseif (nColour == COLOUR_GREEN) then
             RSN_Produce( "{G}", 1 )
          end
      end
      return true
    else
      return false
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    RSN_EliminateExtraManaTokens()
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    PLW_DisplayManaPool( EffectController() )
    RSN_MarkManaAbilityEnd()
    </RESOLUTION_TIME_ACTION>
  </ACTIVATED_ABILITY>
I had to change sumomole repeating action when not AI because I found it confusing when you only have to give one answer. I had Burnt Offering the same way but found out that giving 0 for numerical value caused 0 mana instead of giving maximum amount for second color. I'm still unsure if it will work for AI because of that. sumomole would surely be a better candidate for this task.

EDIT: I think AI can only produce 1 mana of red or green no matter how many creatures he has.. with the above code, "red mana" appear only once on screen.

AI test | Open
Code: Select all
    <RESOLUTION_TIME_ACTION repeating="1">
    local n = MTG():GetActionRepCount()
    local parity = n % 2
    local player = EffectController()
    local amount = EffectDC():Get_Int(99)
    if n &lt; (amount*2) and player:IsAI() then
      if parity == 0 then
        player:BeginNewMultipleChoice()
        player:AddMultipleChoiceAnswer( "CARD_QUERY_OPTION_MANA_R" )
        player:AddMultipleChoiceAnswer( "CARD_QUERY_OPTION_MANA_G" )
        player:AskMultipleChoiceQuestion( "CARD_QUERY_CHOOSE_COLOUR" )
      else
          local nColour = player:GetMultipleChoiceResult() + 3
          if (nColour == COLOUR_RED) then
             RSN_Produce( "{R}", 1 )
            MTG():MessageAllPlayers("red mana")
          elseif (nColour == COLOUR_GREEN) then
          RSN_Produce( "{G}", 1 )
          MTG():MessageAllPlayers("green mana")
          end
      end
      return true
    else
      return false
    end
    </RESOLUTION_TIME_ACTION>
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: TFM&G2K's Planeswalkers Pool v5b (22/Sep/2013)

Postby thefiremind » 22 Sep 2013, 18:29

I added RiiakShiNal's code to Xenagos, which should be fully working now.
< 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: TFM&G2K's Planeswalkers Pool v5b (22/Sep/2013)

Postby gorem2k » 24 Sep 2013, 04:17

Elspeth, Sun's Champion is not listed in your PLW_SubTypes list (D14_PLW.LOL). which is letting a player keep 2 Elspeth in play.
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: TFM&G2K's Planeswalkers Pool v5b (22/Sep/2013)

Postby thefiremind » 24 Sep 2013, 08:06

gorem2k wrote:Elspeth, Sun's Champion is not listed in your PLW_SubTypes list (D14_PLW.LOL). which is letting a player keep 2 Elspeth in play.
She is listed on my version, and I'm sure I added her before Ashiok and Xenagos.
< 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 2014

Who is online

Users browsing this forum: No registered users and 12 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form