Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Spell-type cards #213

Closed
Phrancis opened this issue May 6, 2015 · 11 comments
Closed

Implement Spell-type cards #213

Phrancis opened this issue May 6, 2015 · 11 comments

Comments

@Phrancis
Copy link
Contributor

Phrancis commented May 6, 2015

Spell types that come to mind immediately would be things like:

  • Deal n damage to card of type X
  • Take n card(s) from opponent hand / draw pile / discard pile
  • Restore n card(s) of type X from own discard pile
  • Remove n / all enchantment(s) from card X

The idea is that once a spell is played and its effects have been applied, it immediately goes into the discard pile.

@Phrancis
Copy link
Contributor Author

Phrancis commented May 6, 2015

Related: Issue #212 and #102

@Phrancis
Copy link
Contributor Author

Phrancis commented May 6, 2015

Also another spell type that could be desirable, would be to cause damage directly to the player, regardless of them having units that can block creatures

@MGS1GreyFox
Copy link

I would also like to add a "mind control spell" take control of target creature until end of turn.
Also a "disenchant" that would take upgrades off of a target creature, if scrap and all of that is still being used. It's been a bit since we talked about that function. I will add more as I think of them!

@Phrancis
Copy link
Contributor Author

Phrancis commented May 6, 2015

Referencing a previous discussion about spells on the Q&A forum: http://www2.zomis.net/tcg-creation/137/new-ability-and-spell-ideas

@Zomis Zomis added this to the 0.6 milestone May 7, 2015
@Zomis
Copy link
Member

Zomis commented May 17, 2015

I got a feeling this will show up in Mythos mod? -- #223

@Phrancis
Copy link
Contributor Author

Actually, I was more thinking of a strictly creature-based mod for Mythos. Spells would work better with the mana system in Cyborg Chronicles

@Zomis
Copy link
Member

Zomis commented May 17, 2015

I got a feeling that Mythos might need some spells as well, but we'll see.

Either way, this will be supported in the Groovy modding

@Zomis Zomis self-assigned this May 28, 2015
@Zomis
Copy link
Member

Zomis commented May 29, 2015

This issue will be about being able to create spells in the Groovy DSL, and to target specific cards (such as 'Deal 3 damage to 2 target creatures'), for card effect suggestions please see #244

@Zomis
Copy link
Member

Zomis commented May 29, 2015

Example spell:

card('Cheating Arms') {
    spell {
        targets(min: 1) {
            creature true
            ownedBy 'you'
            zone 'Battlefield'
        }
    }
    afterPlay {
        damage 1 to targets
    }
}

Other supported variants:

    spell {
        targets 4 cards {
            creature true
            ownedBy 'you'
            zone 'Battlefield'
        }
    }

And:

    spell {
        targets 2 to 4 cards {
            creature true
            ownedBy 'you'
            zone 'Battlefield'
        }
    }

@Zomis Zomis closed this as completed May 29, 2015
@Zomis
Copy link
Member

Zomis commented May 31, 2015

Another example, this time of a spell that does not require any targets:

card('Rain') {
    spell()
    afterPlay {
        damage 1 to {
            zone 'Battlefield'
        }
    }
}

This will deal 1 damage to all creatures on the battlefield.

@Zomis
Copy link
Member

Zomis commented May 31, 2015

Another example:

card('Fireball') {
    /* deal 1 damage to whatever target you choose */
    spell {
         targets 1 cards {
              zone 'Battlefield'
         }
    }
    afterPlay {
        damage 1 to targets
    }
}

Phrancis pushed a commit that referenced this issue May 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants