Commit 6fc7a6cc authored by GuGu's avatar GuGu

Update c29059.lua 自己抽卡也封效果的bug

parent 35abb1a0
Pipeline #21993 passed with stage
in 56 seconds
......@@ -19,6 +19,7 @@ function c29059.initial_effect(c)
--Effect Negate
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCode(EVENT_DRAW)
e2:SetRange(LOCATION_MZONE+LOCATION_GRAVE)
e2:SetCondition(c29059.condition2)
......@@ -70,7 +71,7 @@ end
--效果条件:这张卡在怪兽区域或墓地存在
function c29059.condition2(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()~=PHASE_DRAW
return Duel.GetCurrentPhase()~=PHASE_DRAW and ep~=tp
end
--发动操作:对方不能从手卡发动效果
......
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