It is currently 31 Oct 2025, 14:52
   
Text Size

Gatecrash Spoiler Season

Post MTG Forge Related Programming Questions Here

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

Re: Gatecrash Spoiler Season

Postby ArsenalNut » 25 Jan 2013, 05:19

friarsol wrote:Anyone interested in merging the Gatecrash branch back in sometime on Friday?
Do you want to wait for the mtg-data.txt to be updated before we merge?
So many cards, so little time
User avatar
ArsenalNut
 
Posts: 512
Joined: 08 Jul 2011, 03:49
Has thanked: 27 times
Been thanked: 121 times

Re: Gatecrash Spoiler Season

Postby friarsol » 25 Jan 2013, 13:35

ArsenalNut wrote:
friarsol wrote:Anyone interested in merging the Gatecrash branch back in sometime on Friday?
Do you want to wait for the mtg-data.txt to be updated before we merge?
I guess we can, but nothing particularly depends on mtg-data. The only thing that really uses it (that I'm aware of) is PerSetTracking. The SetInfo uses magiccards.info.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Gatecrash Spoiler Season

Postby ArsenalNut » 25 Jan 2013, 14:43

friarsol wrote:
ArsenalNut wrote:
friarsol wrote:Anyone interested in merging the Gatecrash branch back in sometime on Friday?
Do you want to wait for the mtg-data.txt to be updated before we merge?
I guess we can, but nothing particularly depends on mtg-data. The only thing that really uses it (that I'm aware of) is PerSetTracking. The SetInfo uses magiccards.info.
oracleScript.py uses it also but I don't really know what the oracle text is used for inside of Forge.

Edit: I tried to commit changes from a merge with the latest version of the Trunk and I keep getting asked for my authentication. Anybody else having issues committing changes?

Edit2: Nevermind, I just saw the message from Goblin Hero.
Last edited by ArsenalNut on 25 Jan 2013, 15:46, edited 2 times in total.
So many cards, so little time
User avatar
ArsenalNut
 
Posts: 512
Joined: 08 Jul 2011, 03:49
Has thanked: 27 times
Been thanked: 121 times

Re: Gatecrash Spoiler Season

Postby friarsol » 25 Jan 2013, 15:01

ArsenalNut wrote:oracleScript.py uses it also but I don't really know what the oracle text is used for inside of Forge.
Hmm.. alright we can wait. I thought that was also using magiccards.info
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Gatecrash Spoiler Season

Postby Chris H. » 25 Jan 2013, 17:23

ArsenalNut wrote:oracleScript.py uses it also but I don't really know what the oracle text is used for inside of Forge.

Edit: I tried to commit changes from a merge with the latest version of the Trunk and I keep getting asked for my authentication. Anybody else having issues committing changes?
 
I suspect that the oracle text is listed in the card detail panels of the various deck editors.

I had the same commit issue this morning but Goblin Hero fixed the issue and I was able to make a recent commit.
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Gatecrash Spoiler Season

Postby Sloth » 25 Jan 2013, 19:26

friarsol wrote:
ArsenalNut wrote:oracleScript.py uses it also but I don't really know what the oracle text is used for inside of Forge.
Hmm.. alright we can wait. I thought that was also using magiccards.info
I would vote for a merge before the next snapshot build release. Some more testers for new scripts are always helpful.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Gatecrash Spoiler Season

Postby ArsenalNut » 25 Jan 2013, 19:54

Sloth wrote:
friarsol wrote:
ArsenalNut wrote:oracleScript.py uses it also but I don't really know what the oracle text is used for inside of Forge.
Hmm.. alright we can wait. I thought that was also using magiccards.info
I would vote for a merge before the next snapshot build release. Some more testers for new scripts are always helpful.
I will do the merge tonight assuming I can commit things. I will post in this thread when its done so people know to stop committing changes to the branch.

What other files in Forge need to be updated to handle the new set?
So many cards, so little time
User avatar
ArsenalNut
 
Posts: 512
Joined: 08 Jul 2011, 03:49
Has thanked: 27 times
Been thanked: 121 times

Re: Gatecrash Spoiler Season

Postby Sloth » 25 Jan 2013, 20:22

ArsenalNut wrote:What other files in Forge need to be updated to handle the new set?
setdata.txt and blocks.txt could be updated, but aren't needed to (to make anything work).
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Gatecrash Spoiler Season

Postby ArsenalNut » 25 Jan 2013, 23:46

I have reintegrated the Gatecrash cardfolder into the Trunk. Please do not make any further commits to the Gatecrash branch. I did not update the blocks.txt for Gatecrash because I was sure how.

240 of 249 Gatecrash cards are implemented. The following cards are not yet implemented:

Ooze Flux
Simic Manipulator
Killing Glare
Aurelia's Fury
Bane Alley Broker (swordshine has script but its not working correctly)
Signal the Clans
Soul Ransom
Bioshift
Nightveil Specter
Last edited by Chris H. on 28 Jan 2013, 17:48, edited 1 time in total.
Reason: strike through recently added cards
So many cards, so little time
User avatar
ArsenalNut
 
Posts: 512
Joined: 08 Jul 2011, 03:49
Has thanked: 27 times
Been thanked: 121 times

Re: Gatecrash Spoiler Season

Postby swordshine » 26 Jan 2013, 02:53

@ArsenalNut
Aurelia, the Warleader has not been committed.
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Gatecrash Spoiler Season

Postby swordshine » 26 Jan 2013, 12:25

Soul Ransom:
| Open
Name:Soul Ransom
ManaCost:2 U B
Types:Enchantment Aura
Text:You control enchanted creature.
K:Enchant creature
A:SP$ Attach | Cost$ 2 U B | ValidTgts$ Creature | AILogic$ GainControl
A:AB$ Sacrifice | Cost$ Discard<2/Card> | AnyOpponent$ True | SacValid$ Self | SubAbility$ DBDraw | SpellDescription$ CARDNAME's controller sacrifices it, then draws two cards. Only any opponent may activate this ability.
SVar:DBDraw:DB$ Draw | NumCards$ 2 | Defined$ You
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/soul_ransom.jpg
End

This script uses the parameter "AnyOpponent$ True". It changes the priorty of the subability DBDraw, giving the opponent two cards. If I change the subability parameter "Defined$ You" to "Defined$ Opponent", it works. :?

Edit: Nightveil Specter
| Open
Name:Nightveil Specter
ManaCost:UB UB UB
Types:Creature Specter
Text:
PT:2/3
K:Flying
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | CombatDamage$ True | Execute$ TrigMill | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player exiles the top card of his or her library.You may play cards exiled with CARDNAME.
SVar:TrigMill:AB$ Mill | Cost$ 0 | Defined$ TriggeredTarget | NumCards$ 1 | Destination$ Exile | RememberMilled$ True
S:Mode$ Continuous | Affected$ Card.IsRemembered+OppOwn | AffectedZone$ Exile | AddHiddenKeyword$ May be played by your opponent | Description$ You may play cards exiled with CARDNAME.
S:Mode$ Continuous | Affected$ Card.IsRemembered+YouOwn | AffectedZone$ Exile | AddHiddenKeyword$ May be played
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Excute$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/nightveil_specter.jpg
SetInfo:GTC|Rare|http://magiccards.info/scans/en/gtc/222.jpg
End

A question: If a opponent's Nightveil Specter exiles my card, and I use Control Magic to control it, can I play those exiled cards?
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Gatecrash Spoiler Season

Postby ArsenalNut » 26 Jan 2013, 14:14

swordshine wrote:Soul Ransom:
This script uses the parameter "AnyOpponent$ True". It changes the priorty of the subability DBDraw, giving the opponent two cards. If I change the subability parameter "Defined$ You" to "Defined$ Opponent", it works. :?
The defined player for "You" is the player that activated the spell or ability. "Opponent" will work in a head to head but I am not sure it will work in a multiplayer game. It should have everybody but the activator draw two cards. For this card, we need a "SourceController" defined player so only the controller gets to draw two.

Edit: I added SourceController to defined players and added card.
So many cards, so little time
User avatar
ArsenalNut
 
Posts: 512
Joined: 08 Jul 2011, 03:49
Has thanked: 27 times
Been thanked: 121 times

Re: Gatecrash Spoiler Season

Postby ArsenalNut » 26 Jan 2013, 14:49

swordshine wrote:@ArsenalNut
Aurelia, the Warleader has not been committed.
Done
So many cards, so little time
User avatar
ArsenalNut
 
Posts: 512
Joined: 08 Jul 2011, 03:49
Has thanked: 27 times
Been thanked: 121 times

Re: Gatecrash Spoiler Season

Postby friarsol » 26 Jan 2013, 15:53

swordshine wrote:A question: If a opponent's Nightveil Specter exiles my card, and I use Control Magic to control it, can I play those exiled cards?
Yes, since the You here is a static ability and not attached to the trigger, so it always refers to the current controller.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Gatecrash Spoiler Season

Postby friarsol » 26 Jan 2013, 20:07

Who put the Guild Packs together for us last time? Should we do that again for Gatecrash?
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: Timothysow and 19 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 20 users online :: 1 registered, 0 hidden and 19 guests (based on users active over the past 10 minutes)
Most users ever online was 9298 on 10 Oct 2025, 12:54

Users browsing this forum: Timothysow and 19 guests

Login Form