Commit 6e85c787 authored by REIKAI's avatar REIKAI 💬

update files

parent dedc7cd4
Pipeline #18527 passed with stages
in 24 minutes and 51 seconds
...@@ -62,6 +62,12 @@ function cm.drop(e,tp) ...@@ -62,6 +62,12 @@ function cm.drop(e,tp)
Duel.Draw(tp,1,REASON_EFFECT) Duel.Draw(tp,1,REASON_EFFECT)
end end
Duel.ShuffleHand(tp) Duel.ShuffleHand(tp)
local e0=Effect.CreateEffect(e:GetHandler())
e0:SetType(EFFECT_TYPE_FIELD)
e0:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e0:SetTargetRange(1,0)
e0:SetCode(EFFECT_SKIP_DP)
Duel.RegisterEffect(e0,tp)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_TO_HAND) e1:SetCode(EFFECT_CANNOT_TO_HAND)
...@@ -84,6 +90,9 @@ function cm.drop(e,tp) ...@@ -84,6 +90,9 @@ function cm.drop(e,tp)
local e4=e3:Clone() local e4=e3:Clone()
e4:SetLabelObject(e2) e4:SetLabelObject(e2)
Duel.RegisterEffect(e4,tp) Duel.RegisterEffect(e4,tp)
local e5=e3:Clone()
e5:SetLabelObject(e0)
Duel.RegisterEffect(e5,tp)
end end
function cm.regop(e,tp,eg,ep,ev,re,r,rp) function cm.regop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=eg:GetFirst()
......
...@@ -62,7 +62,7 @@ function cm.setcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -62,7 +62,7 @@ function cm.setcon(e,tp,eg,ep,ev,re,r,rp)
return re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsSetCard(0x581f) and not re:GetHandler():IsCode(m) and rp==tp return re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsSetCard(0x581f) and not re:GetHandler():IsCode(m) and rp==tp
end end
function cm.setfilter(c) function cm.setfilter(c)
return c:IsCode(81044004,37564048) and c:IsSSetable() return c:IsCode(81010024,37564048) and c:IsSSetable()
end end
function cm.settg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.setfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.setfilter,tp,LOCATION_DECK,0,1,nil) 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