Commit e1783fa0 authored by a597449807's avatar a597449807 Committed by GitHub

fix 贖いのエンブレーマ (#2676)

修复大宇宙在场或适用对方的次元吸引者效果后,盖放的这张卡被对方破坏并除外后,能触发两次②效果的问题。
parent b283b58b
...@@ -60,7 +60,8 @@ end ...@@ -60,7 +60,8 @@ end
function s.settg(e,tp,eg,ep,ev,re,r,rp,chk) function s.settg(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroup(s.filter,tp,LOCATION_DECK+LOCATION_HAND+LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(s.filter,tp,LOCATION_DECK+LOCATION_HAND+LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
if chk==0 then return g:GetClassCount(Card.GetCode)>=2 if chk==0 then return g:GetClassCount(Card.GetCode)>=2
and Duel.GetLocationCount(tp,LOCATION_SZONE)>1 end and Duel.GetLocationCount(tp,LOCATION_SZONE)>1 and e:GetHandler():GetFlagEffect(id)==0 end
e:GetHandler():RegisterFlagEffect(id,RESET_CHAIN,0,1)
end end
function s.setop(e,tp,eg,ep,ev,re,r,rp) function s.setop(e,tp,eg,ep,ev,re,r,rp)
local ct=Duel.GetLocationCount(tp,LOCATION_SZONE) local ct=Duel.GetLocationCount(tp,LOCATION_SZONE)
......
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