Commit 0f9305e3 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent f48e0f29
......@@ -205,8 +205,8 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabelObject(fg)
Duel.ConfirmCards(1-tp,fg)
end
function s.cfilter(c,e)
return not c:IsPublic() and c:IsSetCard(0x3cc3) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
function s.cfilter(c,e,tp)
return not c:IsPublic() and c:IsSetCard(0x3cc3) and c:IsCanBeSpecialSummoned(e,0,tp,true,false)
end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return e:IsCostChecked() end
......
......@@ -98,14 +98,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
end
Duel.SkipPhase(tp,PHASE_MAIN2,RESET_PHASE+PHASE_END,1)
Duel.SkipPhase(tp,PHASE_END,RESET_PHASE+PHASE_END,1)
Duel.SkipPhase(tp,PHASE_DRAW,RESET_PHASE+PHASE_END,2)
Duel.SkipPhase(tp,PHASE_STANDBY,RESET_PHASE+PHASE_END,2)
Duel.SkipPhase(tp,PHASE_MAIN1,RESET_PHASE+PHASE_END,2)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetCode(EFFECT_CANNOT_EP)
e2:SetTargetRange(1,0)
e2:SetReset(RESET_PHASE+PHASE_MAIN1+RESET_SELF_TURN)
Duel.RegisterEffect(e2,1-tp)
Duel.SkipPhase(1-tp,PHASE_DRAW,RESET_PHASE+PHASE_END,2)
Duel.SkipPhase(1-tp,PHASE_STANDBY,RESET_PHASE+PHASE_END,2)
Duel.SkipPhase(1-tp,PHASE_MAIN1,RESET_PHASE+PHASE_END,2)
end
\ No newline at end of file
......@@ -93,7 +93,11 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
local og=Duel.GetOperatedGroup()
local tc=og:GetFirst()
while tc do
val=val|aux.SequenceToGlobal(tc:GetPreviousControler(),LOCATION_MZONE,tc:GetPreviousSequence())
if tc:IsPreviousLocation(LOCATION_MZONE) then
val=val|aux.SequenceToGlobal(tc:GetPreviousControler(),LOCATION_MZONE,tc:GetPreviousSequence())
else
val=val|aux.SequenceToGlobal(tc:GetPreviousControler(),LOCATION_SZONE,tc:GetPreviousSequence())
end
tc=og:GetNext()
end
local e1=Effect.CreateEffect(e:GetHandler())
......
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