Commit 45c42a66 authored by mercury233's avatar mercury233 Committed by GitHub

fix 無限械アイン・ソフ

parent 8d7ec5cc
......@@ -61,8 +61,8 @@ function c36894320.acttg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
and c36894320.sptg(e,tp,eg,ep,ev,re,r,rp,0)
local b2=c36894320.cost(e,tp,eg,ep,ev,re,r,rp,0)
and c36894320.tdtg(e,tp,eg,ep,ev,re,r,rp,0)
local op=-1
if (b1 or b2) and Duel.SelectYesNo(tp,94) then
local op=0
if b1 and b2 then
op=Duel.SelectOption(tp,aux.Stringid(36894320,0),aux.Stringid(36894320,1))
elseif b1 then
......@@ -70,19 +70,23 @@ function c36894320.acttg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
else
op=Duel.SelectOption(tp,aux.Stringid(36894320,1))+1
end
if op==0 then
e:SetCategory(CATEGORY_SPECIAL_SUMMON)
e:SetProperty(0)
e:SetOperation(c36894320.spop)
c36894320.cost(e,tp,eg,ep,ev,re,r,rp,1)
c36894320.sptg(e,tp,eg,ep,ev,re,r,rp,1)
else
e:SetCategory(CATEGORY_TODECK)
e:SetProperty(EFFECT_FLAG_CARD_TARGET)
e:SetOperation(c36894320.tdop)
c36894320.cost(e,tp,eg,ep,ev,re,r,rp,1)
c36894320.tdtg(e,tp,eg,ep,ev,re,r,rp,1)
end
end
if op==0 then
e:SetCategory(CATEGORY_SPECIAL_SUMMON)
e:SetProperty(0)
e:SetOperation(c36894320.spop)
c36894320.cost(e,tp,eg,ep,ev,re,r,rp,1)
c36894320.sptg(e,tp,eg,ep,ev,re,r,rp,1)
elseif op==1 then
e:SetCategory(CATEGORY_TODECK)
e:SetProperty(EFFECT_FLAG_CARD_TARGET)
e:SetOperation(c36894320.tdop)
c36894320.cost(e,tp,eg,ep,ev,re,r,rp,1)
c36894320.tdtg(e,tp,eg,ep,ev,re,r,rp,1)
else
e:SetCategory(0)
e:SetProperty(0)
e:SetOperation(nil)
end
end
function c36894320.cost(e,tp,eg,ep,ev,re,r,rp,chk)
......
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