Page 11 of 15

Re: Card wishlist

PostPosted: 09 Apr 2014, 21:35
by frank
it's on the .txt file scripted. how you do that is way above me. see
Spike Worker or other spikes as well, all the same. Looking at the textscript though, I would guess it is a costevent (because it stand in front of a colon)

name=Simic Fluxmage
url=http://magiccards.info/query?q=%21simic%20fluxmage
image=http://mtgimage.com/card/simic%20fluxmage.jpg
value=2.902
rarity=U
type=Creature
subtype=Merfolk,Wizard
cost={2}{U}
pt=1/2
ability=evolve;\
{1}{U},{T}, Remove a +1/+1 counter from SN: Put a +1/+1 counter on target creature.
timing=fmain

Re: Card wishlist

PostPosted: 09 Apr 2014, 22:10
by ShawnieBoy
The spikes don't move counters, compare Spike Drone text with Simic Fluxmage. What I'm saying really, is that it can't be properly implemented yet. The spikes do have the removal of a counter as a payment, the Fluxmage doesn't.

Re: Card wishlist

PostPosted: 09 Apr 2014, 22:37
by frank
okay, I got it now. Thanks for showing me - would have missed that...

since we can't really move counters, it's just "remove from Simic Fluxmage and add on target creature" while it resolves, right? gonna try it.

Re: Card wishlist

PostPosted: 09 Apr 2014, 23:28
by frank

Re: Card wishlist

PostPosted: 10 Apr 2014, 00:24
by ShawnieBoy
That's the stuff :D

When you're playing a 'normal' game, these things don't often come up. Need to be eagle-eyed with the wording sometimes, it's not easy. If two cards are doing a similar thing but worded differently, there's usually a reason. ;)

Re: Card wishlist

PostPosted: 10 Apr 2014, 08:54
by frank
Despite already knowing that, I'm still missing a lot of things. I can appreciate a good reminder every now and then ;)

Re: Card wishlist

PostPosted: 17 Apr 2014, 22:13
by hebi-chan
Can someone make some more chaotic cards, like scrambleverse, djinn of infinite desires, warp world, knowledge pool, teferi's puzzle box. I'm not a programmer and understand a few might be a bit hard, but these are very fun cards that would be neat to see.

Re: Card wishlist

PostPosted: 17 Apr 2014, 23:44
by ShawnieBoy
hebi-chan wrote:Can someone make some more chaotic cards, like scrambleverse, djinn of infinite desires, warp world, knowledge pool, teferi's puzzle box. I'm not a programmer and understand a few might be a bit hard, but these are very fun cards that would be neat to see.
I'm personally a fan of Teferi's Puzzle Box - I have a marvelous time with my chaos-filled Commander deck :D

With the newer mechanics that are being added it's certainly more do-able.

A couple will be a bit tricky at the moment -
Knowledge Pool: Casting from exile
Djinn of Infinite Deceits: Multiple targets

These should (As a test of groovy code), be do-able -
Warp World
Scrambleverse
Teferi's Puzzle Box
Mindmoil (may be tricky to keep the spell being cast out of the hand)
Grip of Chaos
Tariel, Reckoner of Souls
Tyrant of Discord (possibly)
Witch Hunt

Obviously in a 2-player game, a random opponent is fairly simple

Thanks for your suggestion - food for thought.

Re: Card wishlist

PostPosted: 18 Apr 2014, 15:22
by frank
Mindmoil wasn't tricky, because the spellcard is already on the stack, when Mindmoil triggers. Puzzle Box is done as well... the rest maybe later.

Re: Card wishlist

PostPosted: 18 Apr 2014, 21:58
by ShawnieBoy
frank wrote:Mindmoil wasn't tricky, because the spellcard is already on the stack, when Mindmoil triggers. Puzzle Box is done as well... the rest maybe later.
Nice one - yes, I was getting confused with spells that have discarding as an additional cost.

Re: Card wishlist

PostPosted: 19 Apr 2014, 10:43
by frank
Scrambleverse is done, too. Warp World on the other hand though is really tricky, all because of the auras - which need targetting, which means I need to add extra events. And from there it gets really messy.

By the way, Tariel is already there, for quite some time now. Can't say for how long exactly, though, I didn't make that card.

Re: Card wishlist

PostPosted: 20 Apr 2014, 11:11
by frank
@Shawn: Warp World drove me crazy. Now I have an almost working, albeit incomplete version on my clone (in the incomplete folder) It does everything except for Auras, didn't get that one working.

Since it was your request and you're more than able yourself, you might take a look.

Re: Card wishlist

PostPosted: 20 Apr 2014, 14:04
by frank
I don't think Grip of Chaos is doable yet - you need to get the legal target range from the item on the stack. How that?

Let's say, there is a spell on the stack, that can target Artifacts, Lands and Creatures. A blue creature was chosen. So, you could call .getChoiceResults() which will get you the chosen target, the blue creature. How will Grip of Chaos know, if the target range contains blue permanents, or creature or blue creatures only? Makes no sense... at this point at least.

maybe at some point in future we'll get a method which returns the target range, so we can implement proper retargeting.

edit: more that that, we need to rethink some of our previous implementations. This card is triggered, when the spell goes onto the stack and if the item has a single target, disregarding non-targeting items and those, where the targeting happens at resolution. Now we did some cards, which should have their target selected when the item goes to the stack, but don't, because the actual targeting happens later. MagicOrChoice, for example, or some of the MagicMayChoice cards...

edit2:
on a second thought, maybe we could go this way:
final MagicTargetFilter reTargetFilter = itemOnStack.getEvent().getChoice().getTargetFilter();

Re: Card wishlist

PostPosted: 21 Apr 2014, 21:20
by ShawnieBoy
frank wrote:@Shawn: Warp World drove me crazy. Now I have an almost working, albeit incomplete version on my clone (in the incomplete folder) It does everything except for Auras, didn't get that one working.

Since it was your request and you're more than able yourself, you might take a look.
That's one beast of a groovy code.

Auras are the bane of my life at the moment, and since working with trying to get them into scripts without using card properties I thought I'd have this done. But I'm against the ropes on this one. I was thinking using Attach actions would help, but that assumes the Auras' are already on the battlefield, but they enter the battlefield directly attached. And with the player order timing involved as well... Arrgh.

The rest of it is sound though... *mumble mumble*... Auras... *mumble mumble*

The incomplete folder is never an eternity though.

Re: Card wishlist

PostPosted: 21 Apr 2014, 21:35
by frank
Thanks. If I'd only know how to extract the targetfilter from the card or carddefinition, than I'd have a way, I think...

we'll have a timing problem, though. everything in that code is done by actions, playing auras attached to a chosen target is an event... that means non aura enchantments and auras won't arrive on the battlefield at the same time. Worst case: you might be able to play auras which target enchantments. no good.

need to think it over...