Questions about card adding and testing
by ubeefx
Moderators: ubeefx, beholder, melvin, ShawnieBoy, Lodici, CCGHQ Admins
Questions about card adding and testing
by Achros » 22 Feb 2013, 14:09
First of all congratz for the great program!!! The interface is just perfect and clean. I love it!!!
Even thou I’m not a programmer I’m trying to add some cards that I would like to see in the game (some easy to script at least ). The thing is that I can not find the card value in the Gatherer site. All cards that I go check are just unvoted/unrated and therefore are 5/5. So, where can I find the card value for those cards?
I created the Viridian Corrupter card as follows:
name=Viridian Corrupter
url=(the forum whont let me place the it) card #94
image=(the forum whont let me place the it) card #94
value=2
removal=1
rarity=U
type=Creature
subtype=Elf,Shaman
color=G
converted=3
cost={1}{G}{G}
pt=2/2
ability=infect,enters destroy target artifact.
timing=main
The removal script is not well explained in the wiki implementing cards. Could you please explain it?
Also I don't know how to indicate that:
"The enters-the-battlefield ability is not optional. You must target an artifact you control if there are no other artifacts on the battlefield". How can I script that?
Even thou I’m not a programmer I’m trying to add some cards that I would like to see in the game (some easy to script at least ). The thing is that I can not find the card value in the Gatherer site. All cards that I go check are just unvoted/unrated and therefore are 5/5. So, where can I find the card value for those cards?
I created the Viridian Corrupter card as follows:
name=Viridian Corrupter
url=(the forum whont let me place the it) card #94
image=(the forum whont let me place the it) card #94
value=2
removal=1
rarity=U
type=Creature
subtype=Elf,Shaman
color=G
converted=3
cost={1}{G}{G}
pt=2/2
ability=infect,enters destroy target artifact.
timing=main
The removal script is not well explained in the wiki implementing cards. Could you please explain it?
Also I don't know how to indicate that:
"The enters-the-battlefield ability is not optional. You must target an artifact you control if there are no other artifacts on the battlefield". How can I script that?
- Achros
- Posts: 5
- Joined: 22 Feb 2013, 13:19
- Has thanked: 0 time
- Been thanked: 0 time
Re: Questions about card adding and testing
by melvin » 23 Feb 2013, 02:15
Thanks, Achros, and welcome to the forumAchros wrote:First of all congratz for the great program!!! The interface is just perfect and clean. I love it!!!
Just put any value there, then go rank it on gatherer. Usually before each release, we'll do a mass update of all the values based on the number in gatherer.Achros wrote:Even thou I’m not a programmer I’m trying to add some cards that I would like to see in the game (some easy to script at least ). The thing is that I can not find the card value in the Gatherer site. All cards that I go check are just unvoted/unrated and therefore are 5/5. So, where can I find the card value for those cards?
Looks good, the color and converted property can be left out, the program will deduced it from the mana cost. You can attached the script to your post or mail it to our mailing list, magarena@googlegroups.comAchros wrote:I created the Viridian Corrupter card as follows:
name=Viridian Corrupter
url=(the forum whont let me place the it) card #94
image=(the forum whont let me place the it) card #94
value=2
removal=1
rarity=U
type=Creature
subtype=Elf,Shaman
color=G
converted=3
cost={1}{G}{G}
pt=2/2
ability=infect,enters destroy target artifact.
timing=main
Thanks for pointing it out. I've updated the wiki page and added the following:Archos wrote:The removal script is not well explained in the wiki implementing cards. Could you please explain it?
removal: Bonus to value for removal/direct damage effect, ranges from 1 to 5. For example, Vindicate (Destroy target permanent) has removal=5, while Lightning Bolt has removal=3.
No need to, it is always mandatory, actually there is no way to script an optional enters-the-battlefield effect. There is a bug in versions <= 1.34 where the AI (but not the player) is able to avoid targeting its own permanents. This is fixed in the upcoming 1.35 release.Archos wrote:Also I don't know how to indicate that:
"The enters-the-battlefield ability is not optional. You must target an artifact you control if there are no other artifacts on the battlefield". How can I script that?
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 28 guests