Commit 1769069c authored by TanakaKotoha's avatar TanakaKotoha

mopemope

parent a94cc4b9
Pipeline #818 passed with stages
in 40 minutes and 56 seconds
No preview for this file type
--苍空的人偶少女·奥契丝
local m=17061070
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c57300000") end,function() require("script/c57300000") end)
cm.named_with_doll=true
function cm.initial_effect(c)
--link summon
c:EnableReviveLimit()
......
--灰色记忆 人偶少女
local m=33502001
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c57300000") end,function() require("script/c57300000") end)
cm.named_with_doll=true
function cm.initial_effect(c)
--tograve
local e2=Effect.CreateEffect(c)
......
--被选中之人前方所等待的
local m=52500021
local cm=_G["c"..m]
Duel.LoadScript("c52500000.lua")
function cm.initial_effect(c)
--activate
local e0=Effect.CreateEffect(c)
......@@ -20,8 +19,8 @@ function cm.initial_effect(c)
e1:SetCountLimit(1,m+900)
e1:SetCondition(aux.exccon)
e1:SetCost(aux.bfgcost)
e1:SetTarget(cm.thtg)
e1:SetOperation(cm.thop)
e1:SetTarget(cm.tstg)
e1:SetOperation(cm.tsop)
c:RegisterEffect(e1)
end
function cm.thfilter(c)
......@@ -54,16 +53,16 @@ end
function cm.splimit(e,c)
return not c:IsSetCard(0x5be0) and c:IsLocation(LOCATION_EXTRA)
end
function cm.thfilter(c)
function cm.tsfilter(c)
return c:IsSetCard(0x3be0) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK,0,1,nil) end
function cm.tstg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.tsfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end
function cm.thop(e,tp,eg,ep,ev,re,r,rp)
function cm.tsop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,cm.thfilter,tp,LOCATION_DECK,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,cm.tsfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
......
--罪孽深重之人
local m=52500022
local cm=_G["c"..m]
Duel.LoadScript("c52500000.lua")
function cm.initial_effect(c)
--Activate
local e0=Effect.CreateEffect(c)
......
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