Commit 0345a7e5 authored by wyykak's avatar wyykak

fix

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 7c68a5ce
......@@ -22,7 +22,7 @@ function c32022.initial_effect(c)
end
--
function c32022.tfilter1(c)
return c:IsFaceup() and c:IsAbleToHand() and c:IsSetCard(0x410)
return c:IsType(TYPE_MONSTER) and c:IsFaceup() and c:IsAbleToHand() and c:IsSetCard(0x410)
end
function c32022.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c32022.tfilter1,tp,LOCATION_GRAVE+LOCATION_PZONE+LOCATION_EXTRA,0,1,nil) end
......
......@@ -83,8 +83,8 @@ function cm.ltg(...)
aux.GetLinkMaterials=f
return res
end
function cm.GetLinkMaterials(tp,f,lc)
local mg=Duel.GetMatchingGroup(Auxiliary.LConditionFilter,tp,LOCATION_MZONE,0,nil,f,lc)
function cm.GetLinkMaterials(tp,f,lc,e)
local mg=Duel.GetMatchingGroup(Auxiliary.LConditionFilter,tp,LOCATION_MZONE,0,nil,f,lc,e)
local mg2=Duel.GetMatchingGroup(Auxiliary.LExtraFilter,tp,LOCATION_HAND+LOCATION_SZONE,LOCATION_ONFIELD,nil,f,lc,tp)
local mg3=Duel.GetMatchingGroup(cm.extracheck,tp,LOCATION_SZONE,0,nil)
if mg2:GetCount()>0 then mg:Merge(mg2) end
......
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