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