Commit 7c9d0631 authored by mercury233's avatar mercury233

update スプール・コード

add string Stringid(2625939,1)
parent 2c8b9575
...@@ -20,6 +20,17 @@ function c2625939.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -20,6 +20,17 @@ function c2625939.activate(e,tp,eg,ep,ev,re,r,rp)
and Duel.SelectYesNo(tp,aux.Stringid(2625939,0)) then and Duel.SelectYesNo(tp,aux.Stringid(2625939,0)) then
Duel.BreakEffect() Duel.BreakEffect()
if Duel.IsPlayerAffectedByEffect(tp,59822133) then ft=1 end if Duel.IsPlayerAffectedByEffect(tp,59822133) then ft=1 end
local ct=1
if ft>1 then
local num={}
local i=1
while i<=ft do
num[i]=i
i=i+1
end
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(2625939,1))
ct=Duel.AnnounceNumber(tp,table.unpack(num))
end
repeat repeat
local token=Duel.CreateToken(tp,2625940) local token=Duel.CreateToken(tp,2625940)
Duel.SpecialSummonStep(token,0,tp,tp,false,false,POS_FACEUP_DEFENSE) Duel.SpecialSummonStep(token,0,tp,tp,false,false,POS_FACEUP_DEFENSE)
...@@ -30,8 +41,8 @@ function c2625939.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -30,8 +41,8 @@ function c2625939.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(1) e1:SetValue(1)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
token:RegisterEffect(e1,true) token:RegisterEffect(e1,true)
ft=ft-1 ct=ct-1
until ft==0 or not Duel.SelectYesNo(tp,210) until ct==0
Duel.SpecialSummonComplete() Duel.SpecialSummonComplete()
end 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