Commit 91c0b430 authored by Tachibana's avatar Tachibana

得得得得得

parent 9169e9f5
Pipeline #13458 passed with stages
in 33 minutes and 16 seconds
......@@ -16,7 +16,7 @@ function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_MZONE,0,1,nil)
end
function cm.sfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0xc9fb9) and Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>1
return c:IsSetCard(0xc9fb9) and Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>1
end
function cm.fsfilter(c)
return c:IsRace(RACE_SEASERPENT+RACE_FISH+RACE_AQUA) and c:IsAbleToGrave()
......@@ -76,7 +76,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
if Duel.IsExistingMatchingCard(cm.sfilter,tp,LOCATION_DECK,0,1,nil,tp) then
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(16605586,2))
local g=Duel.SelectMatchingCard(tp,cm.sfilter,tp,LOCATION_DECK,0,1,1,nil,tp)
Duel.SendtoDeck(tc,nil,SEQ_DECKTOP,REASON_EFFECT)
Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT)
Duel.Draw(tp,1,REASON_EFFECT)
end
end
......
......@@ -62,7 +62,7 @@ function cm.plop(e,tp,eg,ep,ev,re,r,rp)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1:SetTarget(cm.tg1)
e1:SetValue(500)
e1:SetValue(300)
tc:RegisterEffect(e1)
tc=g:GetNext()
end
......@@ -80,6 +80,7 @@ function cm.spfilter(c)
return c:IsAbleToGrave()
end
function cm.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return Duel.IsExistingMatchingCard(cm.spfilter,tp,LOCATION_ONFIELD,0,1,c) end
if re:GetHandler():IsRelateToEffect(re) then
Duel.SetOperationInfo(0,CATEGORY_TOHAND,eg,1,0,0)
......
......@@ -33,7 +33,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
function cm.refil(c)
return c:IsAbleToRemoveAsCost() and c:IsType(TYPE_XYZ)
return c:IsAbleToRemoveAsCost() and c:IsType(TYPE_PENDULUM)
end
function cm.sumcon(e,c)
if c==nil then return true 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