It is currently 29 Apr 2024, 16:58
   
Text Size

Amonkhet Spoiler Season

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Amonkhet Spoiler Season

Postby Marek14 » 06 Apr 2017, 11:13

Attachments
akh02.zip
(5.03 KiB) Downloaded 190 times
Marek14
Tester
 
Posts: 2762
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Amonkhet Spoiler Season

Postby Marek14 » 06 Apr 2017, 11:46

Attachments
akh03.zip
(6.1 KiB) Downloaded 188 times
Marek14
Tester
 
Posts: 2762
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Amonkhet Spoiler Season

Postby Marek14 » 06 Apr 2017, 12:33

Attachments
akh04.zip
(5.53 KiB) Downloaded 311 times
Marek14
Tester
 
Posts: 2762
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Amonkhet Spoiler Season

Postby 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
(3.44 KiB) Downloaded 176 times
Marek14
Tester
 
Posts: 2762
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Amonkhet Spoiler Season

Postby 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
Marek14
Tester
 
Posts: 2762
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Amonkhet Spoiler Season

Postby 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
(5.31 KiB) Downloaded 203 times
Marek14
Tester
 
Posts: 2762
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Amonkhet Spoiler Season

Postby torridus » 06 Apr 2017, 22:09

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
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.

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.
Either way, once Scarabs is figured out, its effect can be copy/pasted onto this unofficially-spoiled creature (also with incomplete code & missing "may" clause) -

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.
torridus
 
Posts: 56
Joined: 03 Jul 2012, 12:58
Has thanked: 4 times
Been thanked: 9 times

Re: Amonkhet Spoiler Season

Postby 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.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Amonkhet Spoiler Season

Postby 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

Postby 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
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Amonkhet Spoiler Season

Postby 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...
Marek14
Tester
 
Posts: 2762
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Amonkhet Spoiler Season

Postby Marek14 » 07 Apr 2017, 07:44

Attachments
akh06.zip
(5.61 KiB) Downloaded 179 times
Marek14
Tester
 
Posts: 2762
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Amonkhet Spoiler Season

Postby Hanmac » 08 Apr 2017, 11:08

did add Embalm, feel free to add cards.
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 image key is currently "embalm_CARDNAME"

the Spell Ability Description currently uses a modified Reminder Text with "in addition to it's other types"
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Amonkhet Spoiler Season

Postby 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.
Marek14
Tester
 
Posts: 2762
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Amonkhet Spoiler Season

Postby Marek14 » 08 Apr 2017, 12:19

Attachments
akh07.zip
(5.67 KiB) Downloaded 208 times
Marek14
Tester
 
Posts: 2762
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 134 guests


Who is online

In total there are 134 users online :: 0 registered, 0 hidden and 134 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 134 guests

Login Form