Kaladesh spoiler season
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Kaladesh spoiler season
by Hanmac » 20 Sep 2016, 22:04
@friarsol: I do not so much like the change with Harnessed Lightning.
Isn't there an easier way to get PayEnergy<X> working?
Isn't there an easier way to get PayEnergy<X> working?
Re: Kaladesh spoiler season
by friarsol » 21 Sep 2016, 00:16
Harnessed Lightning didn't work at all, so what part don't you like exactly?Hanmac wrote:@friarsol: I do not so much like the change with Harnessed Lightning.
Isn't there an easier way to get PayEnergy<X> working?
Forge doesn't quite have true handling of cost payment in the middle of spell resolution. Triggers don't really qualify here. The closest thing we have is Unless (and Unless Switched). I mean, I guess it could be an UnlessSwitched, but it's awkward since you need to choose the amount for X separately from the cost. (See some of the Join Forces scripts) If you can get the script working with that, feel free.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Kaladesh spoiler season
by friarsol » 21 Sep 2016, 02:18
Do you have an icon for Energy? I can try at some point tomorrow to add it in. I think I needs to be put into the base sprite sheet?matrix4767 wrote:Longtusk Cub should give only 2 Energy, instead of that as many as combat damage to player.
For some reason, when trying to add an icon for Energy, it deletes itself as soon as Forge loads up. What's up with that? Some code missing that the other icons use?
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Kaladesh spoiler season
by matrix4767 » 21 Sep 2016, 05:10
MTG Salvation has one on the Energy Counter Page. It also shows an "Energy Reserve", a big card where counters are placed on.friarsol wrote:Do you have an icon for Energy? I can try at some point tomorrow to add it in. I think I needs to be put into the base sprite sheet?
http://mtgsalvation.gamepedia.com/Energy_counter
- matrix4767
- Posts: 125
- Joined: 09 Sep 2014, 08:10
- Has thanked: 5 times
- Been thanked: 3 times
Re: Kaladesh spoiler season
by friarsol » 21 Sep 2016, 13:22
Yea that ones super small. I'll hack something together, if someone finds an energy icon larger than 40x40 I can resize it down and replace the one I'm putting into the sprite sheet.matrix4767 wrote:MTG Salvation has one on the Energy Counter Page. It also shows an "Energy Reserve", a big card where counters are placed on.friarsol wrote:Do you have an icon for Energy? I can try at some point tomorrow to add it in. I think I needs to be put into the base sprite sheet?
http://mtgsalvation.gamepedia.com/Energy_counter
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Kaladesh spoiler season
by Marek14 » 21 Sep 2016, 13:35
What about this one?friarsol wrote:Yea that ones super small. I'll hack something together, if someone finds an energy icon larger than 40x40 I can resize it down and replace the one I'm putting into the sprite sheet.matrix4767 wrote:MTG Salvation has one on the Energy Counter Page. It also shows an "Energy Reserve", a big card where counters are placed on.friarsol wrote:Do you have an icon for Energy? I can try at some point tomorrow to add it in. I think I needs to be put into the base sprite sheet?
http://mtgsalvation.gamepedia.com/Energy_counter
viewtopic.php?f=15&t=4430&start=45#p201343
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Kaladesh spoiler season
by friarsol » 21 Sep 2016, 20:32
Here's an almost working Captured by the Consulate --
Looks like there's an issue with the Defined for SpellAbility and Triggers not returning one that "matches" the one the StackInstance turns into...
Looks like there's an issue with the Defined for SpellAbility and Triggers not returning one that "matches" the one the StackInstance turns into...
- Code: Select all
Name:Captured by the Consulate
ManaCost:3 W
Types:Enchantment Aura
K:Enchant creature you don't control
A:SP$ Attach | Cost$ 3 W | ValidTgts$ Creature.YouDontCtrl | AILogic$ Curse
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddHiddenKeyword$ CARDNAME can't attack. | Description$ Enchanted creature can't attack.
T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ Opponent | IsSingleTarget$ True | TriggerZones$ Battlefield | Execute$ TrigChangeTarget | TriggerDescription$ Whenever an opponent casts a spell, if it has a single target, change the target to enchanted creature if able.
SVar:TrigChangeTarget:DB$ ChangeTargets | TargetType$ Spell | Defined$ TriggeredSpellAbility | DefinedMagnet$ Enchanted
SVar:Picture:http://www.wizards.com/global/images/magic/general/captured_by_the_consulate.jpg
Oracle:Enchant creature you don't control\nEnchanted creature can't attack.\nWhenever an opponent casts a spell, if it has a single target, change the target to enchanted creature if able.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Kaladesh spoiler season
by friarsol » 22 Sep 2016, 01:04
Here's a mostly working Chandra..
Didn't seem to work for Lightning Axe (maybe because of the additional costs), but was generally working aside from that...
Didn't seem to work for Lightning Axe (maybe because of the additional costs), but was generally working aside from that...
- Code: Select all
Name:Chandra, Torch of Defiance
ManaCost:2 R R
Types:Planeswalker Chandra
Loyalty:4
A:AB$ Mill | Cost$ AddCounter<1/LOYALTY> | Defined$ You | NumCards$ 1 | Destination$ Exile | Imprint$ True | SubAbility$ DBPlay | SpellDescription$ Exile the top card of your library. You may cast that card. If you don't, Chandra, Torch of Defiance deals 2 damage to each opponent.
SVar:DBPlay:DB$ Play | Valid$ Card.nonLand+IsImprinted | ValidZone$ Exile | Controller$ You | Optional$ True | Amount$ All | RememberPlayed$ True | SubAbility$ DBDamage
SVar:DBDamage:DB$ DealDamage | Defined$ Player.Opponent | NumDmg$ 2 | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ EQ0 | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True
A:AB$ Mana | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | Produced$ R | Amount$ 2 | SpellDescription$ Add {R}{R} to your mana pool.
A:AB$ DealDamage | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 4 | SpellDescription$ CARDNAME deals 4 damage to target creature.
A:AB$ Effect | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Chandra, Torch of Defiance emblem | Triggers$ TrigSpellCast | SVars$ EffSpellCast | Duration$ Permanent | AILogic$ Always | Stackable$ False | SpellDescription$ You get an emblem with "Whenever you cast a spell, this emblem deals 5 damage to target creature or player."
SVar:TrigSpellCast:Mode$ SpellCast | ValidActivatingPlayer$ You | Execute$ EffSpellCast | TriggerDescription$ Whenever you cast a spell, this emblem deals 5 damage to target creature or player.
SVar:EffSpellCast:DB$ DealDamage | ValidTgts$ Creature,Player | NumDmg$ 5
SVar:Picture:http://www.wizards.com/global/images/magic/general/chandra_torch_of_defiance.jpg
Oracle:[+1]: Exile the top card of your library. You may cast that card. If you don't, Chandra, Torch of Defiance deals 2 damage to each opponent.\n[+1]: Add {R}{R} to your mana pool.\n[-3]: Chandra, Torch of Defiance deals 4 damage to target creature.\n[-7]: You get an emblem with "Whenever you cast a spell, this emblem deals 5 damage to target creature or player."
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Kaladesh spoiler season
by Marek14 » 22 Sep 2016, 06:36
I just noticed I added Vedalken Blademaster as a vanilla -- it's supposed to have prowess. Sorry!
Re: Kaladesh spoiler season
by matrix4767 » 22 Sep 2016, 08:32
Nissa, Vital Force's -3 is missing Planeswalker$ True.
The AI won't attack you if you have a strong enough Vehicle on the battlefield, even if you have nothing to crew it with, or it's tapped.
The AI won't attack you if you have a strong enough Vehicle on the battlefield, even if you have nothing to crew it with, or it's tapped.
- matrix4767
- Posts: 125
- Joined: 09 Sep 2014, 08:10
- Has thanked: 5 times
- Been thanked: 3 times
Re: Kaladesh spoiler season
by Hanmac » 22 Sep 2016, 14:45
http://mtgjson.com/ did update their data,
might check it out and see what did change.
Also Planeswalker Decks are out, but i currently don't know whats the best way to do them.
http://magic.wizards.com/en/articles/ar ... 2016-09-21
PS: i did the Trigger for CounterAdded(Once) working with Player
it can be used to check if a Player gets Energy
might check it out and see what did change.
Also Planeswalker Decks are out, but i currently don't know whats the best way to do them.
http://magic.wizards.com/en/articles/ar ... 2016-09-21
PS: i did the Trigger for CounterAdded(Once) working with Player
it can be used to check if a Player gets Energy
Re: Kaladesh spoiler season
by friarsol » 22 Sep 2016, 19:34
Ok, I just finished migrating the code scripts from the upcoming folder into their normal alpha folders...
What did everyone think of the process of using the upcoming folder instead of a separate branch?
What did everyone think of the process of using the upcoming folder instead of a separate branch?
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Kaladesh spoiler season
by Marek14 » 22 Sep 2016, 19:44
http://yawgatog.com/ should also update soon -- and Yawgatog directly hosts difference files where you can directly see what changed. Anyway, there will be a lot... removing of AE, "create" wording for tokens, I expect some creature type updates with re-introduction of "Monkey"... But it seems no update to creature type of Goblin Test Pilot...Hanmac wrote:http://mtgjson.com/ did update their data,
might check it out and see what did change.
Also Planeswalker Decks are out, but i currently don't know whats the best way to do them.
http://magic.wizards.com/en/articles/ar ... 2016-09-21
PS: i did the Trigger for CounterAdded(Once) working with Player
it can be used to check if a Player gets Energy
Re: Kaladesh spoiler season
by matrix4767 » 22 Sep 2016, 19:51
It was quicker to test scripts for bugs, so it was a good decision.friarsol wrote:What did everyone think of the process of using the upcoming folder instead of a separate branch?
- matrix4767
- Posts: 125
- Joined: 09 Sep 2014, 08:10
- Has thanked: 5 times
- Been thanked: 3 times
Who is online
Users browsing this forum: Bing [Bot] and 105 guests