Commit 24c4b936 authored by nanahira's avatar nanahira

fix

parent a180f38c
...@@ -26,9 +26,9 @@ function Auxiliary.PreloadUds() ...@@ -26,9 +26,9 @@ function Auxiliary.PreloadUds()
Duel.RegisterEffect(e1,0) Duel.RegisterEffect(e1,0)
local e2=Effect.GlobalEffect() local e2=Effect.GlobalEffect()
e2:SetType(EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE+EFFECT_FLAG_IGNORE_IMMUNE) e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE+EFFECT_FLAG_IGNORE_IMMUNE+EFFECT_FLAG_IGNORE_RANGE)
e2:SetCode(EFFECT_FORBIDDEN) e2:SetCode(EFFECT_FORBIDDEN)
e2:SetTargetRange(0x7f,0x7f) e2:SetTargetRange(0xff,0xff)
e2:SetTarget(function(e,c) e2:SetTarget(function(e,c)
local code1,code2=c:GetOriginalCodeRule() local code1,code2=c:GetOriginalCodeRule()
return _.any(_FORBID_LIST,function(code) return _.any(_FORBID_LIST,function(code)
......
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