Commit 67a6877b authored by wind2009's avatar wind2009

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

parent 53bb3be8
......@@ -91,10 +91,10 @@ end
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 g:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
if exg:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL)
local tg=exg:Select(tp,1,1,nil)
local sg=mg:SelectSubGroup(tp,s.gselect,false,1,mg,tg:GetFirst())
local sg=mg:SelectSubGroup(tp,s.gselect,false,1,127,tg:GetFirst())
Duel.XyzSummon(tp,tg:GetFirst(),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