Fixed "Slag Fiend", "Broodstar"& "Master Transmuter"
Posted: Sun Feb 07, 2016 12:29 am
Slag Fiend: P/T was only calculated (at least in the release I have, 0.19.2 I believe) when it came into play and didn't change afterwards.
Since I noticed cranial plating is working I figured a similar code would work for SF as well:
This is the old code:
Shouldn't it actually update automatically with the old code as well, though?
Couldn't find any side effects during my (albeit short) testing.
This worked. This is the code for Broodstar. It is really basically the same code. Edit: Just tested a sec ago, this works!
Unfortunally I did't get Master Transmuter to work. This is the code in my file, tried playing around with this official code but with no success (it is kinda complicated):
IIRC it bounces an artifact to your hand and you are allowed to select one, but nothing happens.
Edit: Meanwhile I fixed this code, tested and is working:
If you want to use the fixed code for the two cards just replace your auto= section of them in your mtg.txt file in /sets/primitives/. Just search for the names with CTRL + F.
Edit2: OK. ok, here is the full code for each of the cards. Just search for the cards' code in the /sets/primitives/mtg.txt:
Since I noticed cranial plating is working I figured a similar code would work for SF as well:
Code: Select all
auto=foreach(artifact|graveyard) 1/1
Code: Select all
auto=type:artifact:graveyard/type:artifact:graveyard cdaactive
Couldn't find any side effects during my (albeit short) testing.
This worked. This is the code for Broodstar. It is really basically the same code. Edit: Just tested a sec ago, this works!
Code: Select all
#NEW:
auto=foreach(artifact|mybattlefield) 1/1
# OLD:auto=type:artifact:mybattlefield/type:artifact:mybattlefield cdaactive
Unfortunally I did't get Master Transmuter to work. This is the code in my file, tried playing around with this official code but with no success (it is kinda complicated):
Code: Select all
auto={H(artifact|mybattlefield)}{U}{T}:may name(put artifact in play) ability$!moveTo(mybattlefield) notatarget(artifact|myhand)!$ controller
Edit: Meanwhile I fixed this code, tested and is working:
Code: Select all
#NEW test 3:
auto={H(artifact|mybattlefield)}{U}{T}:moveTo(myBattlefield) notatarget(artifact|myhand)
# OLD: auto={H(artifact|mybattlefield)}{U}{T}:may name(put artifact in play) ability$!moveTo(mybattlefield) notatarget(artifact|myhand)!$ controller
Edit2: OK. ok, here is the full code for each of the cards. Just search for the cards' code in the /sets/primitives/mtg.txt:
Code: Select all
[card]
name=Master Transmuter
#NEW test 3:
auto={H(artifact|mybattlefield)}{U}{T}:moveTo(myBattlefield) notatarget(artifact|myhand)
# OLD: auto={H(artifact|mybattlefield)}{U}{T}:may name(put artifact in play) ability$!moveTo(mybattlefield) notatarget(artifact|myhand)!$ controller
text={U}, {T}, Return an artifact you control to its owner's hand: You may put an artifact card from your hand onto the battlefield.
mana={3}{U}
type=Artifact Creature
subtype=Human Artificer
power=1
toughness=2
[/card]
Code: Select all
[card]
name=Broodstar
abilities=affinityartifacts,flying
#NEW:
auto=foreach(artifact|mybattlefield) 1/1
# OLD:auto=type:artifact:mybattlefield/type:artifact:mybattlefield cdaactive
text=Affinity for artifacts (This spell costs {1} less to cast for each artifact you control.) -- Flying -- Broodstar's power and toughness are each equal to the number of artifacts you control.
mana={8}{U}{U}
type=Creature
subtype=Beast
power=*
toughness=*
[/card]
Code: Select all
[card]
name=Slag Fiend
#NEW CODE, working:
auto=foreach(artifact|graveyard) 1/1
# OLD CODE:
#auto=type:artifact:graveyard/type:artifact:graveyard cdaactive
text=Slag Fiend's power and toughness are each equal to the number of artifact cards in all graveyards.
mana={R}
type=Creature
subtype=Construct
power=*
toughness=*
[/card]