Re: Community Wad
Okay. I'll look at them again.Kithkin wrote:Nope, not fixed.Xander9009 wrote:I don't get this problem, so I don't know how to fix it. I will say I noticed this /would/ be a problem and I corrected it. I thought it was before the last update, but it's possible I noticed and fixed it after the last update, and thus you just have to wait for that and try again. Let me know.Kithkin wrote:When you cast a card with Dash and choose to pay the mana cost, it costs nothing, i.e. the mana does not tap.
@migookman: For Brass Squire, you might consider adding a filter condition for the creature to be only a creature the equipment can attach to. You can use CanAttachTo() for that. I believe it would look like this:
- Code: Select all
<TARGET tag="CARD_QUERY_CHOOSE_EQUIPMENT_TO_EQUIP" definition="0" compartment="0" count="1" dependency="1" />
<TARGET_DEFINITION id="0">
local filter = ClearFilter()
filter:Add( FE_SUBTYPE, OP_IS, ARTIFACT_TYPE_EQUIPMENT )
filter:Add( FE_CONTROLLER, OP_IS, EffectController())
</TARGET_DEFINITION>
<TARGET tag="CARD_QUERY_CHOOSE_CREATURE_TO_EQUIP" definition="1" compartment="1" count="1" />
<TARGET_DEFINITION id="1">
local filter = ClearFilter()
filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
filter:Add( FE_CONTROLLER, OP_IS, EffectController() )
filter:Add( FE_LUA_CONDITION, 1, EffectController(), EffectDC() )
</TARGET_DEFINITION>
<FILTER_CONDITION id="1">
return EffectDC():Get_Targets(0):Get_CardPtr(0):CanAttachTo(FilteredCard())
</FILTER_CONDITION>
<RESOLUTION_TIME_ACTION>
local equip = EffectDC():Get_Targets(0):Get_CardPtr(0)
local target = EffectDC():Get_Targets(1):Get_CardPtr(0)
if (equip ~= nil and target ~= nil) then
equip:Attach( target )
end
</RESOLUTION_TIME_ACTION>