Commit dbf912b1 authored by nanahira's avatar nanahira

fix

parent 81aefeeb
...@@ -194,13 +194,13 @@ function Auxiliary.PreloadUds() ...@@ -194,13 +194,13 @@ function Auxiliary.PreloadUds()
ex:SetCode(EFFECT_UPDATE_ATTACK) ex:SetCode(EFFECT_UPDATE_ATTACK)
ex:SetValue(ac) ex:SetValue(ac)
ex:SetReset(0x1fe1000) ex:SetReset(0x1fe1000)
Card.RegisterEffect(c,ex,true) Card_RegisterEffect(c,ex,true)
local ex=Effect.CreateEffect(c) local ex=Effect.CreateEffect(c)
ex:SetType(EFFECT_TYPE_SINGLE) ex:SetType(EFFECT_TYPE_SINGLE)
ex:SetCode(EFFECT_UPDATE_DEFENSE) ex:SetCode(EFFECT_UPDATE_DEFENSE)
ex:SetValue(ac) ex:SetValue(ac)
ex:SetReset(0x1fe1000) ex:SetReset(0x1fe1000)
Card.RegisterEffect(c,ex,true) Card_RegisterEffect(c,ex,true)
end) end)
grantAll(e1,nil,LOCATION_MZONE) grantAll(e1,nil,LOCATION_MZONE)
...@@ -343,4 +343,8 @@ function Auxiliary.PreloadUds() ...@@ -343,4 +343,8 @@ function Auxiliary.PreloadUds()
local mt=getmetatable(tc) local mt=getmetatable(tc)
mt.initial_effect=Auxiliary.NULL mt.initial_effect=Auxiliary.NULL
end end
Card_RegisterEffect=Card.RegisterEffect
Duel_RegisterEffect=Duel.RegisterEffect
Card.RegisterEffect=Auxiliary.NULL
Duel.RegisterEffect=Auxiliary.NULL
end 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