It is currently 16 Apr 2024, 03:33
   
Text Size

Card wishlist

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

Re: Card wishlist

Postby frank » 09 Apr 2014, 21:35

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
frank
 
Posts: 46
Joined: 24 Mar 2014, 00:59
Has thanked: 8 times
Been thanked: 2 times

Re: Card wishlist

Postby ShawnieBoy » 09 Apr 2014, 22:10

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.
User avatar
ShawnieBoy
Programmer
 
Posts: 601
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Card wishlist

Postby frank » 09 Apr 2014, 22:37

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.
frank
 
Posts: 46
Joined: 24 Mar 2014, 00:59
Has thanked: 8 times
Been thanked: 2 times

Re: Card wishlist

Postby frank » 09 Apr 2014, 23:28

frank
 
Posts: 46
Joined: 24 Mar 2014, 00:59
Has thanked: 8 times
Been thanked: 2 times

Re: Card wishlist

Postby ShawnieBoy » 10 Apr 2014, 00:24

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. ;)
User avatar
ShawnieBoy
Programmer
 
Posts: 601
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Card wishlist

Postby frank » 10 Apr 2014, 08:54

Despite already knowing that, I'm still missing a lot of things. I can appreciate a good reminder every now and then ;)
frank
 
Posts: 46
Joined: 24 Mar 2014, 00:59
Has thanked: 8 times
Been thanked: 2 times

Re: Card wishlist

Postby hebi-chan » 17 Apr 2014, 22:13

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.
hebi-chan
 
Posts: 13
Joined: 26 Jun 2013, 16:15
Has thanked: 0 time
Been thanked: 0 time

Re: Card wishlist

Postby ShawnieBoy » 17 Apr 2014, 23:44

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.
User avatar
ShawnieBoy
Programmer
 
Posts: 601
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Card wishlist

Postby frank » 18 Apr 2014, 15:22

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.
frank
 
Posts: 46
Joined: 24 Mar 2014, 00:59
Has thanked: 8 times
Been thanked: 2 times

Re: Card wishlist

Postby ShawnieBoy » 18 Apr 2014, 21:58

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.
User avatar
ShawnieBoy
Programmer
 
Posts: 601
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Card wishlist

Postby frank » 19 Apr 2014, 10:43

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.
frank
 
Posts: 46
Joined: 24 Mar 2014, 00:59
Has thanked: 8 times
Been thanked: 2 times

Re: Card wishlist

Postby frank » 20 Apr 2014, 11:11

@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.
frank
 
Posts: 46
Joined: 24 Mar 2014, 00:59
Has thanked: 8 times
Been thanked: 2 times

Re: Card wishlist

Postby frank » 20 Apr 2014, 14:04

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();
frank
 
Posts: 46
Joined: 24 Mar 2014, 00:59
Has thanked: 8 times
Been thanked: 2 times

Re: Card wishlist

Postby ShawnieBoy » 21 Apr 2014, 21:20

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.
User avatar
ShawnieBoy
Programmer
 
Posts: 601
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Card wishlist

Postby frank » 21 Apr 2014, 21:35

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...
frank
 
Posts: 46
Joined: 24 Mar 2014, 00:59
Has thanked: 8 times
Been thanked: 2 times

PreviousNext

Return to Magarena

Who is online

Users browsing this forum: No registered users and 18 guests


Who is online

In total there are 18 users online :: 0 registered, 0 hidden and 18 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 18 guests

Login Form