Card Coding - Posting Guideline & Index (Update 2011/02/21)

For all your questions regarding Image Card Coding.
Please read the Image Posting Guideline & Index before posting in this forum.
Forum rules
DO NOT POST BUG REPORT IN THIS FORUM !!

Please read carefully the forum rules related to the card coding section : viewtopic.php?f=21&t=1545

All post will be edited to follow forum rules.
loganlop
Posts: 1
Joined: Fri Dec 02, 2011 7:27 pm

Re: Card Coding - Posting Guideline & Index (Update 2011/02/

Post by loganlop »

hello, could someone help me posting the card code of the card: "Paradox Haze" please.
thank you
1224Deko
Posts: 47
Joined: Mon Apr 11, 2011 9:13 am

Re: Card Coding - Posting Guideline & Index (Update 2011/02/

Post by 1224Deko »

probably it isn't possible yet(maybe i'm wrong, i'm hope), i also waiting for some cards like time walk, memory lapse(it's coded in unsupported but don't know if it work) etc... we count on devs that someday this will be playable...
Magik
9864589 gg Pl Poland
dber
Posts: 68
Joined: Sun Jan 08, 2012 4:28 am

Re: Card Coding - Posting Guideline & Index (Update 2011/02/

Post by dber »

[card]
name=Ice Cage
target=creature
auto=cantattack
auto=cantblock
auto=loseAbilities
auto=@targeted(mytgt):bury target(this)
text=Enchant creature -- Enchanted creature can't attack or block, and its activated abilities can't be activated. -- When enchanted creature becomes the target of a spell or ability, destroy Ice Cage.
mana={1}{U}
type=Enchantment
subtype=Aura
[/card]
Byron232
Posts: 2
Joined: Thu Mar 08, 2012 6:46 pm

Re: Card Coding - Posting Guideline & Index (Update 2011/02/

Post by Byron232 »

This link seems to be down since at least March 7 2012 to today (March 9 2012): http://wololo.net/miki/index.php/Wagic/CardCode
Does anyone know if the link has been changed/moved or other?
Thanks!
I just checked and the link is working again (March 13 2012). :)
0m3GA ARS3NAL
Posts: 6
Joined: Mon Jun 25, 2012 6:36 pm

Re: Card Coding - Posting Guideline & Index (Update 2011/02/

Post by 0m3GA ARS3NAL »

Said link isn't working once again.
I'm not sure, but I'm hoping that that is some kind of coding documentation for Wagic, I'd like to take a crack at coding some cards but I'm in a state of confusion at the moment...
If anyone happens to have a list of commands and their proper uses I'd be as chipper as a cat in a catnip harvesting facility, what what cherio.
wololo
Site Admin
Posts: 3728
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Card Coding - Posting Guideline & Index (Update 2011/02/

Post by wololo »

mrfatbard
Posts: 198
Joined: Fri Jul 10, 2015 6:14 pm

Re: Card Coding - Posting Guideline & Index (Update 2011/02/

Post by mrfatbard »

I made an entire set that took around a day and a few hours and the set is in the game yay :D , but wait there is only one card in the set? and the images don't work? anyone know how to fix this? the file is here if you want to download it

viewtopic.php?f=8&t=66169
wagicmagic28
Posts: 296
Joined: Mon Aug 19, 2013 3:51 pm

Re: Card Coding - Posting Guideline & Index (Update 2011/02/

Post by wagicmagic28 »

we need coding for SOI set.
User avatar
ph34rbot
Posts: 280
Joined: Thu Jan 07, 2010 6:33 am

Re: Card Coding - Posting Guideline & Index (Update 2011/02/

Post by ph34rbot »

What's the difference between the folloowing lines in an equipment?

Code: Select all

auto=teach(creature) vigilance

Code: Select all

auto=vigilance
which one is prefered and why?
Zethfox
Posts: 3029
Joined: Thu Jun 10, 2010 11:28 pm

Re: Card Coding - Posting Guideline & Index (Update 2011/02/

Post by Zethfox »

teach is preferred, theyre both similar. teach is just far more flexible, for example

target creature gets 1/1 and if its a human it gets an additional 1/1
auto=1/1
auto=teach(human) 1/1

alternatively you can write it with 2 teachs
auto=teach(creature) 1/1
auto=teach(human) 1/1

teach is a targetchooser lord ability that targets only the target of the source. if it can target it, it lords whatever ability you put to the target.

mechanically they both do the same thing, pass an ability to the target. teach is just better in terms of engine handling what should get what.
for example, an aura that states auto={b}:add{1}...on an aura, both the aura and the creature it targets would have that ability.
when I added teach it was to fix an issue with equipment making double entries, I added "autoskill=" at the same time to denote abilities that should only ever be passed and not processed through the source. although thats only used when a card is experiencing issues in its code where it doesnt know what card should have what.
Locked