Commit aaea3eb0 authored by Chen Bill's avatar Chen Bill

fix ユベル

parent a0508d7b
......@@ -66,17 +66,19 @@ function c78371393.descon(e,tp,eg,ep,ev,re,r,rp)
end
function c78371393.destg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
if not Duel.CheckReleaseGroup(REASON_COST,tp,nil,1,nil) then
if not Duel.CheckReleaseGroup(REASON_EFFECT,tp,nil,1,nil) then
Duel.SetOperationInfo(0,CATEGORY_DESTROY,e:GetHandler(),1,0,0)
end
end
function c78371393.desop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsFacedown() or not c:IsRelateToEffect(e) then return end
if Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsReleasableByEffect,1,c) and Duel.SelectYesNo(tp,aux.Stringid(78371393,2)) then
local g=Duel.SelectReleaseGroup(REASON_COST,tp,Card.IsReleasableByEffect,1,1,c)
if Duel.CheckReleaseGroup(REASON_EFFECT,tp,Card.IsReleasableByEffect,1,c) and Duel.SelectYesNo(tp,aux.Stringid(78371393,2)) then
local g=Duel.SelectReleaseGroup(REASON_EFFECT,tp,Card.IsReleasableByEffect,1,1,c)
Duel.Release(g,REASON_EFFECT)
else Duel.Destroy(c,REASON_EFFECT) end
else
Duel.Destroy(c,REASON_EFFECT)
end
end
function c78371393.spcon(e,tp,eg,ep,ev,re,r,rp)
return re~=e:GetLabelObject()
......
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