Commit eef4352b authored by POLYMER's avatar POLYMER

fix

parent f399ff12
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
--23.09.08 --23.09.08
local m=11410000 local m=11410000
local cm=_G["c"..m] local cm=_G["c"..m]
if not cm then cm={} end
function cm.initial_effect(c) function cm.initial_effect(c)
local e0=Effect.CreateEffect(c) local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
......
...@@ -230,9 +230,6 @@ function c91300032.speop(e,tp,eg,ep,ev,re,r,rp) ...@@ -230,9 +230,6 @@ function c91300032.speop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
end end
function c91300032.efilter(e,te,ev)
return te:IsActiveType(TYPE_MONSTER) and (Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)==LOCATION_MZONE or Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)==LOCATION_GRAVE or Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)==LOCATION_REMOVED)
end
function c91300032.flfcopfilter(c,tp) function c91300032.flfcopfilter(c,tp)
return c:IsPreviousLocation(LOCATION_HAND) and c:IsPreviousControler(1-tp) return c:IsPreviousLocation(LOCATION_HAND) and c:IsPreviousControler(1-tp)
end end
......
...@@ -230,9 +230,6 @@ function c91300033.speop(e,tp,eg,ep,ev,re,r,rp) ...@@ -230,9 +230,6 @@ function c91300033.speop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
end end
function c91300033.efilter(e,te,ev)
return te:IsActiveType(TYPE_MONSTER) and (Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)==LOCATION_MZONE or Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)==LOCATION_GRAVE or Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)==LOCATION_REMOVED)
end
function c91300033.flfcopfilter(c,tp) function c91300033.flfcopfilter(c,tp)
return c:IsPreviousLocation(LOCATION_HAND) and c:IsPreviousControler(1-tp) return c:IsPreviousLocation(LOCATION_HAND) and c:IsPreviousControler(1-tp)
end end
......
...@@ -232,9 +232,6 @@ function c91300034.speop(e,tp,eg,ep,ev,re,r,rp) ...@@ -232,9 +232,6 @@ function c91300034.speop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
end end
function c91300034.efilter(e,te,ev)
return te:IsActiveType(TYPE_MONSTER) and (Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)==LOCATION_MZONE or Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)==LOCATION_GRAVE or Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)==LOCATION_REMOVED)
end
function c91300034.flfcopfilter(c,tp) function c91300034.flfcopfilter(c,tp)
return c:IsPreviousLocation(LOCATION_HAND) and c:IsPreviousControler(1-tp) return c:IsPreviousLocation(LOCATION_HAND) and c:IsPreviousControler(1-tp)
end end
......
...@@ -27,7 +27,7 @@ function Auxiliary.PreloadUds() ...@@ -27,7 +27,7 @@ function Auxiliary.PreloadUds()
effect_registered=effect_registered or {} effect_registered=effect_registered or {}
require_list=require_list or {} require_list=require_list or {}
if not loadfile and Card.CopyEffect then --[[if not loadfile and Card.CopyEffect then
function loadfile(str) function loadfile(str)
require_list=require_list or {} require_list=require_list or {}
local name=nil local name=nil
...@@ -51,7 +51,7 @@ function Auxiliary.PreloadUds() ...@@ -51,7 +51,7 @@ function Auxiliary.PreloadUds()
local f=loadfile(str) local f=loadfile(str)
if f then f() end if f then f() end
end end
end end--]]
if not require and loadfile then if not require and loadfile then
function require(str) function require(str)
require_list=require_list or {} require_list=require_list or {}
......
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