Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
Programming Talk



Talk about new cards here
Moderator: CCGHQ Admins
Re: Talk about new cards here
by Yanna » 05 Sep 2010, 08:37
Yeah i confirm that, tying to code the first version of black lotus a long time ago. I did add one ability for every mana color => It only handles 3 at maximum.Clark wrote:But it seems the card won't work if there are more than 3 <ACTIVATED_ABILITY/> tags in it.
Back on Training Grounds :
I tried to code this : (using influencing_zone="InPlay" )
- Code: Select all
<STATIC_ABILITY influencing_zone="InPlay" layer="8">
<FILTER>
return (Creatures() and InPlay())
</FILTER>
<EFFECT>
DecreaseCost( 1 )
</EFFECT>
</STATIC_ABILITY>

Re: Talk about new cards here
by Bog Wraith » 05 Sep 2010, 16:03
OK, those that know me here at CCGHQ are propably wondering what the heck took Bog Wraith so long to as for his favorite card?
I've gotten it for both ManaLink & Forge, so I'm trying for the hat trick, (being a Canadian, it follows as a hockey fan!), so here it goes...
I would like to request & hope it is possible to code the card Necropotence. Unquestionably my favorite MTG card of all time & IMHO the best too!
With Phyrexian Arena in it should work, however the pay life for cards & have the cards held until the end of turn, along with the discarded cards needing to be removed from the game might be a problem. Those two mechanics of Necropotence were always a bit of a stumbling block for the other 2 games I mentioned, but they were overcome and the card functions very well in both ManaLink & Forge.
Oh, and of course, my namesake card of Bog Wraith would be nice in the game too, using the original art of course!
SO I hope it can be added to DOTP too!
Thanks

I've gotten it for both ManaLink & Forge, so I'm trying for the hat trick, (being a Canadian, it follows as a hockey fan!), so here it goes...
I would like to request & hope it is possible to code the card Necropotence. Unquestionably my favorite MTG card of all time & IMHO the best too!
With Phyrexian Arena in it should work, however the pay life for cards & have the cards held until the end of turn, along with the discarded cards needing to be removed from the game might be a problem. Those two mechanics of Necropotence were always a bit of a stumbling block for the other 2 games I mentioned, but they were overcome and the card functions very well in both ManaLink & Forge.
Oh, and of course, my namesake card of Bog Wraith would be nice in the game too, using the original art of course!

SO I hope it can be added to DOTP too!

Thanks
'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
-
Bog Wraith - Global Mod 1 (Ret)
- Posts: 1108
- Joined: 28 May 2008, 22:40
- Location: Shandalar
- Has thanked: 425 times
- Been thanked: 153 times
Re: Talk about new cards here
by Yanna » 05 Sep 2010, 16:15
I'll take the challenge of Necropotence, got a fine idea on how to do it 
Actually the pay life for cards and remove them / retrieve them at end of turn is the easier bit...
As for Bog Wraith it's too overpowered to be done ! (Was one of my nightmare when i started playing, especially caus i love sawmps ^^. Hey just joking of course, it'll be soon done)

Actually the pay life for cards and remove them / retrieve them at end of turn is the easier bit...
As for Bog Wraith it's too overpowered to be done ! (Was one of my nightmare when i started playing, especially caus i love sawmps ^^. Hey just joking of course, it'll be soon done)

Re: Talk about new cards here
by Huggybaby » 05 Sep 2010, 18:14
It's good to see Bog Wraith kicking around here and getting things done!
-
Huggybaby - Administrator
- Posts: 3229
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 754 times
- Been thanked: 601 times
Re: Talk about new cards here
by Bog Wraith » 05 Sep 2010, 19:00
Nothing pleases me more than seeing your avatar my friend!
Well, that and a Necropotence card to play with!

Well, that and a Necropotence card to play with!

'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
-
Bog Wraith - Global Mod 1 (Ret)
- Posts: 1108
- Joined: 28 May 2008, 22:40
- Location: Shandalar
- Has thanked: 425 times
- Been thanked: 153 times
Re: Talk about new cards here
by Yanna » 06 Sep 2010, 21:32
Hopefully it's bug freeBog Wraith wrote:Nothing pleases me more than seeing your avatar my friend!![]()
Well, that and a Necropotence card to play with!


Re: Talk about new cards here
by Bog Wraith » 07 Sep 2010, 23:05
Thanks again Yanna for Necropotence!
Ok, I'd like to ask if another card I'd like to use in my Necro deck can be made:
Lake of the Dead.
Ok, I'd like to ask if another card I'd like to use in my Necro deck can be made:
Lake of the Dead.
'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
-
Bog Wraith - Global Mod 1 (Ret)
- Posts: 1108
- Joined: 28 May 2008, 22:40
- Location: Shandalar
- Has thanked: 425 times
- Been thanked: 153 times
Re: Talk about new cards here
by whismer » 08 Sep 2010, 00:11
Already in the game, made by 8888 DLC (kev or logoliv)


- whismer
- Posts: 64
- Joined: 23 Jul 2010, 02:36
- Has thanked: 0 time
- Been thanked: 0 time
Re: Talk about new cards here
by logoliv » 26 Sep 2010, 14:53
I'm trying to code Necroskitter, and it driving me nuts...
The problem is how to code wither
I've tried that :
The problem is how to code wither

I've tried that :
- Code: Select all
<TRIGGERED_ABILITY tag="NECROSKITTER_RULE_1" auto_skip="1" layer="0" >
<TRIGGER value="CREATURE_DEALT_COMBAT_DAMAGE_TO_CREATURE">
return SelfTriggered()
</TRIGGER>
<EFFECT>
local damage = Damage():GetAmount()
SecondaryObject():GetCurrentCharacteristics():Toughness_Add( damage )
SecondaryObject():AddCounters( MTG():MinusOneMinusOneCounters(), damage )
</EFFECT>
</TRIGGERED_ABILITY>
Re: Talk about new cards here
by Bog Wraith » 26 Sep 2010, 15:23
For the Seeds of Rot deck, the Golgari Rot Farm would fit in very nicely. I'm not sure who built that deck but if you could add 4 of them in they would work very well indeed!
'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
-
Bog Wraith - Global Mod 1 (Ret)
- Posts: 1108
- Joined: 28 May 2008, 22:40
- Location: Shandalar
- Has thanked: 425 times
- Been thanked: 153 times
Re: Talk about new cards here
by codeALPHA » 26 Sep 2010, 16:14
Try that for trigger
Edit: I forgot to mention you also need pre_trigger="1" and maybe internal="1" in the ability tags.
- Code: Select all
<TRIGGER value="CREATURE_TOOK_DAMAGE">
if ( Damage():GetSource() == Object() ) and ( Damage():IsCombat() == 1 )then
override = true
return true
else
return false
end
</TRIGGER>
Edit: I forgot to mention you also need pre_trigger="1" and maybe internal="1" in the ability tags.
Re: Talk about new cards here
by Clark » 07 Oct 2010, 13:40
It is appreciate for your suggestion for the ability 2 of 'Obstinate Baloth'

It could be both sorcery, instant & creature's ability...so that we could not simply identify target card type.
Got confused.


It could be both sorcery, instant & creature's ability...so that we could not simply identify target card type.
Got confused.

- Clark
- Posts: 64
- Joined: 21 Aug 2010, 16:07
- Has thanked: 0 time
- Been thanked: 0 time
Who is online
Users browsing this forum: No registered users and 13 guests