It is currently 19 Jul 2025, 19:06
   
Text Size

Age of Dodekatheon - UPDATED 01/09/2014 DXT1 (183 cards)

Moderator: CCGHQ Admins

Re: Age of Dodekatheon - NEW UPDATED 10/26/2013 (68 cards)

Postby RiiakShiNal » 26 Oct 2013, 15:28

We know that ZONE_ANY abilities don't work on cards that are in ZONE_EXILE, but this is the first I have heard of the abilities not working in the deck and hand. My guess would be that this is an engine bug and short of making an ability for each zone there is nothing we can do about this.
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Age of Dodekatheon - NEW UPDATED 10/26/2013 (68 cards)

Postby NeoAnderson » 26 Oct 2013, 15:39

This is a really bad news, i already thought the same solution, but this will make the card's code more complex because you have to repeat the code many times and the possibility to miss something will increase! Also the debug action will be more complex.
Anyway about the dynamic text is not a very important issue, is just a visual information missing, the problem is about the real abilities, as add a subtype, because in that case if an effect acts on certain types, and the card has not that ability, it will not be considered, this could be a big issue!.

I will try to duplicate the code for the others zones and let you know.

Thanks Riiak.
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: Age of Dodekatheon - NEW UPDATED 10/26/2013 (68 cards)

Postby NeoAnderson » 26 Oct 2013, 16:29

Ok now i am officially confused!
I granted the ability for these zones : EXILE, HAND, GRAVEYARD, LIBRARY. The ability still not show always!!! Sometimes it appears sometimes not!
The ability is just a static ability only to add text! I also tried with an ability who add the land subtype!

To be more detailed i also found this behaviour. When you start the game first time, during the first match the ability 99,99% is not read in these zones, if you play the card then restart new matches 99% it reads the abilities also inside other zones! If you close MTG and launch it again the issue is repeated!
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: Age of Dodekatheon - NEW UPDATED 10/26/2013 (68 cards)

Postby RiiakShiNal » 26 Oct 2013, 17:03

Then it is highly likely an engine bug that we can't do anything about.
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Age of Dodekatheon - NEW UPDATED 10/31/2013 (84 cards)

Postby NeoAnderson » 30 Oct 2013, 23:58

I'm still trying to find new ideas to develope the cards of this set. Now i started to code the common and uncommon creatures.
The idea is to give an additional ability to these creatures when happen some events. The first color i am developing is Red.

Red creatures have BLOOD DROP
Blood drop rules : Whenever the creature with "blood drop", deals combat damage to an opponent while its additional ability is inactive, its additional ability become enabled. The additional ability remains enabled until it is used.

Probably each colour will receive a similar ability, activated by a different event, for example white colour will be activated by life gain, black colour by creature's death, green colour by creature's cast, blue colour by card's draw or discard..I am still thinking about it.

Any suggestion is really appreciated because is not so simple to think about any aspect of a new set (hystorical matching, colour matching, abilities matching, abilities creation, art matching, etc..etc.)
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: Age of Dodekatheon - NEW UPDATED 11/01/2013 (88 cards)

Postby NeoAnderson » 02 Nov 2013, 22:49

A simple question to (RiiakShiNal, Firemind or someone who encountered this issue).

When use grantability with an activable ability, if the is text too much, you cannot activate the ability.
If the text cannot fit totally into a single screen of the card, you have the sidebar to scroll, but in this case the ability cannot be activated!

Did you also found this issue?
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: Age of Dodekatheon - NEW UPDATED 11/01/2013 (88 cards)

Postby thefiremind » 02 Nov 2013, 22:59

NeoAnderson wrote:When use grantability with an activable ability, if the is text too much, you cannot activate the ability.
If the text cannot fit totally into a single screen of the card, you have the sidebar to scroll, but in this case the ability cannot be activated!
For granted abilities you usually need to scroll until the ability text is totally visible, so it makes sense that an ability can't be activated if its text cannot fit on the card. Try to shorten the text if you can.
< 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: Age of Dodekatheon - NEW UPDATED 11/01/2013 (88 cards)

Postby NeoAnderson » 02 Nov 2013, 23:29

Thanks Firemind,
I have followed a different idea, I found that if you attach the text of granted ability, with a commaspace="1" to a previous static text, also the granted text is resized. So i made a description of the additional ability attached to a previous paragraph, then i made a dinamyc granted text, "Use the Additional ability".
Was not possible to reduce the text because the ability effect need an explanaition.
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: Age of Dodekatheon - NEW UPDATED 11/01/2013 (88 cards)

Postby RiiakShiNal » 03 Nov 2013, 01:36

That depends on the way an ability is explained. If the ability itself is subject to some standardized rules for a keyword that need explaining then you can put the explanation for those rules in a "More Info" text screen. For example you defined a set rule for "Blood Drop" rather than explaining that key phrase in every card that uses that key phrase you can just add a standardized HELP block to each card with the key phrase. Once players become familiar with the rules for the phrase they generally won't need to refer to them.

As long as the ability text properly and accurately describes the ability extra information and examples can be put into the "More Info" screens as well. So this should help to keep ability texts relatively short and concise.
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Age of Dodekatheon - NEW UPDATED 11/03/2013 (92 cards)

Postby NeoAnderson » 03 Nov 2013, 19:16

Thanks Riiak, i followed your suggestion and i also added Help Block, to help the user to become more familiar with these custom abilities.

I would make a question to you and Firemind, i have made the follow card :

Sphinx of Naxos | Open
Code: Select all
<?xml version="1.0"?>
<CARD_V2 ExportVersion="14">
   <FILENAME text="NAXOS_SPHINX_3_4_U_7272202" />
   <CARDNAME text="NAXOS_SPHINX_3_4_U" />
   <TITLE>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Sphinx of Naxos]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Sphinge du Naxos]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Esfinge de Naxos]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Sphinx von Naxos]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Sfinge di Naxos]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[ナクソスのスフィンクス]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[낙소스의 스핑크스]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Сфинкс Наксос]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Esfinge de Naxos]]></LOCALISED_TEXT>
   </TITLE>
   <MULTIVERSEID value="7272202" />
   <ARTID value="7227202" />
   <ARTIST name="DEVIANTART - Anastasia Reddress" />
   <CASTING_COST cost="{1}{U}{U}{U}" />
   <TYPE metaname="Creature" />
   <SUB_TYPE metaname="Sphinx" />
   <EXPANSION value="DPI" />
   <RARITY metaname="U" />
   <POWER value="3" />
   <TOUGHNESS value="4" />


   <STATIC_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Flying]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Vol]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Vuela]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Fliegend]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Volare]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[飛行]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[비행]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Полет]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Voar]]></LOCALISED_TEXT>
      <INTRINSIC characteristic="CHARACTERISTIC_FLYING" />
   </STATIC_ABILITY>

   <TRIGGERED_ABILITY linked_ability_group="1" forced_skip="1" commaspace="1">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Ocean Drop.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Goutte ocean'sdropd'océan]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Gota del océano]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Ozeans Tropfen]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Goccia dell'Oceano.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[海のドロップ]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[바다의 드롭]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[океана падение]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[queda do oceano]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[海洋的下降]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[海洋的下降]]></LOCALISED_TEXT>
      <TRIGGER value="DISCARD" simple_qualifier="objectyoucontrol" />
      
      <INTERVENING_IF>
    local total = LinkedDC():Int_Get( 0 )
    if total == 0 then
       return true
    else
       return false
    end
    </INTERVENING_IF>

          <RESOLUTION_TIME_ACTION>
      LinkedDC():Int_Set( 0, 1 )   
      </RESOLUTION_TIME_ACTION>
      
   </TRIGGERED_ABILITY>

   <ACTIVATED_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{U}, {T}: Draw a card, then discard a card.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{U}, {T} : Piochez une carte, puis défaussez-vous d’une carte.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{U}, {T}: Roba una carta, luego descarta una carta.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{U}, {T}: Ziehe eine Karte und wirf dann eine Karte aus deiner Hand ab.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{U}, {T}: Pesca una carta poi scarta una carta dalla tua mano.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{U}, {T}:カードを1枚引き、その後カードを1枚捨てる。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{U}, {T}: Draw a card, then discard a card.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{U}, {T}: возьмите карту, затем сбросьте карту.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{U}, {T}: Compre um card e depois descarte um card.]]></LOCALISED_TEXT>
      <COST type="TapSelf" />
      <COST mana_cost="{U}" type="Mana" />
                <RESOLUTION_TIME_ACTION>
    EffectController():DrawCards(1)
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local filter = ClearFilter()
    filter:SetZone( ZONE_HAND, EffectController())
    EffectController():SetItemCount( 1 )
    for i = 0,(1-1) do
       EffectController():SetItemPrompt (i, "CARD_QUERY_CHOOSE_CARD_TO_DISCARD" )
    end
    EffectController():ChooseItems( EffectDC():Make_Targets(0) )
    </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
    local target_card = EffectDC():Get_Targets(0):Get_CardPtr(0)
    if target_card ~= nil  then
       target_card:Discard()
    end
    </RESOLUTION_TIME_ACTION>
</ACTIVATED_ABILITY>

   <TRIGGERED_ABILITY linked_ability_group="1" forced_skip="1">
      <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
      <RESOLUTION_TIME_ACTION>
         LinkedDC():Int_Set( 0, 0 )
    </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>




<STATIC_ABILITY linked_ability_group="1" active_zone="ZONE_ANY">
      
<CONTINUOUS_ACTION layer="6">
         if (EffectSource() ~= nil ) then
               local nState = LinkedDC():Int_Get( 0 )
               if (nState == 1) then
               EffectSource():GetCurrentCharacteristics():GrantAbility(3)
               EffectSource():GetCurrentCharacteristics():GrantAbility(1)
                             else
                              EffectSource():GetCurrentCharacteristics():GrantAbility(2)
                   end
                        end
      </CONTINUOUS_ACTION>
    <DURATION>
    return EffectSource() == nil
    </DURATION>
   </STATIC_ABILITY>

<STATIC_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Additional ability]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Capacité supplémentaire]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Capacidad adicional]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Zusätzliche Fähigkeit]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Abilità addizionale]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[追加能力]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[추가 기능]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Дополнительные способности]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Capacidade adicional]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[附加能力]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[附加能力]]></LOCALISED_TEXT>
   </STATIC_ABILITY>

<STATIC_ABILITY resource_id="2" commaspace="1" >
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[inactive ({U}{U} {T}: |Guess the number between 1 and 10 thought by Sphinx of Naxos. If the answer is correct, target creature gains +5 / +5, otherwise gets -X/-X where X is the difference between the number of the sphinx and your. If the difference is greater than 3 destroy target creature.|)]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[inactive ({U}{U} {T}: |Devinez le nombre entre 1 et 10 pensée par Sphinx de Naxos. Si la réponse est correcte, les gains de créature ciblées +5 / +5, obtient autrement -X/-XX est la différence entre le nombre de sphinx et votre. Si la différence est supérieure à 3 détruisez la créature ciblée.|)]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[inactivo ({U}{U} {T}: |Adivina el número entre 1 y 10 piensan Esfinge de Naxos. Si la respuesta es correcta, criatura objetivo gana 5/5, de lo contrario se pone -X/-X donde X es la diferencia entre el número de la esfinge y de sus aplicaciones. Si la diferencia es superior a 3 destruye la criatura objetivo.|)]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[inaktiv ({U}{U} {T}: |Erraten Sie die Zahl zwischen 1 und 10 durch Sphinx von Naxos dachte. Wenn die Antwort richtig ist, eine Kreatur Gewinne +5 / +5, sonst bekommt -X/-X wo X ist der Unterschied zwischen der Anzahl der Sphinx und Ihre. Ist die Differenz größer als 3 zerstöre eine Kreatur.|)]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[non attiva ({U}{U} {T}: |Indovina il numero compreso tra 1 e 10, pensato dalla Sfinge di Naxos. Se la risposta è corretta la creatura bersaglio guadagna +5/+5, altrimenti prende -X/-X dove X è la differenza tra il numero della sfinge e la tua risposta.Se la differenza è maggiore di 3 distruggi la creatura bersaglio.|)]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[非アクティブな({U}{U} {T}: |1〜10は、ナクソスのスフィンクスで考え数字を推測する。答えが正しければ、Xはスフィンクスの数との間の差である、目標クリーチャーは+5/ +5、そうでなければ-X/-Xを取得します。差が3より大きい場合は、ターゲット·クリーチャーを破壊する。|)]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[비활성 ({U}{U} {T}: |1 ~ 10 낙소스의 스핑크스으로 생각 숫자를 맞춰보세요.답이 올바른 경우 X는 스핑크스의 수와의 차이이고, 대상 생물 이익 +5 / +5, 그렇지 않으면 -X/-X을 가져옵니다.차이가 3보다 크면 목표 생물을 파괴한다.|)]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[неактивный ({U}{U} {T}: |Угадай число от 1 до 10 думают Сфинкс Наксос. Если ответ правильный, Целевое существо получает +5 / +5, в противном случае получает -X/-X, где X представляет собой разницу между числом сфинкса и вашим. Если разница больше 3 Уничтожьте целевое существо.|)]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[inativo ({U}{U} {T}: |Adivinhar o número entre 1 e 10 considerado por Esfinge de Naxos. Se a resposta estiver correta, a criatura alvo ganha 5/5, caso contrário, recebe -X/-X onde X é a diferença entre o número da esfinge e sua. Se a diferença for superior a 3 destruir a criatura alvo.|)]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[無效({U}{U} {T}:,|猜數1到10之間認為獅身人面像的納克索斯島。如果答案是正確的,目標生物獲得+5 /+5,否則得到-X/-X的,其中X是數量的獅身人面像和你之間的差異。如果差值大於3摧毀目標生物。|)]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[無效({U}{U} {T}: |猜數1到10之間認為獅身人面像的納克索斯島。如果答案是正確的,目標生物獲得+5 /+5,否則得到-X/-X的,其中X是數量的獅身人面像和你之間的差異。如果差值大於3摧毀目標生物。|)]]></LOCALISED_TEXT>
   </STATIC_ABILITY>


<STATIC_ABILITY resource_id="3" commaspace="1" >
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[active {U}{U} {T}: Guess the number between 1 and 10 thought by Sphinx of Naxos. If the answer is correct, target creature gains +5 / +5, otherwise gets -X/-X where X is the difference between the number of the sphinx and your. If the difference is greater than 3 destroy target creature.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[active {U}{U} {T}: Devinez le nombre entre 1 et 10 pensée par Sphinx de Naxos. Si la réponse est correcte, les gains de créature ciblées +5 / +5, obtient autrement -X/-XX est la différence entre le nombre de sphinx et votre. Si la différence est supérieure à 3 détruisez la créature ciblée.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[activa {U}{U} {T}: Adivina el número entre 1 y 10 piensan Esfinge de Naxos. Si la respuesta es correcta, criatura objetivo gana 5/5, de lo contrario se pone -X/-X donde X es la diferencia entre el número de la esfinge y de sus aplicaciones. Si la diferencia es superior a 3 destruye la criatura objetivo.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[aktiv {U}{U} {T}: Erraten Sie die Zahl zwischen 1 und 10 durch Sphinx von Naxos dachte. Wenn die Antwort richtig ist, eine Kreatur Gewinne +5 / +5, sonst bekommt -X/-X wo X ist der Unterschied zwischen der Anzahl der Sphinx und Ihre. Ist die Differenz größer als 3 zerstöre eine Kreatur.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[attiva {U}{U} {T}: Indovina il numero compreso tra 1 e 10, pensato dalla Sfinge di Naxos. Se la risposta è corretta la creatura bersaglio guadagna +5/+5, altrimenti prende -X/-X dove X è la differenza tra il numero della sfinge e la tua risposta.Se la differenza è maggiore di 3 distruggi la creatura bersaglio.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[アクティブ{U}{U} {T}: 1〜10は、ナクソスのスフィンクスで考え数字を推測する。答えが正しければ、Xはスフィンクスの数との間の差である、目標クリーチャーは+5/ +5、そうでなければ-X/-Xを取得します。差が3より大きい場合は、ターゲット·クリーチャーを破壊する。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[활동적인{U}{U} {T}: 1 ~ 10 낙소스의 스핑크스으로 생각 숫자를 맞춰보세요.답이 올바른 경우 X는 스핑크스의 수와의 차이이고, 대상 생물 이익 +5 / +5, 그렇지 않으면 -X/-X을 가져옵니다.차이가 3보다 크면 목표 생물을 파괴한다.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[активный {U}{U} {T}: | Получите контроль над целевым существом, Разверните то существо и имеет Ускорение до конца хода. Вы можете использовать эту способность один раз за ход.|)]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Capacidade adicional, inativo Угадай число от 1 до 10 думают Сфинкс Наксос. Если ответ правильный, Целевое существо получает +5 / +5, в противном случае получает -X/-X, где X представляет собой разницу между числом сфинкса и вашим. Если разница больше 3 Уничтожьте целевое существо.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[活躍 {U}{U} {T}: 猜數1到10之間認為獅身人面像的納克索斯島。如果答案是正確的,目標生物獲得+5 /+5,否則得到-X/-X的,其中X是數量的獅身人面像和你之間的差異。如果差值大於3摧毀目標生物。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[活躍 {U}{U} {T}: 猜數1到10之間認為獅身人面像的納克索斯島。如果答案是正確的,目標生物獲得+5 /+5,否則得到-X/-X的,其中X是數量的獅身人面像和你之間的差異。如果差值大於3摧毀目標生物。]]></LOCALISED_TEXT>
   </STATIC_ABILITY>

<ACTIVATED_ABILITY resource_id="1"  linked_ability_group="1">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{U}{U} {T}: Use additional ability. You can use it only once per turn.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{U}{U} {T} : Utilisez capacité supplémentaire. Vous pouvez l'utiliser qu'une seule fois par tour.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{U}{U} {T}: Utilice la capacidad adicional. Se puede utilizar sólo una vez por turno.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{U}{U} {T}: Verwenden Sie zusätzliche Fähigkeit. Sie können es nur einmal pro Spielzug benutzen.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{U}{U} {T}: Usa abilità addizionale. Puoi usarla una sola volta per turno.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{U}{U} {T}: 付加的な機能を使用してください。あなたは、1ターンに1度しか使用することができます。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{U}{U} {T}:추가 기능을 사용합니다. 당신은 1 턴에 1 번 밖에 사용할 수 있습니다.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{U}{U} {T}: Используйте дополнительные способности. Вы можете использовать его только один раз за ход.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{U}{U} {T}: Use capacidade adicional. Você pode usá-lo apenas uma vez por turno.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[{U}{U} {T}: 使用額外的能力。你可以用它每轉一次。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[{U}{U} {T}: 使用額外的能力。你可以用它每轉一次。]]></LOCALISED_TEXT>
      <COST mana_cost="{U}{U}" type="Mana" />
      <COST type="TapSelf" />
      <TARGET tag="CARD_QUERY_CHOOSE_CREATURE_APPLY_EFFECT" definition="0" compartment="0" count="1" />
      <TARGET_DEFINITION id="0">
    local filter = ClearFilter()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
    -- filter:Add( FE_CONTROLLER, OP_NOT, EffectController())
    </TARGET_DEFINITION>
 
       <PLAY_TIME_ACTION>
      local oCreature = EffectDC():Get_Targets(0):Get_CardPtr(0)
      local oPlayer = oCreature:GetPlayer()
      local oCard = EffectSource()
      if (oPlayer ~= nil)  and (oCreature~= nil) then
             oPlayer:BeginNewNumericalChoice()
             oPlayer:AddNumericalChoiceAnswer(10)
             oPlayer:AskNumericalChoiceQuestion( "CARD_QUERY_NAXOS_SPHINX" )
      end
      </PLAY_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
      local oCreature = EffectDC():Get_Targets(0):Get_CardPtr(0)
           local oPlayer = oCreature:GetPlayer()
                local rColour =   MTG():RandomNumberBetween(1, 10)
      local nColour = oPlayer:GetNumericalChoiceResult()
                local dColour = 0
       if rColour &gt; nColour  then
                  dColour = rColour - nColour
                 
                else
                  dColour = nColour - rColour
                end
                if dColour &gt; 3 then
                   oCreature:Destroy()
                else
                    LinkedDC():Int_Set( 2, dColour )

                end
          LinkedDC():Int_Set( 1, 1 )
               EffectController():DisplayMessage("Sphinx choice = "..rColour.."   Player Choice = "..nColour.."  Difference = "..dColour)
      </RESOLUTION_TIME_ACTION>
             

   <CONTINUOUS_ACTION layer="7C">
    local total = LinkedDC():Int_Get( 2 )
    local oCreature = EffectDC():Get_Targets(0):Get_CardPtr(0)
 if oCreature ~= nil then
    if total == 0 then
   oCreature:GetCurrentCharacteristics():Power_Add( 5 )
       oCreature:GetCurrentCharacteristics():Toughness_Add( 5 )
    else
        oCreature:GetCurrentCharacteristics():Power_Add( -total )
       oCreature:GetCurrentCharacteristics():Toughness_Add( -total )
    end
 end
  </CONTINUOUS_ACTION>
<DURATION simple_duration="UntilEOT" />
<AVAILABILITY per_turn_limit="1" />
   </ACTIVATED_ABILITY>

<TRIGGERED_ABILITY linked_ability_group="1" forced_skip="1">
      <TRIGGER value="BEGINNING_OF_STEP">
    return MTG():GetStep() == STEP_END_OF_TURN
    </TRIGGER>
      <INTERVENING_IF>
    local total = LinkedDC():Int_Get( 1 )
    if total == 1 then
       return true
    else
       return false
    end
    </INTERVENING_IF>
      <RESOLUTION_TIME_ACTION>
      LinkedDC():Int_Set( 0, 0 )
      LinkedDC():Int_Set( 1, 0 )
      LinkedDC():Int_Set( 2, 0 )
    </RESOLUTION_TIME_ACTION>
   </TRIGGERED_ABILITY>   
<HELP title="MORE_INFO_OCEANDROP_TITLE_1" body="MORE_INFO_OCEANDROP_BODY_1" zone="ZONE_ANY" />
</CARD_V2>
Image

Do you think is possible to code the sphinx dynamic ability as a function?

My idea is to make Guess ability as a function with some different parameters.

Should be Guess (Max_num, Positive_Effect, Negative_Effect, Range, Worst_Effect)

Max_num = The upper limit of the numerical choice, for example inside my card is 10 so you have to guess a number between 1 and 10.

Positive_Effect = is the effect to apply when you give the right answer.

Negative_Effect = is the effect to apply when the difference between your answer and the sphinx answer is inside the range. For example in this case, the card apply -x/-x where X can be 1 up to 3.

Range = is the range where you apply negative effect.

Worst_Effect = is the effect to apply when your answer is out of range.

Making a function will make easy to use this ability inside other cards without copy the codes and make many lines modifies.
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: Age of Dodekatheon - NEW UPDATED 11/03/2013 (92 cards)

Postby LyZARC74 » 03 Nov 2013, 19:55

I think it is a very interesting deck!It crashes sometimes!I dont know but i think its a land problem!Thank you !
LyZARC74
 
Posts: 5
Joined: 03 Nov 2013, 19:41
Has thanked: 0 time
Been thanked: 0 time

Re: Age of Dodekatheon - NEW UPDATED 11/03/2013 (92 cards)

Postby NeoAnderson » 03 Nov 2013, 20:32

Thanks LyXarc74, until now the deck is jus to test the cards, the set is not completed so is no sense to make themed deks. The decks will be made when the set will be completed. About the crash until now i haven't experencied this issue. If you can try to let me know which card give you this problem.
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: Age of Dodekatheon - NEW UPDATED 11/03/2013 (92 cards)

Postby RiiakShiNal » 03 Nov 2013, 21:22

As a single function no it is not possible to do as it spans more than a single action (and requires more than a single action). Also there is no way to pass an effect into a function as there is no effect object, you could pass a resource_id and or a data chest for a delayed trigger or an ability to grant.

However, you can make use of a set of functions to make it easier to code. For example when I re-wrote Annihilator for the core fixes I had to make a set of 3 functions for it (one function for each action):
  1. RSN_Annihilator_PlayerChoosing()
  2. RSN_Annihilator_PermanentChoosing(nAmount)
  3. RSN_Annihilator_Sacrificing()
Though it should be noted that Annihilator has fixed effects with only the number of players and/or permanents varying based on game type and amount of Annihilator. If you have varying effects then what you can actually put into a function will vary. If you look at the Manual Mana functions there are quite a few different functions with different effects and different places they are used due to the differences between mana ability effects on different cards. Like you will always use RSN_EliminateExtraManaTokens() at the end of an ability after all tokens have been created, but on some abilities you won't use RSN_MarkManaAbilityStart() and RSN_MarkManaAbilityEnd() (you wouldn't use them for a TRIGGERED_ABILITY for example only for ACTIVATED_ABILITYs and even then only when actually valid). You will also notice that RSN_CheckSwitchToFallback() only returns whether or not a fallback should be enabled if possible and does not automatically set the fallback as each card may have a completely different fallback or may need a set of fallback abilities or special processing.

You could create a set of functions like this:
Code: Select all
RandomGuessBetween(Player, Min, Max)
GetRandomGuessResult(Range)
Where the RandomGuessBetween function uses the Min and Max to create a random for the card, uses the Max to set the upper limit for the player to guess, and uses Player to decide which player gets to guess the number.

GetRandomGuessResult could then get the stored player (or could take Player as a parameter) to get the player's guess compare it to the stored random that was created in RandomGuessBetween() and give back a number for which result it should use. For example 0 could be "correct", 1 could be "incorrect, but in range" and 2 could be "all other cases". This returned result could then be acted upon (for actions that don't need to be repeated) or stored (for things like CONTINUOUS_ACTIONs that do get repeated. If you need to also get back the difference from the range you could store that in an EffectDC() register and make another function to get that. So you could have a GetGuessDifference() which would be called if the GetRandomGuessResult() is 1 and/or 2.

The effects would probably be easier to leave outside of functions unless they are highly repetitive and very similar as different effects have different restrictions. For example granting abilities should always be done on Layer 6, while variable P/T modifications are done on 7C, set P/T changes are done on 7B and are all CONTINUOUS_ACTIONs, effects like drawing, discarding, and/or destroying cards are done in RESOLUTION_TIME_ACTIONS, other effects are done using delayed triggers and so on.... The more differences the more special processing is required.
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Age of Dodekatheon - NEW UPDATED 11/03/2013 (92 cards)

Postby NeoAnderson » 03 Nov 2013, 22:28

Thanks for your opinions and explanations, i understand what you say, i still have to understand how to implement a function, i will try to take a look to your functions and also firemind's ones. Hope this will be enough to make it.
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: Age of Dodekatheon - NEW UPDATED 11/03/2013 (92 cards)

Postby Savage- » 04 Nov 2013, 22:08

I'm still playing the first release of your mod I was waiting for some special lands and you made them so I wanted to test out the deck with the new updates.
Savage-
 
Posts: 3
Joined: 04 Nov 2013, 21:58
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