NEMESiS wrote:Is there a way for me to use custom made basic lands? I made a batch and works great but when ever I try to use a deck like Garruk and Liliana against it the game immediately crashes...
I tried to make a deck that uses snow-covered basic lands and I had no problems (I gave up with the idea just because snow mana doesn't work). Make your custom lands, then modify the LAND_POOL XML of the deck you are planning to use your lands with, substituting the existing lands with your lands. Be sure not to use an ID that is already used for other LAND_POOL XMLs (this is always important, but it's even more important if you build a different land pool). Another thing I did was to substitute the lands in the land pool without changing their order and their quantity: even if you only make 1 of each basic land type, don't make a land pool of only 5 cards, but substitute all the Mountains of the LAND_POOL XML with your
Mountain, all the Forests with your
Forest, and so on.
NEMESiS wrote:I copied the code from feast of blood to prevent it from casting
Why?
Brood Birthing is always playable, it just gives only 1 token if you don't control an Eldrazi Spawn.
Remove the static ability and check if you control an Eldrazi Spawn in the resolution, with something like this:
- Code: Select all
local filter = Object():GetFilter()
filter:Clear()
filter:SetZone( ZONE_IN_PLAY )
filter:SetController( EffectController() )
filter:AddSubType( CREATURE_TYPE_ELDRAZI )
filter:AddSubType( CREATURE_TYPE_SPAWN )
filter:NotTargetted()
local token_count = 3
if filter:CountStopAt(1) == 0 then
token_count = 1
end
MTG():PutTokensIntoPlay( "TOKEN_ELDRAZI_SPAWN_...", token_count, EffectController() )
Note that this code checks for permanents that are Eldrazi
AND Spawn, which is what you need for this card. In the official cards you often see
- Code: Select all
filter:AddExtra( FILTER_EXTRA_ANY_SUB_TYPE )
which would make the filter check for Eldrazi
OR Spawn.