Commit 9aaf09b8 authored by Tachibana's avatar Tachibana

watele

parent 2f9ad5fc
Pipeline #6744 failed with stages
in 24 minutes and 38 seconds
...@@ -5,14 +5,14 @@ Duel.LoadScript("c12000000.lua") ...@@ -5,14 +5,14 @@ Duel.LoadScript("c12000000.lua")
function cm.initial_effect(c) function cm.initial_effect(c)
aux.AddCodeList(c,12062000) aux.AddCodeList(c,12062000)
--special summon --special summon
local e1=Effect.CreateEffect(c) local e0=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD) e0:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC) e0:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e0:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND) e0:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,m) e0:SetCountLimit(1,m)
e1:SetCondition(cm.spcon) e0:SetCondition(cm.spcon)
c:RegisterEffect(e1) c:RegisterEffect(e0)
--to hand --to hand
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0)) e1:SetDescription(aux.Stringid(m,0))
...@@ -24,6 +24,9 @@ function cm.initial_effect(c) ...@@ -24,6 +24,9 @@ function cm.initial_effect(c)
e1:SetTarget(cm.thtg) e1:SetTarget(cm.thtg)
e1:SetOperation(cm.thop) e1:SetOperation(cm.thop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EVENT_SUMMON_SUCCESS)
c:RegisterEffect(e2)
end end
function cm.spcon(e,c) function cm.spcon(e,c)
if c==nil then return true end if c==nil then return true 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