It is currently 22 Sep 2017, 13:16
   
Text Size

Card wishlist

Moderators: melvin, beholder, ubeefx, ShawnieBoy, Lodici, CCGHQ Admins

Re: Card wishlist

Postby hong yie » 11 May 2016, 04:47

so we're going to see "kalitas" on the next release ?
awesome,.. :mrgreen:
User avatar
hong yie
Programmer
 
Posts: 216
Joined: 10 Mar 2013, 06:44
Location: Jakarta
Has thanked: 74 times
Been thanked: 9 times

Re: Card wishlist

Postby nummie » 06 Dec 2016, 16:52

While I do not know the limitations of the magarena engine, I would still like toss out my desires for cards.

I would like to see a nod given to online and other "digital only" cards. For example;

The Dreamcast Cards
The Astral Set
and Gleemox from MTGO

Possible other unique cards like Shichifukujin Dragon.

Would this be something possible? I can provide the actual effects set for cards like Whimsey from the microprose game.

My Christmas would be complete.. =P~
User avatar
nummie
 
Posts: 24
Joined: 20 Aug 2008, 05:52
Has thanked: 0 time
Been thanked: 0 time

Re: Card wishlist

Postby ShawnieBoy » 14 Dec 2016, 12:26

nummie wrote:While I do not know the limitations of the magarena engine, I would still like toss out my desires for cards.

I would like to see a nod given to online and other "digital only" cards. For example;

The Dreamcast Cards
The Astral Set
and Gleemox from MTGO

Possible other unique cards like Shichifukujin Dragon.

Would this be something possible? I can provide the actual effects set for cards like Whimsey from the microprose game.

My Christmas would be complete.. =P~
Had to do a bit of research there, never knew that the Dreamcast game had Astral-like cards made for it. Learn something new...

Generally we're only implementing cards which are Vintage legal. A line had to be drawn somewhere, and this way it fits with us not having the extra mechanics of Planechase, Archenemy and the impossible cards in the Un-Sets. Cards outside of Vintage never have their oracle text updated (Things like the recent 'create' wording for tokens), and are rarely errata'd.

Most of the cards dealing with random values could be done with groovy code, however the cards that deal with random effects wouldn't really work in Magarena, mainly in how the engine works.

It looks as though in the Microprose and Dreamcast games that each possible effect was programmed separately and assigned to cards which had them, allowing them to pull one out at random. Magarena builds effects 'on the fly' from card text or groovy files, so it would be near impossible to create random effects.

This does raise an issue with the ease of adding 'custom' cards - the scripts and files can be added, however there's one file in the engine that needs to be updated with the cardname. This isn't accesible in a normal install. ..magarena\resources\magic\data\AllCardNames.txt This allows the card to appear in the Card Explorer and Deck Editor windows. Raised as Issue #1005

edit: You don't need to edit any other files, putting the scripts in the scripts folder will enable them in game. They won't appear on any set filters however.
User avatar
ShawnieBoy
Programmer
 
Posts: 597
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Card wishlist

Postby jerichopumpkin » 14 Dec 2016, 13:34

ShawnieBoy wrote:edit: You don't need to edit any other files, putting the scripts in the scripts folder will enable them in game. They won't appear on any set filters however.
Well, you could always select all sets and set the filter to "exclude selected", right?
jerichopumpkin
 
Posts: 198
Joined: 12 Sep 2013, 11:21
Has thanked: 19 times
Been thanked: 13 times

Re: Card wishlist

Postby ShawnieBoy » 14 Dec 2016, 13:54

jerichopumpkin wrote:Well, you could always select all sets and set the filter to "exclude selected", right?
Yep, that would work.

Tried my hand at Shichifukujin Dragon, although having problems with the delayed trigger. If someone else could take a look (Maybe a stocking filler for @nummie)

Shichifukujin_Dragon.txt
Code: Select all
name=Shichifukujin Dragon
image=http://magiccards.info/scans/en/uqc/2.jpg
value=2.500
rarity=R
type=Creature
subtype=Dragon
cost={6}{R}{R}{R}
pt=0/0
ability=SN enters the battlefield with seven +1/+1 counters on it.
timing=main
oracle=Shichifukujin Dragon enters the battlefield with seven +1/+1 counters on it.\n{R}{R}{R}, Remove two +1/+1 counters from Shichifukujin Dragon: At the beginning of the next end step, put three +1/+1 counters on Shichifukujin Dragon. Activate this ability only any time you could cast a sorcery.
requires_groovy_code
Guessing at the rarity and using more current phrasing

Shichifukujin_Dragon.groovy
Code: Select all
def DelayedTrigger = {
    final MagicPermanent staleSource, final MagicPlayer stalePlayer ->
    return new AtEndOfTurnTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPlayer eotPlayer) {
            game.addDelayedAction(new RemoveTriggerAction(this));
                return new MagicEvent(
                permanent,
                this,
                "PN puts three +1/+1 counters on SN."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new ChangeCountersAction(
                event.getPermanent(),
                MagicCounterType.PlusOne,
                3
            ))
        }   
    }
}

[
    new MagicPermanentActivation(
        [MagicCondition.SORCERY_CONDITION],
        new MagicActivationHints(MagicTiming.Pump),
        "+1/+1"
    ) {
        @Override
        public Iterable<? extends MagicEvent> getCostEvent(final MagicPermanent source) {
            return [
                new MagicPayManaCostEvent(source, "{R}{R}{R}"),
                new MagicRemoveCounterEvent(source, MagicCounterType.PlusOne, 2)
            ];
        }
        @Override
        public MagicEvent getPermanentEvent(final MagicPermanent source, final MagicPayedCost payedCost) {
            return new MagicEvent(
                source,
                this,
                "PN puts three +1/+1 counters on SN at the beginning of the next end step."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            game.doAction(new AddTriggerAction(
                DelayedTrigger(event.getPermanent(), event.getPlayer())
            ));
        }
    }
]
User avatar
ShawnieBoy
Programmer
 
Posts: 597
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Card wishlist

Postby jimmygb96 » 31 Dec 2016, 00:54

jimmygb96
 
Posts: 12
Joined: 31 Dec 2016, 00:46
Has thanked: 3 times
Been thanked: 0 time

Re: Card wishlist

Postby ShawnieBoy » 31 Dec 2016, 13:08

Ghastlord of Fugue and Shimian Specter both reveal the opponent's hand, the AI currently cannot use this extra information, so it would put the player at an advantage. These kind of cards won't be included until the AI can handle them correctly.

Evershrike is not currently able to be implemented due to the difficulty with how Aura targeting is implemented - It's a tricky one.

However Enigma Sphinx and Spellbound Dragon are potentials. :)
User avatar
ShawnieBoy
Programmer
 
Posts: 597
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Card wishlist

Postby jimmygb96 » 01 Jan 2017, 23:24

That is too bad, but at least my favorites have a shot! Thank you for your consideration!
jimmygb96
 
Posts: 12
Joined: 31 Dec 2016, 00:46
Has thanked: 3 times
Been thanked: 0 time

Re: Card wishlist

Postby ShawnieBoy » 02 Jan 2017, 06:42

jimmygb96 wrote:That is too bad, but at least my favorites have a shot! Thank you for your consideration!
No problem, I know how annoying it can be sometimes (Mindmoil + Teferi's Puzzle Box with Niv-Mizzet, the Firemind is something I want the AI to try, but it's a bit too much!)- but the main thing is to keep the AI challenging.
User avatar
ShawnieBoy
Programmer
 
Posts: 597
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Card wishlist

Postby jimmygb96 » 06 Jan 2017, 22:38

Can I please make a request for:

Preordain
Ponder
Foresee
Serum Visions
jimmygb96
 
Posts: 12
Joined: 31 Dec 2016, 00:46
Has thanked: 3 times
Been thanked: 0 time

Previous

Return to Magarena

Who is online

Users browsing this forum: No registered users and 2 guests


Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 2 guests

Login Form