Eldritch Moon Spoiler Season
Post MTG Forge Related Programming Questions Here
	Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
Re: Eldritch Moon Spoiler Season
 by Marek14 » 15 Jul 2016, 08:46
by Marek14 » 15 Jul 2016, 08:46 
It should. Once the color is chosen, the ability is protection from a color and can be removed as such.
			
		Re: Eldritch Moon Spoiler Season
 by Hanmac » 15 Jul 2016, 10:34
by Hanmac » 15 Jul 2016, 10:34 
Protection from ChosenColor is done too.
Stupid different cases ...
makes everything 20% more complicated!
			
		Stupid different cases ...
- Normal = Protection from black
- ChosenColor = Protection from Black
makes everything 20% more complicated!
Re: Eldritch Moon Spoiler Season
 by Hanmac » 15 Jul 2016, 15:01
by Hanmac » 15 Jul 2016, 15:01 
Green is complete, i did Foul Emissary! (now my mind is bleeding XD)
some other might check my code if i did it right.
(i am not 100% sure if it couldn't be better)
like for example i add this:
IndividualCostPaymentInstance -> CostPayment -> SpellAbility
to get the SpellAbility of the Cost Instance.
i don't know if would have been better to let:
IndividualCostPaymentInstance -> SpellAbility
the instance get the SpellAbility directly,
because i don't need the CostParts, the Cost, or the CostPayment.
i did try first to get from:
IndividualCostPaymentInstance -> CostPart -> Cost -> ?
(until i noticed that i didn't get to the route i wanted, so i reverted that)
the CostPaymentStack is now iterable, but i think that should not break anything.
			
		some other might check my code if i did it right.
(i am not 100% sure if it couldn't be better)
like for example i add this:
IndividualCostPaymentInstance -> CostPayment -> SpellAbility
to get the SpellAbility of the Cost Instance.
i don't know if would have been better to let:
IndividualCostPaymentInstance -> SpellAbility
the instance get the SpellAbility directly,
because i don't need the CostParts, the Cost, or the CostPayment.
i did try first to get from:
IndividualCostPaymentInstance -> CostPart -> Cost -> ?
(until i noticed that i didn't get to the route i wanted, so i reverted that)
the CostPaymentStack is now iterable, but i think that should not break anything.
Re: Eldritch Moon Spoiler Season
 by Agetian » 15 Jul 2016, 15:40
by Agetian » 15 Jul 2016, 15:40 
Wow, you're really pushing the limits here!  Nice job so far, keep it up!
 Nice job so far, keep it up!
- Agetian
			
		 Nice job so far, keep it up!
 Nice job so far, keep it up!- Agetian
- Agetian
- Programmer
- Posts: 3490
- Joined: 14 Mar 2011, 05:58
- Has thanked: 684 times
- Been thanked: 572 times
Re: Eldritch Moon Spoiler Season
 by Hanmac » 16 Jul 2016, 04:45
by Hanmac » 16 Jul 2016, 04:45 
Fixed now, there was something broken that it used Eldritch Evolution's CMC (3) for the Calculation instead of the Sacrificed CMC.matrix4767 wrote:Eldritch Evolution's effect works differently. If I sacrifice, say an Elvish Visionary, I can grab a creature with 5 mana cost instead of 4 mana cost or less. And if I sacrifice Goblin Dark-Dwellers for example, I can't grab Dragonlord Atarka, even though her mana cost is 2 more thus a valid target.
thats why i did always search for <=5.
Re: Eldritch Moon Spoiler Season
 by Hanmac » 17 Jul 2016, 20:19
by Hanmac » 17 Jul 2016, 20:19 
got MustBeBlockedBy working for Slayer's Cleaver.
hm only the output of it in the CardView could be better, but thats more cosmetic.
===
now the last EMN pack can be added.
			
		hm only the output of it in the CardView could be better, but thats more cosmetic.
===
now the last EMN pack can be added.
Re: Eldritch Moon Spoiler Season
 by sharkus » 19 Jul 2016, 19:33
by sharkus » 19 Jul 2016, 19:33 
Quick fix for Spontaneous Mutation:
SVar:X:Count$InYourGraveyard/Times.-1
should be:
SVar:X:Count$InYourYard/Times.-1
			
		SVar:X:Count$InYourGraveyard/Times.-1
should be:
SVar:X:Count$InYourYard/Times.-1
Re: Eldritch Moon Spoiler Season
 by Hanmac » 29 Jul 2016, 20:56
by Hanmac » 29 Jul 2016, 20:56 
http://magic.wizards.com/en/articles/ar ... 2016-07-28
Finally the Bulletin for the Rules changes ... have fun to implement/update the stuff.
Like Sigarda's Aid + Bestow works. (Currently that might not work)
Also interesting:
			
		Finally the Bulletin for the Rules changes ... have fun to implement/update the stuff.
Like Sigarda's Aid + Bestow works. (Currently that might not work)
Also interesting:
605.3c Once a player begins to activate a mana ability, that ability can’t be activated again until it has resolved.
Re: Eldritch Moon Spoiler Season
 by mastroego » 30 Jul 2016, 08:12
by mastroego » 30 Jul 2016, 08:12 
Rules are getting out of hand.
Good thing I'm a casual player..
			
		Good thing I'm a casual player..
Who is online
Users browsing this forum: No registered users and 42 guests
