Commit de8ba894 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c75636000.lua

parent 436115c6
...@@ -29,13 +29,13 @@ function c75636000.initial_effect(c) ...@@ -29,13 +29,13 @@ function c75636000.initial_effect(c)
e2:SetOperation(c75636000.lkop) e2:SetOperation(c75636000.lkop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c75636000.thcon(e,tp,eg,ep,ev,re,r,rp) function c75636000.tdcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end end
function c75636000.tdfilter(c) function c75636000.tdfilter(c)
return c:IsRace(RACE_INSECT) and c:IsAbleToDeck() return c:IsRace(RACE_CYBERSE) and c:IsAbleToDeck()
end end
function c75636000.drtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c75636000.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c75636000.tdfilter(chkc) end if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c75636000.tdfilter(chkc) end
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) if chk==0 then return Duel.IsPlayerCanDraw(tp,1)
and Duel.IsExistingTarget(c75636000.tdfilter,tp,LOCATION_GRAVE,0,3,nil) end and Duel.IsExistingTarget(c75636000.tdfilter,tp,LOCATION_GRAVE,0,3,nil) end
...@@ -44,7 +44,7 @@ function c75636000.drtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -44,7 +44,7 @@ function c75636000.drtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1)
end end
function c75636000.drop(e,tp,eg,ep,ev,re,r,rp) function c75636000.tdop(e,tp,eg,ep,ev,re,r,rp)
local tg=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e) local tg=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e)
if tg:GetCount()<=0 then return end if tg:GetCount()<=0 then return end
Duel.SendtoDeck(tg,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(tg,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
......
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