Amonkhet Spoiler Season
Post MTG Forge Related Programming Questions Here
	Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
Re: Amonkhet Spoiler Season
 by Marek14 » 06 Apr 2017, 11:13
by Marek14 » 06 Apr 2017, 11:13 
Next batch: Cartouche of Ambition, Cartouche of Zeal, Kefnet the Mindful, Lay Bare the Heart, Painful Lesson, Scarab Feast, Scribe of the Mindful, Splendid Agony, Trial of Ambition, Trial of Knowledge
			
				- Attachments
- 
		 akh02.zip akh02.zip
- (5.03 KiB) Downloaded 331 times
 
Re: Amonkhet Spoiler Season
 by Marek14 » 06 Apr 2017, 11:46
by Marek14 » 06 Apr 2017, 11:46 
Third batch: update to Cartouche of Zeal and Trial of Ambition, plus 10 new: Cartouche of Strength, Channeler Initiate, Colossapede, Consuming Fervor, Crocodile of the Crossing, Exemplar of Strength, Flameblade Adept, Hazoret the Fervent, Pouncing Cheetah and Trial of Zeal.
			
				- Attachments
- 
		 akh03.zip akh03.zip
- (6.1 KiB) Downloaded 365 times
 
Re: Amonkhet Spoiler Season
 by Marek14 » 06 Apr 2017, 12:33
by Marek14 » 06 Apr 2017, 12:33 
Fourth batch: Bontu's Monument, Cut//Ribbons, Destined//Lead, Dusk//Dawn, Hazoret's Monument, Insult//Injury, Mouth//Feed, Prepare//Fight, Sixth Sense and Trial of Strength.
			
				- Attachments
- 
		 akh04.zip akh04.zip
- (5.53 KiB) Downloaded 498 times
 
Re: Amonkhet Spoiler Season
 by Marek14 » 06 Apr 2017, 13:01
by Marek14 » 06 Apr 2017, 13:01 
Final six cards for now: Kefnet's Monument, Oketra's Monument, Oracle's Vault (please check it, it's complicated), Regal Caracal, Rhonas's Monument and Throne of the God-Pharaoh.
			
				- Attachments
- 
		 akh05.zip akh05.zip
- (3.44 KiB) Downloaded 344 times
 
Re: Amonkhet Spoiler Season
 by Marek14 » 06 Apr 2017, 13:04
by Marek14 » 06 Apr 2017, 13:04 
Problematic cards: apart from embalm and exert, I couldn't add the following:
As Foretold - not sure how to implement the once-per-turn restriction there.
Miasma Mummy - I don't have an official English version yet.
Nest of Scarabs - not sure about the trigger condition
Rags//Riches - choice
Watchers of the Dead - choice
			
		As Foretold - not sure how to implement the once-per-turn restriction there.
Miasma Mummy - I don't have an official English version yet.
Nest of Scarabs - not sure about the trigger condition
Rags//Riches - choice
Watchers of the Dead - choice
Re: Amonkhet Spoiler Season
 by Marek14 » 06 Apr 2017, 13:15
by Marek14 » 06 Apr 2017, 13:15 
Four more cards (added to batch 5): Graceful Cat, Liliana, Death Wielder, Manglehorn and Tattered Mummy.
			
				- Attachments
- 
		 akh05.zip akh05.zip
- (5.31 KiB) Downloaded 420 times
 
Re: Amonkhet Spoiler Season
 by torridus » 06 Apr 2017, 22:09
by torridus » 06 Apr 2017, 22:09 
I'm fairly certain Nest of Scarabs works along these lines, but the code isn't 100% complete. As I've written it, the trigger happens whenever any player adds a -1/-1 counter.Marek14 wrote:Problematic cards: apart from embalm and exert, I couldn't add the following:
As Foretold - not sure how to implement the once-per-turn restriction there.
Miasma Mummy - I don't have an official English version yet.
Nest of Scarabs - not sure about the trigger condition
Rags//Riches - choice
Watchers of the Dead - choice
- Nest of Scarabs | Open
- Code: Select all
- Name:Nest of Scarabs
 ManaCost:2 B
 Types:Enchantment
 T:Mode$ CounterAddedOnce | ValidCard$ Creature | TriggerZones$ Battlefield | CounterType$ M1M1 | Execute$ TrigToken | TriggerDescription$ Whenever you put one or more -1/-1 counters on a creature, create that many 1/1 black Insect creature tokens.
 SVar:TrigToken:AB$ Token | Cost$ 0 | TokenAmount$ 1 | TokenName$ Insect | TokenTypes$ Creature,Insect | TokenOwner$ You | TokenColors$ Black | TokenPower$ 1 | TokenToughness$ 1 | TokenImage$ b 1 1 insect AKH
 SVar:Picture:http://www.wizards.com/global/images/magic/general/nest_of_scarabs.jpg
 Oracle:Whenever you put one or more -1/-1 counters on a creature, create that many 1/1 black Insect creature tokens.
 
- Hapatra, Vizier of Poisons | Open
- Code: Select all
- Name:Hapatra, Vizier of Poisons
 ManaCost:B G
 Types:Legendary Creature Human Cleric
 PT:2/2
 T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may put a -1/-1 counter on target creature.
 SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ M1M1 | CounterNum$ 1 | IsCurse$ True | SpellDescription$ Put a -1/-1 counter on target creature.
 T:Mode$ CounterAddedOnce | ValidCard$ Creature | TriggerZones$ Battlefield | CounterType$ M1M1 | Execute$ TrigToken | TriggerDescription$ Whenever you put one or more -1/-1 counters on a creature, create a 1/1 green Snake creature token with deathtouch.
 SVar:TrigToken:AB$ Token | Cost$ 0 | TokenAmount$ 1 | TokenName$ Snake | TokenTypes$ Creature,Snake | TokenOwner$ You | TokenColors$ Green | TokenPower$ 1 | TokenToughness$ 1 | TokenImage$ g 1 1 snake AKH
 SVar:Picture:http://www.wizards.com/global/images/magic/general/hapatra_vizier_of_poisons.jpg
 Oracle:Whenever Hapatra, Vizier of Poisons deals combat damage to a player, you may put a -1/-1 counter on target creature.\nWhenever you put one or more -1/-1 counters on a creature, create a 1/1 green Snake creature token with deathtouch.
 
Re: Amonkhet Spoiler Season
 by Hanmac » 07 Apr 2017, 01:13
by Hanmac » 07 Apr 2017, 01:13 
Nest of Scarabs, the trigger need a Flag for the Source. I need to check the code if there is something for that.
			
		Re: Amonkhet Spoiler Season
 by friarsol » 07 Apr 2017, 02:40
by friarsol » 07 Apr 2017, 02:40 
Thanks for the zip files Marek, makes it much easier to commit files.
			
		- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Amonkhet Spoiler Season
 by Hanmac » 07 Apr 2017, 05:01
by Hanmac » 07 Apr 2017, 05:01 
I found some bugs in there, someone need to fix them later.
Like Gideon still has some ability of his Ally counterpart
			
		Like Gideon still has some ability of his Ally counterpart
Re: Amonkhet Spoiler Season
 by Marek14 » 07 Apr 2017, 05:41
by Marek14 » 07 Apr 2017, 05:41 
Ah, sorry 
There's also a question of AI. For example, since Gideon's "ultimate" is accessible from start, does it make sense for AI to always use it? I think you probably should if you are reasonably sure you can protect Gideon (or if you have a spare), but not otherwise...
			
		
There's also a question of AI. For example, since Gideon's "ultimate" is accessible from start, does it make sense for AI to always use it? I think you probably should if you are reasonably sure you can protect Gideon (or if you have a spare), but not otherwise...
Re: Amonkhet Spoiler Season
 by Marek14 » 07 Apr 2017, 07:44
by Marek14 » 07 Apr 2017, 07:44 
Batch no. 6 -- containing Companion of the Trials, Curator of Mysteries, Dessicated Naga, Failure//Comply, Gideon, Martial Paragon, Gideon's Resolve, Hazoret's Favor, Liliana's Influence, Liliana, Death's Majesty and Soul-Scar Mage.
Test Failure//Comply and Soul-Scar Mage well, those were the hardest ones.
			
				Test Failure//Comply and Soul-Scar Mage well, those were the hardest ones.
- Attachments
- 
		 akh06.zip akh06.zip
- (5.61 KiB) Downloaded 406 times
 
Re: Amonkhet Spoiler Season
 by Hanmac » 08 Apr 2017, 11:08
by Hanmac » 08 Apr 2017, 11:08 
did add Embalm, feel free to add cards.
example:
the Spell Ability Description currently uses a modified Reminder Text with "in addition to it's other types"
			
		example:
- Code: Select all
- Name:Sacred Cat
 ManaCost:W
 Types:Creature Cat
 PT:1/1
 K:Lifelink
 K:Embalm:W
 SVar:Picture:http://www.wizards.com/global/images/magic/general/sacred_cat.jpg
 Oracle:Lifelink\nEmbalm {W} ({W}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a white Zombie Cat with no mana cost. Embalm only as a sorcery.)
the Spell Ability Description currently uses a modified Reminder Text with "in addition to it's other types"
Re: Amonkhet Spoiler Season
 by Marek14 » 08 Apr 2017, 11:37
by Marek14 » 08 Apr 2017, 11:37 
Two small things I've noticed when coding:
1. Battle-Rattle Shaman should probably have PlayMain1 note, as its ability can boost a creature in a combat even on the turn you play it.
2. Curse of Oblivion (and probably other similar Auras) uses Player.EnchantedBy in their trigger condition, and also in DefinedPlayer$ for its effect, but that is not correct. Once the ability triggers, it doesn't care where the Curse is, it's locked onto the player it triggered for. I am not sure if it's even possible to move the Curse before the ability resolves, but it should use TriggeredPlayer in its effect nonetheless.
			
		1. Battle-Rattle Shaman should probably have PlayMain1 note, as its ability can boost a creature in a combat even on the turn you play it.
2. Curse of Oblivion (and probably other similar Auras) uses Player.EnchantedBy in their trigger condition, and also in DefinedPlayer$ for its effect, but that is not correct. Once the ability triggers, it doesn't care where the Curse is, it's locked onto the player it triggered for. I am not sure if it's even possible to move the Curse before the ability resolves, but it should use TriggeredPlayer in its effect nonetheless.
Re: Amonkhet Spoiler Season
 by Marek14 » 08 Apr 2017, 12:19
by Marek14 » 08 Apr 2017, 12:19 
Batch for today: Angel of Sanctions, Anointer Priest, Bounty of the Luxa, Cruel Reality, Dissenter's Delivery, Nimble-Blade Khenra, Supply Caravan, Temmet, Vizier of Naktamun, Trueheart Duelist, Unwavering Initiate, and Winged Shepherd.
			
				- Attachments
- 
		 akh07.zip akh07.zip
- (5.67 KiB) Downloaded 343 times
 
Who is online
Users browsing this forum: No registered users and 30 guests
