Magic Origins

All user created custom sets, custom game mode and modded official content.
Locked
Tacoghandi
Posts: 1197
Joined: Thu Apr 28, 2011 11:34 pm

Re: Magic Origins

Post by Tacoghandi »

KF1 wrote:When the AI controls Liliana, Defiant Necromancer and gets an emblem, the ai will attack me, I block with my creature and the AI kills my creature. Instead of my creature going to the AI side after it hits the graveyard, my creature comes back to my battlefield.
That is weird. I do not see a problem with the code so maybe it is an issue with the way emblem core codes are in the game. Perhaps the emblem is assigned to the owner of the card instead of the controller. I will look into it.
!!Check out My Created Sets and other Stuff!!

viewtopic.php?f=22&t=3380
mrfatbard
Posts: 198
Joined: Fri Jul 10, 2015 6:14 pm

Re: Magic Origins

Post by mrfatbard »

relic seeker doesn't work correctly for me, he enters and searches for the equipment instead of when he becomes renowned, and when he becomes renowned he crashes the game. I fixed the game crash myself but the enter search is still a thing...
mrfatbard
Posts: 198
Joined: Fri Jul 10, 2015 6:14 pm

Re: Magic Origins

Post by mrfatbard »

so I made a workaround for talent of the telepath and it works, but because of how pretty much all instants and sorceries work, you can't choose new targets for the spells, so just make sure to pick the right spells. I added sphinxes tutelage but it doesn't have the repeated mill

Code: Select all

[card]
name=Sphinx's Tutelage
auto=@drawn(controller):deplete:2 opponent
auto={5}{U}:draw:1 && discard(*|myhand)
text=whenever you draw a card, target opponent puts the top two cards from their library into their graveyard -- {5}{U}: draw a card, then discard a card
mana={2}{U}
type=Enchantment
[/card]

[card]
name=Talent of the Telepath
auto=deplete:7 opponent
auto=restriction type(sorcery,instant|mygraveyard)~lessthan~2 may moveto(mybattlefield) target(sorcery,instant|opponentgraveyard)
auto=restriction type(sorcery,instant|mygraveyard)~morethan~1 may moveto(mybattlefield) target(<upto:2>sorcery,instant|opponentgraveyard)
text=whenever you draw a card, target opponent puts the top two cards from their library into their graveyard -- {5}{U}: draw a card, then discard a card
mana={2}{U}{U}
type=Sorcery
[/card]
sandman423
Posts: 806
Joined: Thu Sep 10, 2009 8:59 pm

Re: Magic Origins

Post by sandman423 »

Can you please make Jace's Sanctum code?
User avatar
Bas
Posts: 425
Joined: Sat Dec 26, 2015 10:55 pm
Location: Germany

Re: Magic Origins

Post by Bas »

Code snippet of my pseudo-scry codes, just replace the deplete and token part with actual "scry"

[card]
name=Jace's Sanctum
type=Enchantment
mana={3}{U}
auto=lord(instant, sorcery|myhand) altercost(colorless,-1)
auto=@movedTo(instant, sorcery|mystack): deplete:1 && auto=token(845845)
text=Instant and sorcery spells you cast cost {1} less to cast.---Whenever you cast an instant or sorcery spell, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.)
[/card]
Forums are down atm.

Please join the discord server in order to not miss stuff and be reachable:
https://discord.gg/JHK5pVaK5p

(You are not required to install the software, you can use it in a browser as well, albeit I recommend installing)
sandman423
Posts: 806
Joined: Thu Sep 10, 2009 8:59 pm

Re: Magic Origins

Post by sandman423 »

So how would it look with the scry code?

I am currently using Windows 0.20.1.xxx on Windows so scry was implemented so trying to figure out how the code would look. I replaced deplete with scry below but not sure what to do about the token. Do I just delete && auto=token(845845)?


name=Jace's Sanctum
type=Enchantment
mana={3}{U}
auto=lord(instant, sorcery|myhand) altercost(colorless,-1)
auto=@movedTo(instant, sorcery|mystack): scry:1
text=Instant and sorcery spells you cast cost {1} less to cast.---Whenever you cast an instant or sorcery spell, scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.)

I replace the token with scry but my game locks up whenever I cast an Instant or sorcery and my sorceries and instants don't cost 1 less.
User avatar
Bas
Posts: 425
Joined: Sat Dec 26, 2015 10:55 pm
Location: Germany

Re: Magic Origins

Post by Bas »

Something like that. If I were you I would check mtg.txt and ctrl+f for "scry" to see how the syntax for it is like.
Forums are down atm.

Please join the discord server in order to not miss stuff and be reachable:
https://discord.gg/JHK5pVaK5p

(You are not required to install the software, you can use it in a browser as well, albeit I recommend installing)
sandman423
Posts: 806
Joined: Thu Sep 10, 2009 8:59 pm

Re: Magic Origins

Post by sandman423 »

I tried the scry 1 change but it didn't work. It also didn't make my instants and sorceries cost less.
Tacoghandi
Posts: 1197
Joined: Thu Apr 28, 2011 11:34 pm

Re: Magic Origins

Post by Tacoghandi »

try these lines instead.

Code: Select all

auto=lord(*[instant;sorcery]|myhand,mylibrary,mygraveyard,myexile) altercost(colorless,-1)
For Triggered scry I have seen two codes so one of these may work.

Code: Select all

auto=@movedto(*[instant;sorcery]|mystack):scry:1 scrycore delayed dontshow donothing scrycoreend scryend

Code: Select all

auto=@movedto(*[instant;sorcery]|mystack):name(Scry) reveal:1 optionone name(Put On Top) target(*|reveal) moveto(mylibrary) optiononeend optiontwo name(put on bottom) target(<1>*|reveal) bottomoflibrary optiontwoend revealend
!!Check out My Created Sets and other Stuff!!

viewtopic.php?f=22&t=3380
sandman423
Posts: 806
Joined: Thu Sep 10, 2009 8:59 pm

Re: Magic Origins

Post by sandman423 »

thanks will test them now.
Locked