Commit da2a8eb6 authored by Tachibana's avatar Tachibana

eme

parent 4dbad779
Pipeline #6026 passed with stages
in 21 minutes and 10 seconds
......@@ -23,8 +23,8 @@ function c85400100.initial_effect(c)
c:RegisterEffect(e2)
-----改变「宫子」的控制权
local e3=Effect.CreateEffect(c)
e3:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e3:SetType(EFFECT_TYPE_TRIGGER_F+EFFECT_TYPE_SINGLE)
e3:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_REMOVE+CATEGORY_TOKEN)
e3:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e3:SetCode(EVENT_DESTROYED)
e3:SetCondition(c85400100.fdfdfd)
e3:SetTarget(c85400100.ff)
......@@ -51,6 +51,7 @@ function c85400100.atlimit(e,c)
return c:IsCode(85400000)
end
function c85400100.fdfdfd(e,tp,eg,ep,ev,re,r,rp)
local tp=e:GetHandler():GetPreviousControler()
return Duel.GetFlagEffect(tp,85400100)==0
end
function c85400100.tg(e,tp,eg,ep,ev,re,r,rp,chk)
......@@ -109,9 +110,7 @@ function c85400100.ff(e,tp,eg,ep,ev,re,r,rp,chk)
local tp=c:GetPreviousControler()
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsPlayerCanSpecialSummonMonster(tp,85400300,0,0x4011,300,100,1,RACE_ZOMBIE,ATTRIBUTE_DARK) end
if Duel.IsExistingMatchingCard(c85400100.bcbcbcb,tp,LOCATION_DECK,0,1,nil) then
Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,1,tp,LOCATION_DECK)
end
Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,1,tp,LOCATION_DECK)
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0)
end
......
......@@ -3,8 +3,7 @@ function c9310037.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x3f91),aux.NonTuner(nil),1)
c:EnableReviveLimit()
aux.AddCodeList(c,20000000)
aux.AddCodeList(c,20000100)
aux.AddCodeList(c,20000000,20000100)
--change code
aux.EnableChangeCode(c,20000000,LOCATION_MZONE)
--change code
......
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