Commit 975969fd authored by Nemo Ma's avatar Nemo Ma

fix

parent 2bc941f2
......@@ -124,7 +124,9 @@ function cm.initial_effect(c)
--local ct=Duel.GetFlagEffectLabel(sp,m)
--Duel.SetFlagEffectLabel(sp,m,ct+1)
cm[sp]=cm[sp]+1
return ng:RandomSelect(sp,1)
local tg=ng:RandomSelect(sp,1)
Duel.ConfirmCards(sp,tg)
return tg
else
return _Select(g,sp,min,max,nc)
end
......
......@@ -135,7 +135,7 @@ function c115399521.chop(e,tp,eg,ep,ev,re,r,rp)
local b2=Duel.IsExistingMatchingCard(c115399521.tnfilter,tp,LOCATION_DECK,0,1,nil,e,tp,c)
local b3=Duel.IsExistingMatchingCard(c115399521.atfilter,tp,LOCATION_ONFIELD,0,1,nil)
local b4=Duel.GetLocationCount(tp,LOCATION_MZONE)>0
if not (b1 or b2 or not b3 or b4) then return end
if not (b1 and b2 and not b3 and b4) then return end
local g=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS):Filter(c115399521.cfilter,nil,e,tp,c)
if g:GetCount()>0 and Duel.GetLocationCountFromEx(tp,tp,g,c)>0 and Duel.GetFlagEffect(tp,115399521)==0 and Duel.SelectYesNo(tp,aux.Stringid(115399521,0))then
Duel.RegisterFlagEffect(tp,115399521,RESET_CHAIN,0,1)
......
......@@ -88,6 +88,7 @@ function c118817732.xyzop(e,tp,eg,ep,ev,re,r,rp,c,og,min,max)
Duel.Hint(HINT_OPSELECTED,1-c:GetControler(),aux.Stringid(118817732,0))
c:SetMaterial(xyzg)
Duel.Overlay(c,xyzg)
Duel.ShuffleHand(tp)
end
function c118817732.tgcon(e,tp,eg,ep,ev,re,r,rp)
......
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