Commit 974daa9e authored by Tachibana's avatar Tachibana

eme

parent cd86e4c3
Pipeline #8974 passed with stages
in 36 minutes and 42 seconds
......@@ -63,7 +63,7 @@ function c10070017.dcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Release(e:GetHandler(),REASON_COST)
end
function c10070017.dfilter(c,e,tp)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsSetCard(0x501)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsSetCard(0x6501)
end
function c10070017.dtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetMZoneCount(tp,e:GetHandler())>0
......
......@@ -4,6 +4,7 @@ local cm=_G["c"..m]
Duel.LoadScript("c12000000.lua")
cm.named_with_GDRT=true
function cm.initial_effect(c)
c:EnableReviveLimit()
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
......
......@@ -4,6 +4,7 @@ local cm=_G["c"..m]
Duel.LoadScript("c12000000.lua")
cm.named_with_GDRTGD=true
function cm.initial_effect(c)
c:EnableReviveLimit()
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_TODECK)
......
......@@ -4,6 +4,7 @@ local cm=_G["c"..m]
Duel.LoadScript("c12000000.lua")
cm.named_with_GDRTGD=true
function cm.initial_effect(c)
c:EnableReviveLimit()
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_TODECK)
......
......@@ -4,6 +4,7 @@ local cm=_G["c"..m]
Duel.LoadScript("c12000000.lua")
cm.named_with_GDRTGD=true
function cm.initial_effect(c)
c:EnableReviveLimit()
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_TODECK)
......
......@@ -2,6 +2,7 @@
function c60002022.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(60002022,0))
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,60002022+EFFECT_COUNT_CODE_OATH)
......@@ -56,7 +57,7 @@ end
function c60002022.ckfil(c)
return c:IsSetCard(0x629) or (c:IsType(TYPE_TRAP) and c:IsType(TYPE_COUNTER))
end
function c60002022.ckfil(c)
function c60002022.thfil1(c)
return c:IsAbleToHand() and (c:IsType(TYPE_TRAP) and c:IsType(TYPE_COUNTER))
end
function c60002022.acop(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -46,6 +46,7 @@ function c60002024.initial_effect(c)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetRange(LOCATION_FZONE)
e3:SetCountLimit(1)
e3:SetCondition(c60002024.cetcon4)
e3:SetTarget(c60002024.cptg)
e3:SetOperation(c60002024.cpop)
c:RegisterEffect(e3)
......@@ -61,7 +62,7 @@ function c60002024.initial_effect(c)
end
function c60002024.checkcon(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler()
return rc:IsType(TYPE_TRAP) and rc:IsType(TYPE_COUNTER) and re:IsHasType(EFFECT_TYPE_ACTIVATE)
return rc:IsType(TYPE_TRAP) and rc:IsType(TYPE_COUNTER)
end
function c60002024.checkop(e,tp,eg,ep,ev,re,r,rp)
local p=re:GetHandlerPlayer()
......@@ -88,6 +89,10 @@ function c60002024.cetcon3(e,tp,eg,ep,ev,re,r,rp)
local x=Duel.GetFlagEffect(tp,60002024)
return x>=12
end
function c60002024.cetcon4(e,tp,eg,ep,ev,re,r,rp)
local x=Duel.GetFlagEffect(tp,60002024)
return x>=4
end
function c60002024.cfilter(c)
return c:IsFaceup() and not c:IsSetCard(0x629)
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