Commit de386ee1 authored by Tachibana's avatar Tachibana

得得得得得

parent ce54388e
Pipeline #12841 passed with stages
in 22 minutes and 9 seconds
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
local m=10060051 local m=10060051
local cm=_G["c"..m] local cm=_G["c"..m]
xpcall(function() require("expansions/script/c10000100") end,function() require("script/c10000100") end) xpcall(function() require("expansions/script/c10000100") end,function() require("script/c10000100") end)
function c10060051.initial_effect(c) function cm.initial_effect(c)
aux.AddCodeList(c,10060001) aux.AddCodeList(c,10060001)
--special summon --special summon
local e1,e2=tarot.sp(c,m) local e1,e2=tarot.sp(c,m)
--indes --indes
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(m,0)) e3:SetDescription(aux.Stringid(m,0))
e3:SetCategory(CATEGORY_DESTROY+CATEGORY_DRAW) e3:SetCategory(CATEGORY_DESTROY)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET) e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetType(EFFECT_TYPE_QUICK_O) e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
......
...@@ -35,13 +35,13 @@ function cm.initial_effect(c) ...@@ -35,13 +35,13 @@ function cm.initial_effect(c)
end end
end) end)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--e2 --cannot be target
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e2:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET) e2:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetValue(aux.imval1) e2:SetValue(aux.tgoval)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--e3 --e3
local e3=e2:Clone() local e3=e2:Clone()
......
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