Commit 47084811 authored by wind2009's avatar wind2009

Fix 魔神火焔砲

修复破坏后无法进行装备的bug
parent cdc83bc5
Pipeline #25238 passed with stages
in 1 minute and 4 seconds
......@@ -71,7 +71,7 @@ end
function s.desop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local sg=Duel.GetMatchingGroup(s.desfilter,tp,LOCATION_SZONE,LOCATION_SZONE,nil)
if Duel.Destroy(sg,REASON_EFFECT)~=0 and Duel.GetMatchingGroupCount(c.desfilter,0,LOCATION_SZONE,0,nil)==5 then
if Duel.Destroy(sg,REASON_EFFECT)~=0 and Duel.GetMatchingGroupCount(c.desfilter,0,LOCATION_SZONE,0,nil)==0 then
local g=Duel.SelectMatchingCard(tp,s.eqfilter,tp,LOCATION_DECK+LOCATION_HAND,0,5,5,nil)
for tc in aux.Next(g) do
if not Duel.Equip(tp,tc,c) then return 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