Card wishlist
by ubeefx
Moderators: ubeefx, beholder, melvin, ShawnieBoy, Lodici, CCGHQ Admins
Re: Card wishlist
by 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;\
{U},{T}, Remove a +1/+1 counter from SN: Put a +1/+1 counter on target creature.
timing=fmain
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;\
{U},{T}, Remove a +1/+1 counter from SN: Put a +1/+1 counter on target creature.
timing=fmain
Re: Card wishlist
by 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.
-
ShawnieBoy - Programmer
- Posts: 601
- Joined: 02 Apr 2012, 22:42
- Location: UK
- Has thanked: 80 times
- Been thanked: 50 times
Re: Card wishlist
by 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.
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
by ShawnieBoy » 10 Apr 2014, 00:24
That's the stuff
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.
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.
-
ShawnieBoy - Programmer
- Posts: 601
- Joined: 02 Apr 2012, 22:42
- Location: UK
- Has thanked: 80 times
- Been thanked: 50 times
Re: Card wishlist
by 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
Re: Card wishlist
by 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
by ShawnieBoy » 17 Apr 2014, 23:44
I'm personally a fan of Teferi's Puzzle Box - I have a marvelous time with my chaos-filled Commander deckhebi-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.
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.
-
ShawnieBoy - Programmer
- Posts: 601
- Joined: 02 Apr 2012, 22:42
- Location: UK
- Has thanked: 80 times
- Been thanked: 50 times
Re: Card wishlist
by ShawnieBoy » 18 Apr 2014, 21:58
Nice one - yes, I was getting confused with spells that have discarding as an additional cost.
-
ShawnieBoy - Programmer
- Posts: 601
- Joined: 02 Apr 2012, 22:42
- Location: UK
- Has thanked: 80 times
- Been thanked: 50 times
Re: Card wishlist
by 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.
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
by 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.
Since it was your request and you're more than able yourself, you might take a look.
Re: Card wishlist
by 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();
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
by ShawnieBoy » 21 Apr 2014, 21:20
That's one beast of a groovy code.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.
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.
-
ShawnieBoy - Programmer
- Posts: 601
- Joined: 02 Apr 2012, 22:42
- Location: UK
- Has thanked: 80 times
- Been thanked: 50 times
Re: Card wishlist
by 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...
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...
Who is online
Users browsing this forum: No registered users and 62 guests