Commit 740dd10b authored by 未闻皂名's avatar 未闻皂名

2022/9/22 bug修复

parent 23820118
No preview for this file type
No preview for this file type
......@@ -33,11 +33,12 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
RD.SelectAndDoAction(HINTMSG_POSCHANGE,cm.filter,tp,0,LOCATION_MZONE,1,1,nil,function(g)
if RD.ChangePosition(g,POS_FACEUP_DEFENSE)~=0 then
local sg=Duel.GetMatchingGroup(cm.downfilter,tp,0,LOCATION_MZONE,nil)
if sg:GetCount()==0 then return end
Duel.BreakEffect()
sg:ForEach(function(tc)
RD.AttachAtkDef(e,tc,0,-800,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
end)
if sg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(m,1)) then
Duel.BreakEffect()
sg:ForEach(function(tc)
RD.AttachAtkDef(e,tc,0,-800,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
end)
end
end
end)
end
\ No newline at end of file
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