Commit 23448652 authored by nanahira's avatar nanahira

hand limit

parent 12e5e07a
...@@ -339,6 +339,14 @@ function Auxiliary.PreloadUds() ...@@ -339,6 +339,14 @@ function Auxiliary.PreloadUds()
end end
grantAll(e1) grantAll(e1)
local ex=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_HAND_LIMIT)
e1:SetValue(0xff)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetTargetRange(1,1)
Duel.RegisterEffect(e1,0)
for tc in aux.Next(Duel.GetFieldGroup(0,0xff,0xff)) do for tc in aux.Next(Duel.GetFieldGroup(0,0xff,0xff)) do
local mt=getmetatable(tc) local mt=getmetatable(tc)
mt.initial_effect=Auxiliary.NULL mt.initial_effect=Auxiliary.NULL
......
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