Commit 572afd97 authored by wind2009's avatar wind2009

Merge branch 'master' into 'master'

Fix ライゼオル・ホールスラスター

See merge request mycard/pre-release-database-cdb!78
parents f417c424 cc619cd1
Pipeline #28377 passed with stages
in 1 minute and 4 seconds
......@@ -92,9 +92,10 @@ function s.xyzop(e,tp,eg,ep,ev,re,r,rp)
local mg=Duel.GetMatchingGroup(s.filter,tp,LOCATION_MZONE,0,nil)
local exg=Duel.GetMatchingGroup(s.xyzfilter2,tp,LOCATION_EXTRA,0,nil,mg)
if exg:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local tg=exg:Select(tp,1,1,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL)
local sg=mg:SelectSubGroup(tp,s.gselect,false,1,mg:GetCount(),tg:GetFirst())
Duel.XyzSummon(tp,tg:GetFirst(),sg,1)
Duel.XyzSummon(tp,tg:GetFirst(),sg,#sg,#sg)
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