Commit ac4de94c authored by Clara Grace Paulsen's avatar Clara Grace Paulsen Committed by GitHub

fix 束ねられし力 (#2023)

parent bdf9699c
......@@ -47,9 +47,9 @@ function c96239878.mtfilter2(c)
end
function c96239878.valcheck(e,c)
local g=c:GetMaterial()
if c:IsType(TYPE_RITUAL) and g:IsExists(c96239878.mtfilter1,1,nil) then
if c:IsSummonType(SUMMON_TYPE_RITUAL) and g:IsExists(c96239878.mtfilter1,1,nil) then
c:RegisterFlagEffect(96239878,RESET_EVENT+0x4fe0000+RESET_PHASE+PHASE_END,0,1)
elseif c:IsType(TYPE_FUSION) and g:IsExists(c96239878.mtfilter2,1,nil) then
elseif c:IsSummonType(SUMMON_TYPE_FUSION) and g:IsExists(c96239878.mtfilter2,1,nil) then
c:RegisterFlagEffect(96239878,RESET_EVENT+0x4fe0000+RESET_PHASE+PHASE_END,0,1)
end
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