Commit 94a11e8f authored by wyykak's avatar wyykak

fix 21123

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 7eba87b3
Pipeline #39570 passed with stage
in 9 seconds
......@@ -54,7 +54,7 @@ end
function c21123.thcon(e, tp, eg, ep, ev, re, r, rp)
return re and eg:IsExists(Card.IsSetCard, 1, nil, 0x137)
and (re:GetActiveType() == TYPE_SPELL or re:IsActiveType(TYPE_MONSTER))
and (re:GetActiveType()&~TYPE_TOKEN == TYPE_SPELL or (re:IsActiveType(TYPE_MONSTER) and re:GetType() ~= EFFECT_TYPE_FIELD))
and Duel.IsExistingMatchingCard(c21123.thfilter, tp, LOCATION_DECK, 0, 1, nil)
end
......@@ -70,7 +70,7 @@ end
function c21123.drcon(e, tp, eg, ep, ev, re, r, rp)
return re and eg:IsExists(Card.IsSetCard, 1, nil, 0x137)
and (re:GetActiveType() == TYPE_QUICK_SPELL or re:GetActiveType() == TYPE_TRAP)
and (re:GetActiveType()&~TYPE_TOKEN == TYPE_QUICK_SPELL or re:GetActiveType()&~TYPE_TOKEN == TYPE_TRAP)
end
function c21123.drop(e, tp, eg, ep, ev, re, r, rp)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment