Commit ad404312 authored by 聖園ミカ's avatar 聖園ミカ 🐟

reclean

parent 51d4b9f5
Pipeline #25966 passed with stages
in 23 minutes and 33 seconds
......@@ -21,7 +21,7 @@ function c16200000.initial_effect(c)
--Tohand
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(16200000,1))
e3:SetCategory(CATEGORY_SEARCH)
e3:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
e3:SetType(EFFECT_TYPE_IGNITION)
e3:SetRange(LOCATION_SZONE)
e3:SetCost(c16200000.thcost)
......@@ -36,14 +36,14 @@ function c16200000.initial_effect(c)
e4:SetType(EFFECT_TYPE_QUICK_O)
e4:SetCode(EVENT_FREE_CHAIN)
e4:SetRange(LOCATION_SZONE)
e4:SetCost(c16200000.chcost)
e4:SetCost(c16200000.thcost)
e4:SetCountLimit(1,16200000+1001)
e4:SetTarget(c16200000.chtg)
e4:SetOperation(c16200000.chop)
c:RegisterEffect(e4)
--sum limit
local e5=Effect.CreateEffect(c)
e5:SetType(EFFECT_TYPE_FIELD)
e5:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e5:SetRange(LOCATION_SZONE)
e5:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e5:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
......@@ -52,7 +52,7 @@ function c16200000.initial_effect(c)
c:RegisterEffect(e5)
end
function c16200000.splimit(e,c,tp,sumtp,sumpos)
return c:GetOriginalCode()~=16200003
return c:GetCode()~=16200003
end
function c16200000.cfilter(c,tp)
return c:IsCode(16200003)
......@@ -83,8 +83,8 @@ function c16200000.tkop(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummonComplete()
end
function c16200000.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,c16200000.cfilter,1,nil,tp) end
local g=Duel.SelectReleaseGroup(REASON_COST,tp,c16200000.cfilter,1,1,nil,tp)
if chk==0 then return Duel.CheckReleaseGroup(tp,c16200000.cfilter,1,nil,tp) end
local g=Duel.SelectReleaseGroup(tp,c16200000.cfilter,1,1,nil,tp)
Duel.Release(g,REASON_COST)
end
function c16200000.chcost(e,tp,eg,ep,ev,re,r,rp,chk)
......
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