Gatecrash Spoiler Season
Post MTG Forge Related Programming Questions Here
	Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
Re: Gatecrash Spoiler Season
 by ArsenalNut » 25 Jan 2013, 05:19
by ArsenalNut » 25 Jan 2013, 05:19 
Do you want to wait for the mtg-data.txt to be updated before we merge?friarsol wrote:Anyone interested in merging the Gatecrash branch back in sometime on Friday?
So many cards, so little time
		- 
				 
 ArsenalNut
- Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Gatecrash Spoiler Season
 by friarsol » 25 Jan 2013, 13:35
by friarsol » 25 Jan 2013, 13:35 
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.ArsenalNut wrote:Do you want to wait for the mtg-data.txt to be updated before we merge?friarsol wrote:Anyone interested in merging the Gatecrash branch back in sometime on Friday?
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Gatecrash Spoiler Season
 by ArsenalNut » 25 Jan 2013, 14:43
by ArsenalNut » 25 Jan 2013, 14:43 
oracleScript.py uses it also but I don't really know what the oracle text is used for inside of Forge.friarsol wrote: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.ArsenalNut wrote:Do you want to wait for the mtg-data.txt to be updated before we merge?friarsol wrote:Anyone interested in merging the Gatecrash branch back in sometime on Friday?
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
		- 
				 
 ArsenalNut
- Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Gatecrash Spoiler Season
 by friarsol » 25 Jan 2013, 15:01
by friarsol » 25 Jan 2013, 15:01 
Hmm.. alright we can wait. I thought that was also using magiccards.infoArsenalNut wrote:oracleScript.py uses it also but I don't really know what the oracle text is used for inside of Forge.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Gatecrash Spoiler Season
 by Chris H. » 25 Jan 2013, 17:23
by 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.
- 
				 
 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
 by Sloth » 25 Jan 2013, 19:26
by Sloth » 25 Jan 2013, 19:26 
I would vote for a merge before the next snapshot build release. Some more testers for new scripts are always helpful.friarsol wrote:Hmm.. alright we can wait. I thought that was also using magiccards.infoArsenalNut wrote:oracleScript.py uses it also but I don't really know what the oracle text is used for inside of Forge.
- 
				 
 Sloth
- Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Gatecrash Spoiler Season
 by ArsenalNut » 25 Jan 2013, 19:54
by ArsenalNut » 25 Jan 2013, 19:54 
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.Sloth wrote:I would vote for a merge before the next snapshot build release. Some more testers for new scripts are always helpful.friarsol wrote:Hmm.. alright we can wait. I thought that was also using magiccards.infoArsenalNut wrote:oracleScript.py uses it also but I don't really know what the oracle text is used for inside of Forge.
What other files in Forge need to be updated to handle the new set?
So many cards, so little time
		- 
				 
 ArsenalNut
- Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Gatecrash Spoiler Season
 by Sloth » 25 Jan 2013, 20:22
by Sloth » 25 Jan 2013, 20:22 
setdata.txt and blocks.txt could be updated, but aren't needed to (to make anything work).ArsenalNut wrote:What other files in Forge need to be updated to handle the new set?
- 
				 
 Sloth
- Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Gatecrash Spoiler Season
 by ArsenalNut » 25 Jan 2013, 23:46
by 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
			
				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
Bioshift
Last edited by Chris H. on 28 Jan 2013, 17:48, edited 1 time in total.
					
Reason: strike through recently added cards
			Reason: strike through recently added cards
So many cards, so little time
		- 
				 
 ArsenalNut
- Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Gatecrash Spoiler Season
 by swordshine » 26 Jan 2013, 02:53
by swordshine » 26 Jan 2013, 02:53 
@ArsenalNut
Aurelia, the Warleader has not been committed.
			
		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
 by swordshine » 26 Jan 2013, 12:25
by swordshine » 26 Jan 2013, 12:25 
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. 
 
Edit: Nightveil Specter
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?
			
		- | 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
 by ArsenalNut » 26 Jan 2013, 14:14
by ArsenalNut » 26 Jan 2013, 14:14 
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.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.
Edit: I added SourceController to defined players and added card.
So many cards, so little time
		- 
				 
 ArsenalNut
- Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Gatecrash Spoiler Season
 by ArsenalNut » 26 Jan 2013, 14:49
by ArsenalNut » 26 Jan 2013, 14:49 
Doneswordshine wrote:@ArsenalNut
Aurelia, the Warleader has not been committed.
So many cards, so little time
		- 
				 
 ArsenalNut
- Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Gatecrash Spoiler Season
 by friarsol » 26 Jan 2013, 15:53
by friarsol » 26 Jan 2013, 15:53 
Yes, since the You here is a static ability and not attached to the trigger, so it always refers to the current controller.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?
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Gatecrash Spoiler Season
 by friarsol » 26 Jan 2013, 20:07
by 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
Who is online
Users browsing this forum: Timothysow and 19 guests
