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

Replace c11901490.lua

parent 50d111e6
Pipeline #31202 failed with stages
in 18 minutes and 6 seconds
...@@ -41,7 +41,7 @@ end ...@@ -41,7 +41,7 @@ end
function s.spop(e,tp,eg,ep,ev,re,r,rp) function s.spop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.Starfi2ter,tp,0x08,0,nil) local g=Duel.GetMatchingGroup(s.Starfi2ter,tp,0x08,0,nil)
if #g==0 then return end if #g==0 then return end
local dg=Duel.GetFieldGroupCount(tp,0,LOCATION_DECK) local dg=Duel.GetFieldGroupCount(tp,0x01,0)
local fd=0 local fd=0
if #g>dg then fd=dg if #g>dg then fd=dg
elseif #g<=dg then fd=#g end elseif #g<=dg then fd=#g end
...@@ -56,11 +56,11 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -56,11 +56,11 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end end
Duel.ShuffleDeck(tp) Duel.ShuffleDeck(tp)
end end
function s.fi1ter(c,tp) function s.fi1ter(c)
return c:IsFaceup() and c:IsCanTurnSet() and c:IsLocation(0x04) return c:IsFaceup() and c:IsCanTurnSet() and c:IsLocation(0x04)
end end
function s.fi2ter(c,e,tp) function s.fi2ter(c,e)
return c:IsRelateToEffect(e) and s.fi1ter(c,tp) return c:IsRelateToEffect(e) and s.fi1ter(c)
end end
function s.cicon(e,tp,eg,ep,ev,re,r,rp) function s.cicon(e,tp,eg,ep,ev,re,r,rp)
if not re:IsHasProperty(EFFECT_FLAG_CARD_TARGET) if not re:IsHasProperty(EFFECT_FLAG_CARD_TARGET)
......
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