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

Replace c53796005.lua

parent 3e893902
Pipeline #30678 passed with stages
in 35 minutes and 35 seconds
...@@ -30,12 +30,12 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -30,12 +30,12 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(cm.aclimit) e1:SetValue(cm.aclimit)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
local e1=Effect.CreateEffect(e:GetHandler()) local e2=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_ADJUST) e2:SetCode(EVENT_ADJUST)
e1:SetOperation(cm.op) e2:SetOperation(cm.op)
e1:SetReset(RESET_PHASE+PHASE_END) e2:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e2,tp)
end end
function cm.aclimit(e,re,tp) function cm.aclimit(e,re,tp)
return re:GetCode()==1100 or re:GetCode()==1101 or re:GetCode()==1102 return re:GetCode()==1100 or re:GetCode()==1101 or re:GetCode()==1102
......
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