So, tried that. Didn't end up working. It still let me play a land.
How would I do it the other way? The "CHARACTERISTIC_CANT_BE_PLAYED" way that you mentioned?
I should also mention that when I used your web generator to download
Aggressive Mining, it made the "You can't play lands portion" a static ability, so I had changed that to a triggered ability per your code block. I don't know if that makes a difference or not.
Also, bit of a sidenot but I'm also having awkward issues with
Manaweft Sliver lol. I've looked at *several* tap for one mana of any color cards, and I can either get Manaweft's ability to function and add the mana but not tap the creature, or I can get it to tap and not actually produce any mana.
Manaweft Sliver code that grants the ability (this works, it looks like. Slivers do indeed acquire the ability when I test it.)
- Code: Select all
<FILTER filter_id="0">
local filter = ClearFilter()
filter:Add( FE_SUBTYPE, OP_IS, CREATURE_TYPE_SLIVER )
filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
filter:Add( FE_CONTROLLER, OP_IS, EffectController())
</FILTER>
<CONTINUOUS_ACTION layer="6" filter_id="0">
if FilteredCard() ~= nil then
local characteristics = FilteredCard():GetCurrentCharacteristics()
characteristics:GrantAbility(8)
end
</CONTINUOUS_ACTION>
The actual ability to tap for mana.
- Code: Select all
<COST type="Generic">
<PREREQUISITE>
return EffectSource():IsTapped() == false and EffectController():IsAI() == false
</PREREQUISITE>
<RESOLUTION_TIME_ACTION>
EffectController():ChooseColour( "CARD_QUERY_CHOOSE_COLOUR", true )
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
LinkedDC():Set_Int(0, GetChosenColour() )
</RESOLUTION_TIME_ACTION>
</COST>
</ACTIVATED_ABILITY>
<STATIC_ABILITY linked_ability_group="1">
<CONTINUOUS_ACTION layer="6">
local colour = LinkedDC():Get_Int( 0 )
local characteristics = EffectSource():GetCurrentCharacteristics()
if colour ~= 0 then
characteristics:GrantAbility(colour)
else
characteristics:GrantAbility(5)
end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<MANA_ABILITY resource_id="1">
<PRODUCES amount="{W}" />
</MANA_ABILITY>
<MANA_ABILITY resource_id="2">
<PRODUCES amount="{U}" />
</MANA_ABILITY>
<MANA_ABILITY resource_id="3">
<PRODUCES amount="{B}" />
</MANA_ABILITY>
<MANA_ABILITY resource_id="4">
<PRODUCES amount="{R}" />
</MANA_ABILITY>
<MANA_ABILITY resource_id="5">
<PRODUCES amount="{G}" />
</MANA_ABILITY>
Edit: Really, thank you for the help here, it's greatly appreciated. I've been working on some M15 cards and I'm starting to really get the hang of things (I've got about 23 cards finished of various things) so it's awesome to get some perspective on things.