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

Replace c12866780.lua

parent 8c3a862e
Pipeline #32594 canceled with stages
in 2 minutes and 16 seconds
......@@ -72,6 +72,7 @@ end
function s.eqop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if c:IsRelateToEffect(e) and c:IsFaceup() then
if tc:IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 then
Duel.Equip(tp,tc,c,false)
local e1=Effect.CreateEffect(c)
......@@ -87,6 +88,7 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
e2:SetValue(2000)
e2:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e2)
end
end
end
function s.eqlimit(e,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