Commit 422f8e22 authored by mercury233's avatar mercury233 Committed by GitHub

fix ウィッチクラフト・マスターピース

close #1230
parent feb9ce79
......@@ -91,14 +91,10 @@ function c55072170.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
lvt[pc]=nil
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(55072170,2))
local lv=Duel.AnnounceNumber(tp,table.unpack(lvt))
local rg1=Group.CreateGroup()
if lv>1 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local rg2=cg:Select(tp,lv,lv,c)
rg1:Merge(rg2)
end
rg1:AddCard(c)
Duel.Remove(rg1,POS_FACEUP,REASON_COST)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local rg=cg:Select(tp,lv,lv,c)
rg:AddCard(c)
Duel.Remove(rg,POS_FACEUP,REASON_COST)
e:SetLabel(lv)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
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