Commit 8c3a862e authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c12866775.lua

parent d5068490
...@@ -83,6 +83,7 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp) ...@@ -83,6 +83,7 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS) local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS)
local tg=g:Filter(Card.IsRelateToEffect,nil,e) local tg=g:Filter(Card.IsRelateToEffect,nil,e)
if c:IsRelateToEffect(e) and c:IsFaceup() then
if Duel.GetLocationCount(tp,LOCATION_SZONE)>=tg:GetCount() then if Duel.GetLocationCount(tp,LOCATION_SZONE)>=tg:GetCount() then
local tc=tg:GetFirst() local tc=tg:GetFirst()
while tc do while tc do
...@@ -104,6 +105,7 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp) ...@@ -104,6 +105,7 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
end end
Duel.EquipComplete() Duel.EquipComplete()
end end
end
end end
function s.eqlimit(e,c) function s.eqlimit(e,c)
return e:GetOwner()==c return e:GetOwner()==c
......
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