Commit cc8773d2 authored by mercury233's avatar mercury233

update

parent d0fa0490
......@@ -27,7 +27,7 @@ function c11067666.condition(e,tp,eg,ep,ev,re,r,rp)
and g and g:IsExists(c11067666.cfilter,1,nil,tp) and Duel.IsChainDisablable(ev)
end
function c11067666.operation(e,tp,eg,ep,ev,re,r,rp)
if Duel.SelectYesNo(tp,aux.Stringid(11067666,0)) then
if Duel.SelectEffectYesNo(tp,e:GetHandler()) then
e:GetHandler():RegisterFlagEffect(11067666,RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END,0,1)
if Duel.NegateEffect(ev) then
Duel.BreakEffect()
......
......@@ -39,7 +39,7 @@ function c19302550.discon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsChainDisablable(ev) and re:IsActiveType(TYPE_TRAP) and aux.damcon1(e,tp,eg,ep,ev,re,r,rp) and e:GetHandler():GetFlagEffect(19302550)==0
end
function c19302550.disop(e,tp,eg,ep,ev,re,r,rp)
if not Duel.SelectYesNo(tp,aux.Stringid(19302550,1)) then return end
if not Duel.SelectEffectYesNo(tp,e:GetHandler()) then return end
e:GetHandler():RegisterFlagEffect(19302550,RESET_EVENT+0x1fe0000,0,1)
if not Duel.NegateEffect(ev) then return end
Duel.BreakEffect()
......
......@@ -31,7 +31,7 @@ function c32134638.negcon(e,tp,eg,ep,ev,re,r,rp)
and g and g:IsExists(c32134638.tfilter,1,e:GetHandler(),tp) and Duel.IsChainDisablable(ev)
end
function c32134638.negop(e,tp,eg,ep,ev,re,r,rp)
if Duel.SelectYesNo(tp,aux.Stringid(32134638,1)) then
if Duel.SelectEffectYesNo(tp,e:GetHandler()) then
e:GetHandler():RegisterFlagEffect(32134638,RESET_EVENT+0x1fe0000,0,1)
if Duel.NegateEffect(ev) then
Duel.BreakEffect()
......
......@@ -29,7 +29,7 @@ function c368382.negcon(e,tp,eg,ep,ev,re,r,rp)
and g and g:IsExists(c368382.tfilter,1,e:GetHandler(),tp) and Duel.IsChainDisablable(ev)
end
function c368382.negop(e,tp,eg,ep,ev,re,r,rp)
if Duel.SelectYesNo(tp,aux.Stringid(368382,0)) then
if Duel.SelectEffectYesNo(tp,e:GetHandler()) then
e:GetHandler():RegisterFlagEffect(368382,RESET_EVENT+0x1fe0000,0,1)
if Duel.NegateEffect(ev) then
Duel.BreakEffect()
......
......@@ -32,7 +32,7 @@ function c38988538.negcon(e,tp,eg,ep,ev,re,r,rp)
and g and g:IsExists(c38988538.tfilter,1,e:GetHandler(),tp) and Duel.IsChainDisablable(ev)
end
function c38988538.negop(e,tp,eg,ep,ev,re,r,rp)
if Duel.SelectYesNo(tp,aux.Stringid(38988538,0)) then
if Duel.SelectEffectYesNo(tp,e:GetHandler()) then
e:GetHandler():RegisterFlagEffect(38988538,RESET_EVENT+0x1fe0000,0,1)
if Duel.NegateEffect(ev) then
Duel.BreakEffect()
......
......@@ -41,7 +41,7 @@ function c46796664.discon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsChainNegatable(ev) and re:IsActiveType(TYPE_SPELL) and aux.damcon1(e,tp,eg,ep,ev,re,r,rp) and e:GetHandler():GetFlagEffect(46796664)==0
end
function c46796664.disop(e,tp,eg,ep,ev,re,r,rp)
if not Duel.SelectYesNo(tp,aux.Stringid(46796664,1)) then return end
if not Duel.SelectEffectYesNo(tp,e:GetHandler()) then return end
e:GetHandler():RegisterFlagEffect(46796664,RESET_EVENT+0x1fe0000,0,1)
if not Duel.NegateEffect(ev) then return end
Duel.BreakEffect()
......
......@@ -32,7 +32,7 @@ function c63251695.negcon(e,tp,eg,ep,ev,re,r,rp)
and g and g:IsExists(c63251695.tfilter,1,e:GetHandler(),tp) and Duel.IsChainDisablable(ev)
end
function c63251695.negop(e,tp,eg,ep,ev,re,r,rp)
if Duel.SelectYesNo(tp,aux.Stringid(63251695,1)) then
if Duel.SelectEffectYesNo(tp,e:GetHandler()) then
e:GetHandler():RegisterFlagEffect(63251695,RESET_EVENT+0x1fe0000,0,1)
if Duel.NegateEffect(ev) then
Duel.BreakEffect()
......
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