Commit eabec4ad authored by GuGu's avatar GuGu

Update c86379805.lua 测试用

parent 6b20c22e
Pipeline #24401 passed with stage
in 5 seconds
......@@ -143,7 +143,6 @@ function c86379805.sop(e,tp,eg,ep,ev,re,r,rp)
e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE+EFFECT_FLAG_IGNORE_RANGE)
e2:SetCode(EFFECT_FORBIDDEN)
e2:SetTargetRange(0xff,0xff)
--e2:SetCondition(c86379805.bancon)
e2:SetTarget(c86379805.bantg)
e2:SetLabelObject(tc)
Duel.RegisterEffect(e2,tp)
......@@ -155,7 +154,7 @@ function c86379805.sop(e,tp,eg,ep,ev,re,r,rp)
e3:SetOperation(c86379805.adjustcon)
e3:SetOperation(c86379805.adjustop)
e3:SetLabelObject(e2)
Duel.RegisterEffect(e3,tp)
--Duel.RegisterEffect(e3,tp)
--[[local e10=Effect.CreateEffect(c)
e10:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e10:SetCode(EVENT_PHASE+PHASE_END)
......@@ -169,18 +168,18 @@ function c86379805.sop(e,tp,eg,ep,ev,re,r,rp)
end
end
--cannot spsum
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetTargetRange(0,1)
e1:SetTarget(c86379805.splimit)
e1:SetLabel(tc:GetCode())
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
local e2=e1:Clone()
e2:SetCode(EFFECT_CANNOT_SUMMON)
Duel.RegisterEffect(e2,tp)
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_FIELD)
e4:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e4:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e4:SetTargetRange(0,1)
e4:SetTarget(c86379805.splimit)
e4:SetLabel(tc:GetCode())
e4:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e4,tp)
local e5=e4:Clone()
e5:SetCode(EFFECT_CANNOT_SUMMON)
Duel.RegisterEffect(e5,tp)
--
end
end
......@@ -196,13 +195,6 @@ end
function c86379805.banfilter(c,e)
return c==e:GetLabelObject() and c:IsPublic()
end
function c86379805.bancon(e)
local tp=e:GetHandlerPlayer()
local tc=e:GetLabelObject()
if Duel.IsExistingMatchingCard(c86379805.banfilter,tp,LOCATION_HAND,LOCATION_HAND,1,nil,e) then return true end
e:Reset()
return false
end
function c86379805.banfilter2(c,tc)
return c==tc and c:IsPublic()
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