Commit 02b915ee authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c62624565.lua

parent 034163a7
Pipeline #30823 passed with stages
in 30 minutes and 13 seconds
......@@ -145,7 +145,7 @@ end
function c62624565.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return false end
local g=Duel.GetMatchingGroup(c62624565.spfilter,tp,LOCATION_REMOVED,0,nil,e,tp)
if chk==0 then return #g>1 end
if chk==0 then return g:GetClassCount(Card.GetCode)>1 end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g1=g:SelectSubGroup(tp,aux.dncheck,false,2,2)
Duel.SetTargetCard(g1)
......@@ -160,8 +160,7 @@ function c62624565.filter2(c,e,tp,m,f,chkf)
end
function c62624565.spop(e,tp,eg,ep,ev,re,r,rp)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
local tg1=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS)
local g=tg1:Filter(Card.IsRelateToEffect,nil,e)
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e)
if g:GetCount()==0 or ft<=0 or (g:GetCount()>1 and Duel.IsPlayerAffectedByEffect(tp,59822133)) then return end
if ft<g:GetCount() then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
......
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