It is currently 03 Sep 2025, 16:14
   
Text Size

Some easy cards with spDamageCP/spDamageP

Post MTG Forge Related Programming Questions Here

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

Some easy cards with spDamageCP/spDamageP

Postby Sloth » 28 Jun 2009, 16:35

Here are some cards that can be added to cards.txt without further ado:

Code: Select all
Zap
2 R
Instant
no text
spDamageCP:1
Cantrip

Searing Flesh
6 R
Sorcery
no text
spDamageP:7

Flame Jet
1 R
Sorcery
no text
spDamageP:3
Cycling:2

Ember Shot
6 R
Instant
no text
spDamageCP:3
Cantrip

Burning Fields
4 R
Sorcery
no text
spDamageP:5
And I tried the keyword Cantrip in the game and it worked just fine.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Some easy cards with spDamageCP/spDamageP

Postby Chris H. » 30 Jun 2009, 11:04

Sloth wrote:Here are some cards that can be added to cards.txt without further ado:

And I tried the keyword Cantrip in the game and it worked just fine.
Thank you, Sloth for your time and effort. We appreciate it. :)
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Some easy cards with spDamageCP/spDamageP

Postby Sloth » 30 Jun 2009, 11:49

I just realized that Burning Fields and Searing Flesh are not 100% accurate because the cards say opponent and not player, but the other 3 are OK.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Some easy cards with spDamageCP/spDamageP

Postby Sloth » 01 Jul 2009, 07:44

So it seems that Zap, Flame Jet and Ember Shot are also not OK, because the additional keyword Cantrip/Cycling is not displayed. I'm sorry, I should have tested them more.

I also tried using Cantrip on creatures, where the keyword is displayed even with other keywords present, but then the problem is that it is not a proper comes into play ability, but part of the resolution of the creature spell. I don't know if you are OK with that. Some creatures could be easely added.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Some easy cards with spDamageCP/spDamageP

Postby Chris H. » 01 Jul 2009, 11:14

Sloth wrote:So it seems that Zap, Flame Jet and Ember Shot are also not OK, because the additional keyword Cantrip/Cycling is not displayed. I'm sorry, I should have tested them more.

I also tried using Cantrip on creatures, where the keyword is displayed even with other keywords present, but then the problem is that it is not a proper comes into play ability, but part of the resolution of the creature spell. I don't know if you are OK with that. Some creatures could be easely added.
Flame Jet will require additional coding for the cycling ability to be active.

Ember Shot and Zap will be added. Dennis may be able to modify the cantrip keyword. I plan to submit the cards.txt entries for these two cards and will have them look like this (as a work around):

Code: Select all
Ember Shot
6 R
Instant
Draw a card.
spDamageCP:3
Cantrip

Zap
2 R
Instant
Draw a card.
spDamageCP:1
Cantrip
`

I replaced the "no text" string with the string "Draw a card." Granted, it is something of a hack but it works. :wink:
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Some easy cards with spDamageCP/spDamageP

Postby Rob Cashwalker » 01 Jul 2009, 12:08

Sloth wrote:So it seems that Zap, Flame Jet and Ember Shot are also not OK, because the additional keyword Cantrip/Cycling is not displayed. I'm sorry, I should have tested them more.

I also tried using Cantrip on creatures, where the keyword is displayed even with other keywords present, but then the problem is that it is not a proper comes into play ability, but part of the resolution of the creature spell. I don't know if you are OK with that. Some creatures could be easely added.
I'd prefer to keep it separate. Cantrip for spells, and the comes into play for permanents. I submitted the code, Dennis just has to add it.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Some easy cards with spDamageCP/spDamageP

Postby DennisBergkamp » 03 Jul 2009, 08:21

I've added it :) I made a few changes though, it will now use the stack whenever one of those creatures come into play.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Some easy cards with spDamageCP/spDamageP

Postby Sloth » 03 Jul 2009, 10:33

Does that mean that Elvish Visionary should now read:

Code: Select all
Elvish Visionary
1 G
Creature Elf Shaman
no text
1/1
Cantrip
or is there a new keyword for creatures?
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Some easy cards with spDamageCP/spDamageP

Postby DennisBergkamp » 03 Jul 2009, 10:59

Ah nope, it'll look like this:

Code: Select all
Elvish Visionary
1 G
Creature Elf Shaman
no text
1/1
When this card comes into play, draw a card.

Messenger Falcons
2 GU W
Creature Bird
no text
2/2
Flying
When this card comes into play, draw a card.

Wistful Selkie
GU GU GU
Creature Merfolk Wizard
no text
2/2
When this card comes into play, draw a card.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Some easy cards with spDamageCP/spDamageP

Postby Sloth » 03 Jul 2009, 11:04

Fair enough. Then the following creatures can be changed:

Code: Select all
Wall of Blossoms
1 G
Creature Wall
no text
0/4
Defender
When this card comes into play, draw a card.

Kavu Climber
3 G G
Creature Kavu
no text
3/3
When this card comes into play, draw a card.

Jungle Barrier
2 G U
Creature Plant Wall
no text
2/6
Defender
When this card comes into play, draw a card.
and the following can be added:

Code: Select all
Striped Bears
3 G
Creature Bear
no text
2/2
When this card comes into play, draw a card.

Merchant of Secrets
2 U
Creature Human Wizard
no text
1/1
When this card comes into play, draw a card.

Council of Advisors
2 U
Creature Human Advisor
no text
1/1
When this card comes into play, draw a card.

Carven Caryatid
1 G G
Creature Spirit
no text
2/5
Defender
When this card comes into play, draw a card.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Some easy cards with spDamageCP/spDamageP

Postby DennisBergkamp » 03 Jul 2009, 14:09

Thanks, I'll modify and add them :)
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Some easy cards with spDamageCP/spDamageP

Postby zerker2000 » 03 Jul 2009, 22:33

hmm...
Code: Select all
Mulldrifter
4 U
Creature Elemental
no text
2/2
When this card comes into play, draw a card.
When this card comes into play, draw a card.
Flying
:?:
O forest, hold thy wand'ring son
Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.


--Eladamri, the Seed of Freyalise
zerker2000
Programmer
 
Posts: 569
Joined: 09 May 2009, 21:40
Location: South Pasadena, CA
Has thanked: 0 time
Been thanked: 0 time

Re: Some easy cards with spDamageCP/spDamageP

Postby Rob Cashwalker » 04 Jul 2009, 03:31

zerker2000 wrote:hmm...
Code: Select all
Mulldrifter
4 U
Creature Elemental
no text
2/2
When this card comes into play, draw a card.
When this card comes into play, draw a card.
Flying
:?:
Doesn't it still need the evoke code?
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Some easy cards with spDamageCP/spDamageP

Postby zerker2000 » 04 Jul 2009, 05:43

Yes, I'm not saying completely delete it from CardFactory, I'm saying keyword that part of it (or keyword evoke, which I think shouldn't be hard).
O forest, hold thy wand'ring son
Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.


--Eladamri, the Seed of Freyalise
zerker2000
Programmer
 
Posts: 569
Joined: 09 May 2009, 21:40
Location: South Pasadena, CA
Has thanked: 0 time
Been thanked: 0 time

Re: Some easy cards with spDamageCP/spDamageP

Postby DennisBergkamp » 04 Jul 2009, 07:43

I don't think that'll work though (we're not setting the comesIntoPlayCommand to draw two cards).
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Next

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 38 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 38 users online :: 0 registered, 0 hidden and 38 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 38 guests

Login Form