Re: Adding new cards with Groovy
can this ability cost implemented in groovy code yet?
- tap an untapped creature
- tap <n> untapped <creature type>
- tap an untapped creature
- tap <n> untapped <creature type>
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=82&t=10323
"Tap an untapped creature you control" has been implemented for next release. The later will have to wait till we integrate cost parsing with effect parsing.hong yie wrote:can this ability cost implemented in groovy code yet?
- tap an untapped creature
- tap <n> untapped <creature type>

name=Bramblesnap
url=http://magiccards.info/query?q=%21bramblesnap
image=http://mtgimage.com/card/bramblesnap.jpg
value=3.723
rarity=U
type=Creature
subtype=Elemental
cost={1}{G}
pt=1/1
ability=trample;\
cost Tap an untapped creature you control: SN gets +1/+1 until end of turn.
timing=main

name=Corpse Blockade
url=http://magiccards.info/query?q=%21corpse%20blockade
image=http://mtgimage.com/card/corpse%20blockade.jpg
value=3.723
rarity=C
type=Creature
subtype=Zombie
cost={2}{B}
pt=1/4
ability=defender;\
cost Sacrifice another creature: SN gains deathtouch until end of turn.
timing=main
I'm a big fan of unglued too Volrath's Motion Sensor, Handcuffs and Deadhead was my favouritefrank wrote:and here I thought, Enchant Player was a post-it like attachement to player's forehead... glad you made that one clear
oh, I loved unglued... Bureaucracy - best card ever! (which isn't an Enchant Player... but Volrath's Motion Sensor is. But less fun)

name=Paleoloth
url=http://www.magiccards.info/query?q=%21paleoloth
image=http://mtgimage.com/card/paleoloth.jpg
value=3.046
rarity=R
type=Creature
subtype=Beast
cost={4}{G}{G}
pt=5/5
ability=Whenever another creature with power 5 or greater enters the battlefield under your control, you may return target creature card from your graveyard to your hand.
timing=main
They are hints for the AI. Some spells/effects can target any permanent but have an effect that can be viewed as Positive or Negative.frank wrote:What's the difference between NEG_Target... POS_TARGET... and TARGET... ?