It is currently 16 Apr 2024, 17:53
   
Text Size

Rivals of Ixalan Spoiler Season

Post MTG Forge Related Programming Questions Here

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

Rivals of Ixalan Spoiler Season

Postby Agetian » 01 Jan 2018, 05:47

Happy New Year, guys!

It's that time again - Rivals of Ixalan is about to start being officially spoiled (or it may as well have started by the time I'm posting this), and there are already quite a few revelations available at http://www.mythicspoiler.com and probably elsewhere. :) Feel free to try to script the cards and provide your scripts here in this thread. Good luck!

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Rivals of Ixalan Spoiler Season

Postby schnautzr » 02 Jan 2018, 01:58

User avatar
schnautzr
 
Posts: 106
Joined: 23 Aug 2012, 01:13
Location: UTC -6/-5
Has thanked: 27 times
Been thanked: 7 times

Re: Rivals of Ixalan Spoiler Season

Postby austinio7116 » 03 Jan 2018, 06:57

User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Rivals of Ixalan Spoiler Season

Postby austinio7116 » 03 Jan 2018, 23:25

Tested and pushed Kumena, Tyrant of Orazca
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Rivals of Ixalan Spoiler Season

Postby austinio7116 » 04 Jan 2018, 10:05

Working on swaggering corsair - now implemented and pushed to a new remote branch (upcoming_rix) - but not yet tested as I am at work - I'll test and get a merge request in later.

Merge request now submitted
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Rivals of Ixalan Spoiler Season

Postby ShivaFang » 04 Jan 2018, 15:10

Have any of these merge requests gone through? I'm trying to update my project and either there's something wrong with the way I've got git set up or there is nothing (yet) to update.

I kinda preferred the old way where I could copy the scripts as soon as people posted them, without having to wait for the 'official' update.
ShivaFang
 
Posts: 101
Joined: 25 Jun 2016, 01:15
Has thanked: 26 times
Been thanked: 3 times

Re: Rivals of Ixalan Spoiler Season

Postby austinio7116 » 04 Jan 2018, 15:13

Yes - they are all merged into the master branch now - have you migrated to the git repo?
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Rivals of Ixalan Spoiler Season

Postby ShivaFang » 04 Jan 2018, 15:38

austinio7116 wrote:Yes - they are all merged into the master branch now - have you migrated to the git repo?
Yes.. so something's wrong with my settings. In IntelliJ I've been trying VCS-Update-Rebase and VCS-Update-Branch Default and both say all my files are up to date.

I suspect that it's looking only at the fork I made and not at the actual master branch - and I don't know how to tell it to look at the actual master branch and not the 'forked' master branch.
EDIT: Damnit and I just made a mistake and rolled back to my last commit grr (there was an error when I commited that i didn't see). And I still don't have the new cards. My bad for not making a hard backup of my code like I normally do.

EDIT: Now I'm being told I'm in the 'Detached HEAD State - rebase is not possible' - I don't even know what that means. Man... svn made all this so easy - I just had to update and that was it... none of these hoops.

ANND.. it deleted all my changes to files even though I commited after I had done those. I really don't understand git at all. FFS this is so aggravating.
ShivaFang
 
Posts: 101
Joined: 25 Jun 2016, 01:15
Has thanked: 26 times
Been thanked: 3 times

Re: Rivals of Ixalan Spoiler Season

Postby torridus » 04 Jan 2018, 16:02

Some of today's official spoilers. All are untested, but they're pretty basic on the code level, so I don't imagine any issues will crop up.

ravenous_chupacabra.txt | Open
Code: Select all
Name:Ravenous Chupacabra
ManaCost:2 B B
Types:Creature Beast Horror
PT:2/2
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDestroy | TriggerDescription$ When CARDNAME enters the battlefield, destroy target creature an opponent controls.
SVar:TrigDestroy:DB$Destroy | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls.
SVar:PlayMain1:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/ravenous_chupacabra.jpg
Oracle:When Ravenous Chupacabra enters the battlefield, destroy target creature an opponent controls.
dusk_legion_zealot.txt | Open
Code: Select all
Name:Dusk Legion Zealot
ManaCost:1 B
Types:Creature Vampire Soldier
PT:1/1
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, you draw a card and you lose 1 life.
SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1 | SubAbility$ DBLoseLife
SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ 1
SVar:Picture:http://www.wizards.com/global/images/magic/general/dusk_legion_zealot.jpg
Oracle:When Dusk Legion Zealot enters the battlefield, you draw a card and you lose 1 life.
legion_lieutenant.txt | Open
Code: Select all
Name:Legion Lieutenant
ManaCost:W B
Types:Creature Vampire Knight
PT:2/2
S:Mode$ Continuous | Affected$ Creature.Vampire+Other+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Other Vampires you control get +1/+1.
SVar:Picture:http://www.wizards.com/global/images/magic/general/legion_lieutenant.jpg
Oracle:Other Vampires you control get +1/+1.
merfolk_mistbinder.txt | Open
Code: Select all
Name:Merfolk Mistbinder
ManaCost:G U
Types:Creature Merfolk Shaman
PT:2/2
S:Mode$ Continuous | Affected$ Creature.Merfolk+Other+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Other Merfolk you control get +1/+1.
SVar:Picture:http://www.wizards.com/global/images/magic/general/merfolk_mistbinder.jpg
Oracle:Other Merfolk you control get +1/+1.
And for my own reference, the current list of implemented cards: https://git.cardforge.org/core-develope ... r/upcoming
Last edited by torridus on 05 Jan 2018, 02:17, edited 1 time in total.
torridus
 
Posts: 56
Joined: 03 Jul 2012, 12:58
Has thanked: 4 times
Been thanked: 9 times

Re: Rivals of Ixalan Spoiler Season

Postby ShivaFang » 04 Jan 2018, 16:21

torridus wrote:And for my own reference, the current list of implemented cards: https://git.cardforge.org/core-develope ... r/upcoming
Thanks for posting this - this will get me started until I can figure out how to get a proper update from git (which I will need for new mechanic updates anyway)
ShivaFang
 
Posts: 101
Joined: 25 Jun 2016, 01:15
Has thanked: 26 times
Been thanked: 3 times

Re: Rivals of Ixalan Spoiler Season

Postby austinio7116 » 04 Jan 2018, 18:33

Git takes a bit of getting used to, but once you are comfortable with it it is just as easy as SVN but more powerful. In IntelliJ, I use the drop down branch menu in the bottom right to switch or create branches, it tells you which branch you are on there too. Then I just use the commit/update menu options in the VCS menu. Hopefully you changes are not lost if you check branches (and perhaps the IntelliJ local history too). There are many ways to do these things though and I too am more familiar with SVN.
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Rivals of Ixalan Spoiler Season

Postby austinio7116 » 04 Jan 2018, 18:37

In case you are unsure on the git architecture and what the commands do this may help: https://i.stack.imgur.com/MgaV9.png
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Rivals of Ixalan Spoiler Season

Postby austinio7116 » 04 Jan 2018, 19:46

Working on Aquatic Incursion... completed, tested and pushed to upcoming_rix branch
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Rivals of Ixalan Spoiler Season

Postby austinio7116 » 04 Jan 2018, 20:00

Atzocan Seer next on my list... tested and pushed to the upcoming_rix branch
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Rivals of Ixalan Spoiler Season

Postby austinio7116 » 04 Jan 2018, 20:09

Elenda the Dusk Rose next...Tested and pushed

I have submitted a merge request for the above 3 cards now.
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Next

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 45 guests


Who is online

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

Login Form