Commit f3fc4a18 authored by Tachibana's avatar Tachibana

eme

parent a7f5005e
Pipeline #8553 passed with stages
in 31 minutes and 16 seconds
No preview for this file type
......@@ -5,7 +5,7 @@ function c75646050.initial_effect(c)
c:EnableReviveLimit()
--eq
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetCategory(CATEGORY_EQUIP+CATEGORY_COUNTER)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP)
......@@ -17,7 +17,7 @@ function c75646050.initial_effect(c)
--eq2
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(75646050,0))
e2:SetCategory(CATEGORY_EQUIP)
e2:SetCategory(CATEGORY_EQUIP+CATEGORY_COUNTER)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetRange(LOCATION_MZONE)
e2:SetCode(EVENT_FREE_CHAIN)
......@@ -59,10 +59,12 @@ function c75646050.eqop(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst()
while tc do
Duel.Equip(tp,tc,c,true,true)
tc:AddCounter(0x1b,2)
tc=g:GetNext()
end
Duel.EquipComplete()
for tc in aux.Next(g) do
tc:AddCounter(0x1b,2)
end
end
function c75646050.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
......@@ -97,7 +99,7 @@ function c75646050.chainop(e,tp,eg,ep,ev,re,r,rp)
Duel.SetChainLimit(c75646050.chainlm)
else
Duel.SetChainLimit(aux.FALSE)
end
end
end
end
function c75646050.chainlm(e,rp,tp)
......
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