Commit a4071b50 authored by Tachibana's avatar Tachibana

ndyd

parent 974bf711
......@@ -55,10 +55,10 @@ function c10909013.efop(e,tp,eg,ep,ev,re,r,rp)
e5:SetRange(LOCATION_MZONE)
e5:SetValue(1)
e5:SetReset(RESET_EVENT+RESETS_STANDARD)
rc:RegisterEffect(e5)
rc:RegisterEffect(e5,true)
local e6=e5:Clone()
e6:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
rc:RegisterEffect(e6)
rc:RegisterEffect(e6,true)
rc:RegisterFlagEffect(10909013,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(10909013,0))
end
function c10909013.filter(c,e,tp)
......
......@@ -60,10 +60,10 @@ end
function cm.spfilter(c,e,tp)
return c:IsSetCard(0xa2f) and c:IsType(TYPE_MONSTER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function iFunc(c,x)
local __this = (aux.GetValueType(c) == "Card" and {(x == nil and {Effect.CreateEffect(c)} or {x})[1]} or {x})[1]
local fe = function(name,...) (type(__this[name])=="function" and {__this[name]} or {""})[1](__this,...) return iFunc(c,__this) end
local fc = function(name,...) this = (type(c[name])=="function" and {c[name]} or {""})[1](c,...) return iFunc(c,c) end
local func ={e = fe,c = fc,g = fc,v = function() return this end,Return = function() return __this:Clone() end}
return func
function iFunc(c,x)
local __this = (aux.GetValueType(c) == "Card" and {(x == nil and {Effect.CreateEffect(c)} or {x})[1]} or {x})[1]
local fe = function(name,...) if name =="RegisterEffect" then c:RegisterEffect(__this:Clone()) else (type(__this[name])=="function" and {__this[name]} or {""})[1](__this,...) end return iFunc(c,__this) end
local fc = function(name,...) this = (type(c[name])=="function" and {c[name]} or {""})[1](c,...) return iFunc(c,c) end
local func ={e = fe,Clone = fe,c = fc,g = fc,v = function() return this end,Return = function() return __this:Clone() end}
return func
end
\ No newline at end of file
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