Commit d9921768 authored by Tianchenglipu's avatar Tianchenglipu

Update c22617205.lua

parent d2c95d21
......@@ -15,7 +15,7 @@ function c22617205.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e2:SetTargetRange(1,0)
e2:SetTarget(c22617205.splimit)
e2:SetCondition(c22617205.splimcon)
e2:SetCondition(aux.nfbdncon)
c:RegisterEffect(e2)
--destroy
local e3=Effect.CreateEffect(c)
......@@ -39,9 +39,6 @@ function c22617205.splimit(e,c,sump,sumtype,sumpos,targetp)
if c:IsSetCard(0x9c) or c:IsSetCard(0xc4) then return false end
return bit.band(sumtype,SUMMON_TYPE_PENDULUM)==SUMMON_TYPE_PENDULUM
end
function c22617205.splimcon(e)
return not e:GetHandler():IsForbidden()
end
function c22617205.condition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_PENDULUM
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