Commit 960fb3a2 authored by nanahira's avatar nanahira

add confirm

parent d411b211
...@@ -364,6 +364,14 @@ function Auxiliary.PreloadUds() ...@@ -364,6 +364,14 @@ function Auxiliary.PreloadUds()
end) end)
grantAll(e1,function(e,c) return c:IsFaceup() or c:IsLocation(LOCATION_HAND) end,loc) grantAll(e1,function(e,c) return c:IsFaceup() or c:IsLocation(LOCATION_HAND) end,loc)
local loc=LOCATION_HAND+LOCATION_ONFIELD
local e1=fieldEffectTemplate(loc)
e1:SetDescription(208)
e1:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,e:GetHandler())
end)
grantAll(e1,function(e,c) return c:IsFacedown() or c:IsLocation(LOCATION_HAND) end,loc)
--spells and traps --spells and traps
local e1=Effect.GlobalEffect() local e1=Effect.GlobalEffect()
e1:SetDescription(65) e1:SetDescription(65)
......
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