Commit f7f283ab authored by GuGu's avatar GuGu

Update c86379805.lua 待修复

parent 56c78ea3
Pipeline #24404 passed with stage
in 6 seconds
......@@ -145,7 +145,7 @@ function c86379805.sop(e,tp,eg,ep,ev,re,r,rp)
e2:SetTargetRange(0xff,0xff)
e2:SetTarget(c86379805.bantg)
e2:SetLabelObject(tc)
--Duel.RegisterEffect(e2,tp)
Duel.RegisterEffect(e2,tp)
--adjust
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
......@@ -154,7 +154,8 @@ 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)
......@@ -207,9 +208,7 @@ function c86379805.adjustcon(e,tp,eg,ep,ev,re,r,rp)
end
function c86379805.adjustop(e,tp,eg,ep,ev,re,r,rp)
local e2=e:GetLabelObject()
if not e2 then return false end
local tc=e2:GetLabelObject()
if not tc then return false end
if not Duel.IsExistingMatchingCard(c86379805.banfilter2,tp,LOCATION_HAND,LOCATION_HAND,1,nil,tc) then
e2:Reset()
e:Reset()
......
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