It is currently 17 Jun 2025, 18:52
   
Text Size

Formal Request Thread

Moderator: CCGHQ Admins

Re: Formal Request Thread

Postby thefiremind » 07 Jul 2013, 08:37

Master Necro wrote:I just have one question what is <COUNTER_REGISTRATION name="Fuse" proliferate="11" />, it said Quest and I changed it to Fuse do I have to add that somewhere like also?
It's OK. What I'd like to know is what we should write instead of "11" if we declare a "bad" counter that we don't want to proliferate for ourselves (or we want to proliferate for the opponents). I guess that "11" means "this counter is as good as a +1/+1 counter", but what for "this counter is as bad as a -1/-1 counter"? There are no examples of that in the official cards. Anyway, fuse counters are good, so it's OK that way.
< 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: Formal Request Thread

Postby gorem2k » 07 Jul 2013, 08:54

thefiremind wrote:Talking about interrogation, I'm about to make an Esper deck (not just for colors, but for flavor as well) and I successfully coded Ethersworn Canonist with a clever use of interrogation. If someone needs it
Sure.

The only examples I've found were for Bloodthirst.

this is perfect for next level coding... *Ding!*

oh and Goblin Bomb is now much better. one little tiny detail, why is a huge explosion FX happening even if I don't flip the coin?
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: Formal Request Thread

Postby thefiremind » 07 Jul 2013, 09:01

gorem2k wrote:oh and Goblin Bomb is now much better. one little tiny detail, why is a huge explosion FX happening even if I don't flip the coin?
We have no control over SFX, if you insert it in an ability it will be played on resolution, no matter what happens with the ability. You might want to remove it from the "flip coin" ability and leave it on the activation that deals 20 damage.
< 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: Formal Request Thread

Postby gorem2k » 07 Jul 2013, 09:40

thefiremind wrote:Brine Hag would probably need to use interrogation in order to know which creatures dealt damage to it.
Actually, I think DAMAGE_DEALT won't do. and there are no DEALT_DAMAGE INTERROGATE constants, so I'm left using the unknown territory of DO loops + GetNthEvaluatedObject, SetMarkedObjectsOnly, and such. Do you have any example card that would be useful for Brine?
gorem2k
 
Posts: 464
Joined: 01 Apr 2013, 04:21
Has thanked: 48 times
Been thanked: 33 times

Re: Formal Request Thread

Postby thefiremind » 07 Jul 2013, 10:00

gorem2k wrote:
thefiremind wrote:Brine Hag would probably need to use interrogation in order to know which creatures dealt damage to it.
Actually, I think DAMAGE_DEALT won't do. and there are no DEALT_DAMAGE INTERROGATE constants, so I'm left using the unknown territory of DO loops + GetNthEvaluatedObject, SetMarkedObjectsOnly, and such. Do you have any example card that would be useful for Brine?
I "inverted" the code from Sengir Vampire and I think I got something good. I'm not familiar with FILTER_CONDITION blocks yet, so I might have made mistakes, but try this:
Code: Select all
  <TRIGGERED_ABILITY>
    -- Localised text omitted
    <TRIGGER value="ZONECHANGE_BEGIN" simple_qualifier="self" to_zone="ZONE_GRAVEYARD" from_zone="ZONE_BATTLEFIELD">
    EffectDC():Protect_CardPtr(COMPARTMENT_ID_EFFECT_SOURCE)
    return true
    </TRIGGER>
    <FILTER filter_id="0">
    local filter = ClearFilter()
    filter:Add(FE_TYPE, OP_IS, CARD_TYPE_CREATURE)
    filter:Add( FE_LUA_CONDITION, 1, EffectController(), EffectDC() )
    </FILTER>
    <FILTER_CONDITION id="1">
    local creature = FilteredCard()
    if creature ~= nil then
       local interrogation = MTG():ClearInterrogationQuery()
       interrogation:SetObject(creature)
       interrogation:SetSecondaryObject( EffectSource() )
       if interrogation:Test(INTERROGATE_DAMAGE_DEALT, INTERROGATE_THIS_TURN) then
          return true
       end
    end
    return false
    </FILTER_CONDITION>
    <CONTINUOUS_ACTION layer="7B" filter_id="0">
    if FilteredCard() ~= nil then
       local characteristics = FilteredCard():GetCurrentCharacteristics()
       characteristics:Power_Set(0)
       characteristics:Toughness_Set(2)
    end
    </CONTINUOUS_ACTION>
    <DURATION>
    return FilteredCard() == nil
    </DURATION>
  </TRIGGERED_ABILITY>
< 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: Formal Request Thread

Postby RiiakShiNal » 07 Jul 2013, 14:00

Last edited by RiiakShiNal on 10 Jul 2013, 14:30, edited 9 times in total.
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Formal Request Thread

Postby kevlahnota » 07 Jul 2013, 14:11

@Riiak ShiNal
@thefiremind

PM'ed you both.
User avatar
kevlahnota
Programmer
 
Posts: 825
Joined: 19 Jul 2010, 17:45
Location: Philippines
Has thanked: 14 times
Been thanked: 264 times

Re: Formal Request Thread

Postby Master Necro » 07 Jul 2013, 14:13

User avatar
Master Necro
 
Posts: 259
Joined: 24 Apr 2013, 18:25
Has thanked: 83 times
Been thanked: 21 times

Re: Formal Request Thread

Postby thefiremind » 07 Jul 2013, 14:16

EDIT: Forget what was written here.
(Well, you can find it in a lot of quotes so it won't be easy... :roll:)
Last edited by thefiremind on 07 Jul 2013, 14:56, 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: Formal Request Thread

Postby NEMESiS » 07 Jul 2013, 14:24

thefiremind wrote:
kevlahnota wrote:@Riiak ShiNal
@thefiremind

PM'ed you both.
I think it's not a secret and this is the best place to spread the news: kevlahnota found how to produce multiple mana colors without any trick.

So, let's make an example: " {T}: Add {B} or {G} to your mana pool" will be coded like this:
Code: Select all
  <MANA_ABILITY>
    <COST type="TapSelf" />
    <PRODUCES amount="{BG}" />
  </MANA_ABILITY>
Understood? :D

All the credit goes to kevlahnota for (maybe) the best DotP2014 discover so far. =D>
No more tokens. :shock: :shock:

=D>

WAIT, does that mean that we can also now have cards like Urborg, Tomb of Yawgmoth?
User avatar
NEMESiS
 
Posts: 460
Joined: 03 Jan 2013, 04:02
Location: Pools of Becoming
Has thanked: 70 times
Been thanked: 21 times

Re: Formal Request Thread

Postby thefiremind » 07 Jul 2013, 14:27

Uhm... I just tried to code Obelisk of Esper but there's something that doesn't work, so hold on a second...

I had 2 untapped Obelisk of Esper and 1 untapped Island and couldn't cast Ethersworn Shieldmage. It seemed to me that this:
Code: Select all
  <MANA_ABILITY>
    <COST type="TapSelf" />
    <PRODUCES amount="{WUB}" />
  </MANA_ABILITY>
was producing only {B}.
EDIT: actually, only {1}.
Last edited by thefiremind on 07 Jul 2013, 14:48, edited 2 times 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: Formal Request Thread

Postby kevlahnota » 07 Jul 2013, 14:28

@thefiremind
:D its not really a secret... :lol:

anyway next thing is how to add custom frames ?!?
I tried adding <FRAME_TYPE type="miracle" /> to a colorless basic land, and the frame changes to a multicolored frame.

so I think its looking a frame?


NEMESiS wrote:
thefiremind wrote:
kevlahnota wrote:@Riiak ShiNal
@thefiremind

PM'ed you both.
I think it's not a secret and this is the best place to spread the news: kevlahnota found how to produce multiple mana colors without any trick.

So, let's make an example: " {T}: Add {B} or {G} to your mana pool" will be coded like this:
Code: Select all
  <MANA_ABILITY>
    <COST type="TapSelf" />
    <PRODUCES amount="{BG}" />
  </MANA_ABILITY>
Understood? :D

All the credit goes to kevlahnota for (maybe) the best DotP2014 discover so far. =D>
No more tokens. :shock: :shock:

=D>

WAIT, does that mean that we can also now have cards like Urborg, Tomb of Yawgmoth?
Urborg, Tomb of Yawgmoth is a complex card so I doubt it will be possible.
User avatar
kevlahnota
Programmer
 
Posts: 825
Joined: 19 Jul 2010, 17:45
Location: Philippines
Has thanked: 14 times
Been thanked: 264 times

Re: Formal Request Thread

Postby NEMESiS » 07 Jul 2013, 14:34

thefiremind wrote:Uhm... I just tried to code Obelisk of Esper but there's something that doesn't work, so hold on a second...

I had 2 untapped Obelisk of Esper and 1 untapped Island and couldn't cast Ethersworn Shieldmage. It seemed to me that this:
Code: Select all
  <MANA_ABILITY>
    <COST type="TapSelf" />
    <PRODUCES amount="{WUB}" />
  </MANA_ABILITY>
was producing only {B}.
Just a stab here but what if you split it into 2 parts, one for {B W} and {U B}?
User avatar
NEMESiS
 
Posts: 460
Joined: 03 Jan 2013, 04:02
Location: Pools of Becoming
Has thanked: 70 times
Been thanked: 21 times

Re: Formal Request Thread

Postby thefiremind » 07 Jul 2013, 14:38

NEMESiS wrote:Just a stab here but what if you split it into 2 parts, one for {B W} and {U B}?
It would fall back to one of the scenarios that RiiakShiNal listed here. However, maybe it really supports no more than 2 colors... I'm going to remove 1 color from my Obelisk and see what happens.

EDIT: Even with just "{WU}" I can't cast Ethersworn Shieldmage if I control only Obelisks and Islands. I trusted kevlahnota but now I think he must have missed something. The example he showed me was Breeding Pool... could it be that having the basic land types is necessary for the mana source to work well with this syntax?

EDIT 2: I made my Obelisk a land instead of an artifact... still nothing. I added Plains and Island sub-types... still nothing.
< 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: Formal Request Thread

Postby kevlahnota » 07 Jul 2013, 14:53

You are correct, Sorry but its a mistake. The game only recognizes the last letter inside the curly braces.

I think we need to define the mana so the game will recognize it.

:oops: :oops: :oops:

thefiremind wrote:
NEMESiS wrote:Just a stab here but what if you split it into 2 parts, one for {B W} and {U B}?
It would fall back to one of the scenarios that RiiakShiNal listed here. However, maybe it really supports no more than 2 colors... I'm going to remove 1 color from my Obelisk and see what happens.

EDIT: Even with just "{WU}" I can't cast Ethersworn Shieldmage if I control only Obelisks and Islands. I trusted kevlahnota but now I think he must have missed something. The example he showed me was Breeding Pool... could it be that having the basic land types is necessary for the mana source to work well with this syntax?
User avatar
kevlahnota
Programmer
 
Posts: 825
Joined: 19 Jul 2010, 17:45
Location: Philippines
Has thanked: 14 times
Been thanked: 264 times

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 13 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 13 users online :: 0 registered, 0 hidden and 13 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 13 guests

Login Form