Commit 4eb8d44f authored by Huangnan's avatar Huangnan

fix

parent 54686541
Pipeline #36102 failed with stages
in 14 seconds
......@@ -29,15 +29,15 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end
if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)>0 then
local e1_1=Effect.CreateEffect(c)
e1_1:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e1_1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1_1:SetCode(EVENT_CHAINING)
e1_1:SetRange(LOCATION_MZONE)
e1_1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1_1:SetCondition(cm.chcondition)
e1_1:SetOperation(cm.choperation)
c:RegisterEffect(e1_1)
local e11=Effect.CreateEffect(c)
e11:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e11:SetProperty(EFFECT_FLAG_CARD_TARGET)
e11:SetCode(EVENT_CHAINING)
e11:SetRange(LOCATION_MZONE)
e11:SetReset(RESET_EVENT+RESETS_STANDARD)
e11:SetCondition(cm.chcondition)
e11:SetOperation(cm.choperation)
c:RegisterEffect(e11)
end
end
function cm.chcondition(e,tp,eg,ep,ev,re,r,rp)
......
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