Commit ac0e1bd2 authored by nekrozar's avatar nekrozar Committed by nanahira

fix remaining cost(#1043)

parent 8ec870ce
...@@ -36,8 +36,8 @@ end ...@@ -36,8 +36,8 @@ end
function c32687071.desop(e,tp,eg,ep,ev,re,r,rp) function c32687071.desop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
Duel.HintSelection(Group.FromCards(c)) Duel.HintSelection(Group.FromCards(c))
if Duel.CheckReleaseGroup(tp,Card.IsReleasableByEffect,1,c) and Duel.SelectYesNo(tp,aux.Stringid(32687071,0)) then if Duel.CheckReleaseGroup(tp,nil,1,c) and Duel.SelectYesNo(tp,aux.Stringid(32687071,0)) then
local g=Duel.SelectReleaseGroup(tp,Card.IsReleasableByEffect,1,1,c) local g=Duel.SelectReleaseGroup(tp,nil,1,1,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
else Duel.Destroy(c,REASON_COST) end else Duel.Destroy(c,REASON_COST) end
end end
......
...@@ -52,8 +52,8 @@ end ...@@ -52,8 +52,8 @@ end
function c33300669.desop(e,tp,eg,ep,ev,re,r,rp) function c33300669.desop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
Duel.HintSelection(Group.FromCards(c)) Duel.HintSelection(Group.FromCards(c))
if Duel.CheckReleaseGroup(tp,Card.IsReleasableByEffect,1,c) and Duel.SelectYesNo(tp,aux.Stringid(33300669,0)) then if Duel.CheckReleaseGroup(tp,nil,1,c) and Duel.SelectYesNo(tp,aux.Stringid(33300669,0)) then
local g=Duel.SelectReleaseGroup(tp,Card.IsReleasableByEffect,1,1,c) local g=Duel.SelectReleaseGroup(tp,nil,1,1,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
else Duel.Destroy(c,REASON_COST) end else Duel.Destroy(c,REASON_COST) end
end end
......
...@@ -58,8 +58,8 @@ end ...@@ -58,8 +58,8 @@ end
function c34522216.desop(e,tp,eg,ep,ev,re,r,rp) function c34522216.desop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
Duel.HintSelection(Group.FromCards(c)) Duel.HintSelection(Group.FromCards(c))
if Duel.CheckReleaseGroup(tp,Card.IsReleasableByEffect,1,c) and Duel.SelectYesNo(tp,aux.Stringid(34522216,0)) then if Duel.CheckReleaseGroup(tp,nil,1,c) and Duel.SelectYesNo(tp,aux.Stringid(34522216,0)) then
local g=Duel.SelectReleaseGroup(tp,Card.IsReleasableByEffect,1,1,c) local g=Duel.SelectReleaseGroup(tp,nil,1,1,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
else Duel.Destroy(c,REASON_COST) end else Duel.Destroy(c,REASON_COST) end
end end
......
...@@ -51,8 +51,8 @@ end ...@@ -51,8 +51,8 @@ end
function c6283472.desop(e,tp,eg,ep,ev,re,r,rp) function c6283472.desop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
Duel.HintSelection(Group.FromCards(c)) Duel.HintSelection(Group.FromCards(c))
if Duel.CheckReleaseGroup(tp,Card.IsReleasableByEffect,1,c) and Duel.SelectYesNo(tp,aux.Stringid(6283472,0)) then if Duel.CheckReleaseGroup(tp,nil,1,c) and Duel.SelectYesNo(tp,aux.Stringid(6283472,0)) then
local g=Duel.SelectReleaseGroup(tp,Card.IsReleasableByEffect,1,1,c) local g=Duel.SelectReleaseGroup(tp,nil,1,1,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
else Duel.Destroy(c,REASON_COST) end else Duel.Destroy(c,REASON_COST) end
end end
......
...@@ -39,8 +39,8 @@ end ...@@ -39,8 +39,8 @@ end
function c69072185.desop(e,tp,eg,ep,ev,re,r,rp) function c69072185.desop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
Duel.HintSelection(Group.FromCards(c)) Duel.HintSelection(Group.FromCards(c))
if Duel.CheckReleaseGroup(tp,Card.IsReleasableByEffect,1,c) and Duel.SelectYesNo(tp,aux.Stringid(69072185,0)) then if Duel.CheckReleaseGroup(tp,nil,1,c) and Duel.SelectYesNo(tp,aux.Stringid(69072185,0)) then
local g=Duel.SelectReleaseGroup(tp,Card.IsReleasableByEffect,1,1,c) local g=Duel.SelectReleaseGroup(tp,nil,1,1,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
else Duel.Destroy(c,REASON_COST) end else Duel.Destroy(c,REASON_COST) end
end end
......
...@@ -58,8 +58,8 @@ end ...@@ -58,8 +58,8 @@ end
function c70917315.desop(e,tp,eg,ep,ev,re,r,rp) function c70917315.desop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
Duel.HintSelection(Group.FromCards(c)) Duel.HintSelection(Group.FromCards(c))
if Duel.CheckReleaseGroup(tp,Card.IsReleasableByEffect,1,c) and Duel.SelectYesNo(tp,aux.Stringid(70917315,0)) then if Duel.CheckReleaseGroup(tp,nil,1,c) and Duel.SelectYesNo(tp,aux.Stringid(70917315,0)) then
local g=Duel.SelectReleaseGroup(tp,Card.IsReleasableByEffect,1,1,c) local g=Duel.SelectReleaseGroup(tp,nil,1,1,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
else Duel.Destroy(c,REASON_COST) end else Duel.Destroy(c,REASON_COST) end
end end
......
...@@ -48,8 +48,8 @@ end ...@@ -48,8 +48,8 @@ end
function c7305060.desop(e,tp,eg,ep,ev,re,r,rp) function c7305060.desop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
Duel.HintSelection(Group.FromCards(c)) Duel.HintSelection(Group.FromCards(c))
if Duel.CheckReleaseGroup(tp,Card.IsReleasableByEffect,1,c) and Duel.SelectYesNo(tp,aux.Stringid(7305060,0)) then if Duel.CheckReleaseGroup(tp,nil,1,c) and Duel.SelectYesNo(tp,aux.Stringid(7305060,0)) then
local g=Duel.SelectReleaseGroup(tp,Card.IsReleasableByEffect,1,1,c) local g=Duel.SelectReleaseGroup(tp,nil,1,1,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
else Duel.Destroy(c,REASON_COST) end else Duel.Destroy(c,REASON_COST) end
end end
......
...@@ -48,8 +48,8 @@ end ...@@ -48,8 +48,8 @@ end
function c79794767.desop(e,tp,eg,ep,ev,re,r,rp) function c79794767.desop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
Duel.HintSelection(Group.FromCards(c)) Duel.HintSelection(Group.FromCards(c))
if Duel.CheckReleaseGroup(tp,Card.IsReleasableByEffect,1,c) and Duel.SelectYesNo(tp,aux.Stringid(79794767,0)) then if Duel.CheckReleaseGroup(tp,nil,1,c) and Duel.SelectYesNo(tp,aux.Stringid(79794767,0)) then
local g=Duel.SelectReleaseGroup(tp,Card.IsReleasableByEffect,1,1,c) local g=Duel.SelectReleaseGroup(tp,nil,1,1,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
else Duel.Destroy(c,REASON_COST) end else Duel.Destroy(c,REASON_COST) end
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