Commit 2aed48fd authored by Tachibana's avatar Tachibana

ndyd

parent 85561442
......@@ -73,7 +73,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(LOCATION_DECK)
e1:SetValue(LOCATION_DECKSHF)
e1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e1)
tc:RegisterFlagEffect(m,RESET_EVENT+RESET_OVERLAY+RESET_TOFIELD+RESET_TOGRAVE+RESET_TOHAND,0,1)
......
......@@ -3,7 +3,7 @@ local m=12070011
local cm=_G["c"..m]
function cm.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.GetSynchroLevel,3),aux.NonTuner(nil),1)
aux.AddSynchroProcedure(c,aux.FilterEqualFunction(Card.GetSynchroLevel,3,c),aux.NonTuner(nil),1)
c:EnableReviveLimit()
--Destroy
local e1=Effect.CreateEffect(c)
......
......@@ -34,7 +34,7 @@ function c21520098.initial_effect(c)
--disable
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_CHAIN_ACTIVATING)
e2:SetCode(EVENT_CHAIN_SOLVING)
e2:SetRange(LOCATION_MZONE)
e2:SetCondition(c21520098.discon)
e2:SetOperation(c21520098.disop)
......@@ -120,7 +120,7 @@ function c21520098.adval(e,c)
return (c:GetOverlayCount()+Duel.GetTurnCount())*c:GetRank()*100
end
function c21520098.discon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():CheckRemoveOverlayCard(e:GetHandlerPlayer(),1,REASON_EFFECT)
return e:GetHandler():CheckRemoveOverlayCard(e:GetHandlerPlayer(),1,REASON_EFFECT) and ep~=e:GetHandlerPlayer()
end
function c21520098.disop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
......@@ -134,7 +134,7 @@ function c65050241.con(e,tp,eg,ep,ev,re,r,rp,chk)
return c:IsPreviousLocation(LOCATION_HAND+LOCATION_ONFIELD) and c:IsReason(REASON_EFFECT)
end
function c65050241.filter(c,e,tp)
return (c:IsSetCard(0x5da8) or c:IsSetCard(0x9da9)) and c:IsCanBeSpecialSummoned(e,0,tp,true,false)
return (c:IsSetCard(0x5da8) or c:IsSetCard(0x9da9)) and c:IsCanBeSpecialSummoned(e,0,tp,true,false) and c:IsType(TYPE_MONSTER)
end
function c65050241.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65050241.filter,tp,LOCATION_HAND,0,1,nil,e,tp) and Duel.GetMZoneCount(tp)>0 end
......@@ -144,6 +144,6 @@ function c65050241.op(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetMZoneCount(tp)<=0 then return end
local g=Duel.SelectMatchingCard(tp,c65050241.filter,tp,LOCATION_HAND,0,1,1,nil,e,tp)
if g:GetCount()>0 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
Duel.SpecialSummon(g,0,tp,tp,true,false,POS_FACEUP)
end
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