It is currently 25 May 2025, 09:52
   
Text Size

Card Development Questions

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Card Development Questions

Postby Tranberry » 16 Jan 2012, 00:57

I'm bad at finding stuff, is there a list of cards that are done for each set somewhere? (eg 123 of 124)
User experience, make or break. MtG drafting is fun.
User avatar
Tranberry
 
Posts: 59
Joined: 01 Apr 2010, 19:32
Location: Sweden
Has thanked: 136 times
Been thanked: 3 times

Re: Card Development Questions

Postby friarsol » 16 Jan 2012, 01:27

Tranberry wrote:I'm bad at finding stuff, is there a list of cards that are done for each set somewhere? (eg 123 of 124)
We have a Python script that we run to find out that information. It's /res/PerSetTracking.py if you have Python installed, you can run it and poke through the folders.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Development Questions

Postby moomarc » 16 Jan 2012, 15:20

@ArsenalNut: Here's a project patch that will add the rest of the Licids to your cardsfolder. Includes all of them except Tempting Licid becuse I didn't think its worth it until the provoke issues are resolved.

Anyway I thought you might want them to help test the Attach drawback under the different situations they provide.

Two things I've noticed so far though. The licid still doesn't fall off or die if the creature its enchanting is no longer a creature (enchant an animated Celestial Collonade, or enchant another licid then transform that one). Also, they have no image when they're transformed into an aura.

So far it seems like the AI will try to use the licid's ability, but he taps it and pays the mana cost without targeting anything and nothing happens.

EDIT: Oops:! Forgot attachment
Attachments
patch.txt
Licids
(19.68 KiB) Downloaded 236 times
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: Card Development Questions

Postby Hellfish » 16 Jan 2012, 15:27

The image bit is a problem with SetInfo being specific to each CardCharacteristic.I'm not sure what to do right away..
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
User avatar
Hellfish
Programmer
 
Posts: 1297
Joined: 07 Jun 2009, 10:41
Location: South of the Pumphouse
Has thanked: 110 times
Been thanked: 169 times

Re: Card Development Questions

Postby moomarc » 16 Jan 2012, 15:36

Hellfish wrote:The image bit is a problem with SetInfo being specific to each CardCharacteristic.I'm not sure what to do right away..
Well, whenever you feel inspired, use the patch to grab the licids for testing.If we get it right its another 11 cards closer to 10 000. =D> (12 if we add Tempting Licid)
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: Card Development Questions

Postby friarsol » 16 Jan 2012, 16:06

moomarc, we already have Lure what's the point of "holding back" Tempting Licid?
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Development Questions

Postby moomarc » 16 Jan 2012, 16:12

friarsol wrote:moomarc, we already have Lure what's the point of "holding back" Tempting Licid?
I remember seeing a few reports of the provoke ability not working properly so thought I'd wait until it was fixed. But maybe it has been already. I'll script it up first thing tomorrow if I don't get a chance tonight.
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: Card Development Questions

Postby friarsol » 16 Jan 2012, 16:28

moomarc wrote:I remember seeing a few reports of the provoke ability not working properly so thought I'd wait until it was fixed. But maybe it has been already. I'll script it up first thing tomorrow if I don't get a chance tonight.
Provoke is a different ability right? Where you choose a creature and it has to block the original. Tempting Licid is just the "Lure" ability, where everything most block it if able.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Development Questions

Postby moomarc » 16 Jan 2012, 17:25

friarsol wrote:
moomarc wrote:I remember seeing a few reports of the provoke ability not working properly so thought I'd wait until it was fixed. But maybe it has been already. I'll script it up first thing tomorrow if I don't get a chance tonight.
Provoke is a different ability right? Where you choose a creature and it has to block the original. Tempting Licid is just the "Lure" ability, where everything most block it if able.
Haha! Complete brainfart! I'll post when its done.
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: Card Development Questions

Postby jeffwadsworth » 16 Jan 2012, 22:07

Looking at converting Goblin Charbelcher to script. It looks like it would require a RememberRevealed$ for AB$ DigUntil. Does anyone see an alternative?
jeffwadsworth
Super Tester Elite
 
Posts: 1172
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 70 times

Re: Card Development Questions

Postby moomarc » 17 Jan 2012, 11:42

I was testing Flayer of the Hatebound for DKA and it seems that DamageSource in DealDamage AF isn't working quite right. Damage abilities on the triggered card will work correctly (eg lifelink) but the source color will always be the color of the card with the initial trigger and DealDamage. Tested with Electropotence and similar cards too.

So with Electropotence in play, if Child of Night enters the battlefield you can use it to deal 2 damage to the opponent and gain 2 life, but you can also target a creature with protection from black (although not with protection from red). Is this a hole in my understanding or an actual problem?

I've posted the Flayer's script to the DKA thread anyway because it's the same scriptwise as Electropotence & Co.
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: Card Development Questions

Postby moomarc » 17 Jan 2012, 13:51

moomarc wrote:
friarsol wrote:
moomarc wrote:I remember seeing a few reports of the provoke ability not working properly so thought I'd wait until it was fixed. But maybe it has been already. I'll script it up first thing tomorrow if I don't get a chance tonight.
Provoke is a different ability right? Where you choose a creature and it has to block the original. Tempting Licid is just the "Lure" ability, where everything most block it if able.
Haha! Complete brainfart! I'll post when its done.
Tempting Licid | Open
Code: Select all
Name:Tempting Licid
ManaCost:2 G
Types:Creature Licid
Text:no text
PT:2/2
A:AB$ SetState | Cost$ G T | Defined$ Self | NewState$ Alternate | SubAbility$ DBAttach | SpellDescription$ CARDNAME loses this ability and becomes an Aura enchantment with enchant creature. Attach it to target creature. You may pay G to end this effect.
SVar:DBAttach:DB$ Attach | Cost$ 0 | ValidTgts$ Creature | AILogic$ Pump
#If the value of AlternateMode isn't Flip or DoubleFaced, it will be the name of the state defined below, so you can switch to it with SetState+NewState$.The name of the first state defined is always "Original".
AlternateMode:Alternate

#Shared
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/tempting_licid.jpg
SetInfo:STH|Uncommon|http://magiccards.info/scans/en/sh/72.jpg
Oracle:{G}, {T}: CARDNAME loses this ability and becomes an Aura enchantment with enchant creature. Attach it to target creature. You may pay {G} to end this effect.\nAll creatures able to block enchanted creature do so.

ALTERNATE

Name:Tempting Licid
ManaCost:2 G
Colors:green
Types:Enchantment Aura
Text:All creatures able to block enchanted creature do so.
K:Enchant creature
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddHiddenKeyword$ HIDDEN All creatures able to block CARDNAME do so. | Description$ All creatures able to block enchanted creature do so.
A:AB$ SetState | Cost$ G | Defined$ Self | NewState$ Original | SpellDescription$ End this effect.

End
Well, here's Tempting Licid. Now they just need to fall off cards that are no longer creatures and they can all be committed. I've tested a bit further and normal aura enchantments and equipment will fall off when the target in no longer a creature, so it must have something to do with the transformed state.
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: Card Development Questions

Postby Sloth » 17 Jan 2012, 14:25

jeffwadsworth wrote:Looking at converting Goblin Charbelcher to script. It looks like it would require a RememberRevealed$ for AB$ DigUntil. Does anyone see an alternative?
The parameter is called "RememberFound" in AF DigUntil. Goblin Machinist is the only cad that uses it.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Card Development Questions

Postby friarsol » 17 Jan 2012, 15:51

Sloth wrote:
jeffwadsworth wrote:Looking at converting Goblin Charbelcher to script. It looks like it would require a RememberRevealed$ for AB$ DigUntil. Does anyone see an alternative?
The parameter is called "RememberFound" in AF DigUntil. Goblin Machinist is the only cad that uses it.
I think Jeff is suggesting that the Charbelcher cares about all of the cards revealed, not just the "Found" one. So it would need to do a RememberRevealed, and double it if there is a Mountain card in the Revealed ones.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Development Questions

Postby SoulStorm » 17 Jan 2012, 20:15

Anyone have an idea why permanents enchanted by Reality Acid aren't sacrificed when Reality Acid leaves the battlefield?

Code: Select all
Name:Reality Acid
ManaCost:2 U
Types:Enchantment Aura
Text:no text
K:Enchant permanent
K:Vanishing:3
A:SP$ Attach | Cost$ 2 U | ValidTgts$ Permanent | TgtPrompt$ Select target permanent | AILogic$ Curse
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigSac | TriggerDescription$ When CARDNAME leaves the battlefield, enchanted permanent's controller sacrifices it.
SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ Enchanted
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/reality_acid.jpg
End
SoulStorm
 
Posts: 423
Joined: 24 Jun 2010, 22:48
Has thanked: 16 times
Been thanked: 11 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 20 guests


Who is online

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

Login Form