Commit 1bed7707 authored by 未闻皂名's avatar 未闻皂名

2023/3/26 bug修复

parent 7bf598ad
......@@ -32,11 +32,14 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local og=Duel.GetOperatedGroup():Filter(cm.exfilter,nil)
local ct=og:GetCount()
if ct>1 then
RD.AttachExtraAttack(e,c,ct-1,aux.Stringid(m,ct),RESET_EVENT+RESETS_STANDARD+RESET_DISABLE+RESET_PHASE+PHASE_END)
end
local dg=Duel.GetMatchingGroup(cm.desfilter,tp,0,LOCATION_MZONE,nil)
if ct==3 and og:GetClassCount(Card.GetLevel)==1 and dg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(m,3)) then
Duel.Destroy(dg,REASON_EFFECT)
local c=e:GetHandler()
if c:IsFaceup() and c:IsRelateToEffect(e) then
RD.AttachExtraAttack(e,c,ct-1,aux.Stringid(m,ct),RESET_EVENT+RESETS_STANDARD+RESET_DISABLE+RESET_PHASE+PHASE_END)
end
local dg=Duel.GetMatchingGroup(cm.desfilter,tp,0,LOCATION_MZONE,nil)
if ct==3 and og:GetClassCount(Card.GetLevel)==1 and dg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(m,3)) then
Duel.Destroy(dg,REASON_EFFECT)
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