Commit 132d17f0 authored by GuGu's avatar GuGu

Update c31060.lua

parent 35ae879a
Pipeline #40746 passed with stage
in 5 seconds
--混乱的本源✿克劳恩皮丝 --混乱的本源✿克劳恩皮丝
function c31060.initial_effect(c) function c31060.initial_effect(c)
c:SetUniqueOnField(1,0,31060) c:SetUniqueOnField(1,0,31060)
--synchro summon --synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsSetCard,0x208),1) aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsSetCard,0x208),1)
c:EnableReviveLimit() c:EnableReviveLimit()
...@@ -142,11 +142,15 @@ function c31060.ThisCardMovedToPublicResetCheck_ToSingleCard(e,tp,eg,ep,ev,re,r, ...@@ -142,11 +142,15 @@ function c31060.ThisCardMovedToPublicResetCheck_ToSingleCard(e,tp,eg,ep,ev,re,r,
end end
-- --
function c31060.magafilter(c) function c31060.magafilter(c)
return c:IsSetCard(0x275) --and c:IsReason(REASON_EFFECT) return c:IsSetCard(0x275) -- and c:IsReason(REASON_EFFECT)
end
function c31060.magafilter2(c)
return c:IsReason(REASON_EFFECT)
end end
function c31060.magacon(e,tp,eg,ep,ev,re,r,rp,c) function c31060.magacon(e,tp,eg,ep,ev,re,r,rp,c)
local c=e:GetHandler() local c=e:GetHandler()
return #eg>=2 and eg:IsExists(c31060.magafilter,1,nil) and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) return #eg>=2 and eg:IsExists(c31060.magafilter,1,nil) -- and eg:IsExists(c31060.magafilter2,2,nil)
and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil)
end end
function c31060.magaop(e,tp,eg,ep,ev,re,r,rp,c) function c31060.magaop(e,tp,eg,ep,ev,re,r,rp,c)
if Duel.SelectYesNo(tp,aux.Stringid(31060,2)) then if Duel.SelectYesNo(tp,aux.Stringid(31060,2)) then
......
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