Commit e77fee28 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c22134223.lua

parent 2e7e3a23
...@@ -92,6 +92,7 @@ function s.pentg2(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -92,6 +92,7 @@ function s.pentg2(e,tp,eg,ep,ev,re,r,rp,chk)
and Duel.IsExistingMatchingCard(s.setfilter2,tp,LOCATION_DECK,0,1,nil) end and Duel.IsExistingMatchingCard(s.setfilter2,tp,LOCATION_DECK,0,1,nil) end
end end
function s.penop2(e,tp,eg,ep,ev,re,r,rp) function s.penop2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g = Duel.GetMatchingGroup(s.setfilter2,tp,LOCATION_DECK,0,nil) local g = Duel.GetMatchingGroup(s.setfilter2,tp,LOCATION_DECK,0,nil)
if g and (Duel.CheckLocation(tp,LOCATION_PZONE,0) or Duel.CheckLocation(tp,LOCATION_PZONE,1))then if g and (Duel.CheckLocation(tp,LOCATION_PZONE,0) or Duel.CheckLocation(tp,LOCATION_PZONE,1))then
local tc=g:GetFirst() local tc=g:GetFirst()
......
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