Commit 8a70d569 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 93c37f30
Pipeline #28799 passed with stages
in 26 minutes and 18 seconds
...@@ -112,7 +112,7 @@ function cm.lpop(e,tp,eg,ep,ev,re,r,rp) ...@@ -112,7 +112,7 @@ function cm.lpop(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_ACTIVATE) e1:SetCode(EFFECT_CANNOT_ACTIVATE)
e1:SetTargetRange(1,0) e1:SetTargetRange(1,1)
e1:SetValue(cm.aclimit) e1:SetValue(cm.aclimit)
e1:SetLabel(rc:GetCode()) e1:SetLabel(rc:GetCode())
e1:SetReset(RESET_PHASE+PHASE_END,2) e1:SetReset(RESET_PHASE+PHASE_END,2)
......
...@@ -30,8 +30,7 @@ function c33703023.checkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -30,8 +30,7 @@ function c33703023.checkop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c33703023.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c33703023.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return 0 end if chk==0 then return not e:GetHandler():IsPublic() end
Duel.ConfirmCards(1-tp,c)
end end
function c33703023.filter(c,num) function c33703023.filter(c,num)
local num=Duel.GetFlagEffect(c,id+o) local num=Duel.GetFlagEffect(c,id+o)
......
...@@ -39,10 +39,10 @@ function s.mgfilter(c,e) ...@@ -39,10 +39,10 @@ function s.mgfilter(c,e)
and ((c:IsAbleToGrave() and c:IsLocation(LOCATION_MZONE)) or (c:IsLocation(LOCATION_REMOVED) and c:IsAbleToExtra())) and ((c:IsAbleToGrave() and c:IsLocation(LOCATION_MZONE)) or (c:IsLocation(LOCATION_REMOVED) and c:IsAbleToExtra()))
end end
function s.lfilter(c,e,tp) function s.lfilter(c,e,tp)
return c:IsCode(47380008) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_LINK,tp,false,false) return c:IsCode(47380008) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_LINK,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
end end
function s.fselect(g,tp) function s.fselect(g,tp)
return g:CheckWithSumEqual(Card.GetLinkMarker,0x1ef,2,2) and Duel.GetLocationCountFromEx(tp,tp,g) return g:CheckWithSumEqual(Card.GetLinkMarker,0x1ef,2,2)
end end
function s.target(e,tp,eg,ep,ev,re,r,rp,chk) function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
local mg=Duel.GetMatchingGroup(s.mgfilter,tp,LOCATION_MZONE+LOCATION_REMOVED,0,nil,e) local mg=Duel.GetMatchingGroup(s.mgfilter,tp,LOCATION_MZONE+LOCATION_REMOVED,0,nil,e)
......
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