Commit 8bcde738 authored by POLYMER's avatar POLYMER

fix

parent a9049860
...@@ -92,15 +92,15 @@ end ...@@ -92,15 +92,15 @@ end
--②效果:召唤/特召成功时 → 用场上的怪兽进行XYZ召唤 --②效果:召唤/特召成功时 → 用场上的怪兽进行XYZ召唤
function cm.xytg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.xytg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then if chk==0 then
return Duel.IsExistingMatchingCard(aux.XyzSummonableMonsterFilter(nil,nil),tp,LOCATION_EXTRA,0,1,nil,nil,tp) return Duel.IsExistingMatchingCard(Card.IsXyzSummonable,tp,LOCATION_EXTRA,0,1,nil,nil)
end end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
end end
function cm.xyop(e,tp,eg,ep,ev,re,r,rp) function cm.xyop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) local g=Duel.GetMatchingGroup(Card.IsXyzSummonable,tp,LOCATION_EXTRA,0,nil,nil)
local g=Duel.GetMatchingGroup(aux.XyzSummonableMonsterFilter(nil,nil),tp,LOCATION_EXTRA,0,nil,nil,tp)
if #g==0 then return end if #g==0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local xyz=g:Select(tp,1,1,nil):GetFirst() local xyz=g:Select(tp,1,1,nil):GetFirst()
if xyz then if xyz then
Duel.XyzSummon(tp,xyz,nil) Duel.XyzSummon(tp,xyz,nil)
......
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