Commit b1ab032a authored by TanakaKotoha's avatar TanakaKotoha

fix

parent 7ecaa160
......@@ -48,7 +48,7 @@ function cm.stfilter1(c,tc)
return c:IsSynchroType(TYPE_TUNER) and c:IsPosition(POS_FACEUP) and c:IsCanBeSynchroMaterial(tc)
end
function cm.stfilter2(c,tc)
return c:IsSynchroType(TYPE_TUNER) and not c:IsRace(RACE_DRAGON) and c:IsPosition(POS_FACEUP) and c:IsCanBeSynchroMaterial(tc)
return c:IsSynchroType(TYPE_TUNER) and c:IsPosition(POS_FACEUP) and c:IsCanBeSynchroMaterial(tc)
end
function cm.stfilterg(g,tp,tc,lv,smat)
if smat then
......@@ -64,7 +64,7 @@ function cm.sycon(e,c,smat,mg)
local lv=e:GetLabel()
local tp=c:GetControler()
if not mg then
mg=Duel.GetMatchingGroup(nil,tp,LOCATION_MZONE,0,nil)
mg=Duel.GetMatchingGroup(Card.IsLevelAbove,tp,LOCATION_MZONE,0,nil,1)
end
if smat then
mg:RemoveCard(smat)
......
......@@ -73,14 +73,14 @@ function c65060062.op(e,tp,eg,ep,ev,re,r,rp)
e1:SetCode(EFFECT_EQUIP_LIMIT)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1:SetValue(c65060062.eqlimit)
tc:RegisterEffect(e1)
rc:RegisterEffect(e1)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_ADD_SETCODE)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetValue(0x5daa)
e2:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e2)
rc:RegisterEffect(e2)
end
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