Commit dba78f6c authored by Chrono-Genex's avatar Chrono-Genex Committed by GitHub

fix Inspector Boarder (#1755)

parent 6412b134
...@@ -17,6 +17,7 @@ function c15397015.initial_effect(c) ...@@ -17,6 +17,7 @@ function c15397015.initial_effect(c)
--activate limit --activate limit
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD) e3:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e3:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e3:SetCode(EVENT_CHAINING) e3:SetCode(EVENT_CHAINING)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetOperation(c15397015.counterop) e3:SetOperation(c15397015.counterop)
...@@ -45,9 +46,9 @@ end ...@@ -45,9 +46,9 @@ end
function c15397015.counterop(e,tp,eg,ep,ev,re,r,rp) function c15397015.counterop(e,tp,eg,ep,ev,re,r,rp)
if not re:IsActiveType(TYPE_MONSTER) then return end if not re:IsActiveType(TYPE_MONSTER) then return end
if ep==tp then if ep==tp then
e:GetHandler():RegisterFlagEffect(15397015,RESET_EVENT+0x3ff0000+RESET_PHASE+PHASE_END,0,1) e:GetHandler():RegisterFlagEffect(15397015,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
else else
e:GetHandler():RegisterFlagEffect(15397016,RESET_EVENT+0x3ff0000+RESET_PHASE+PHASE_END,0,1) e:GetHandler():RegisterFlagEffect(15397016,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
end end
end end
function c15397015.cfilter(c,type) function c15397015.cfilter(c,type)
......
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