Commit d6848f44 authored by nanahira's avatar nanahira

fix

parent e8fc4981
...@@ -57,7 +57,7 @@ function Auxiliary.PreloadUds() ...@@ -57,7 +57,7 @@ function Auxiliary.PreloadUds()
oc:RegisterEffect(e1,true) oc:RegisterEffect(e1,true)
end end
if #codes>0 then if #codes>0 then
local e2=Effect.CreateEffect(oc) local e2=Effect.GlobalEffect()
e2:SetType(EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON) e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE) e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
......
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