Commit 35e2ad95 authored by GuGu's avatar GuGu

Update c17061030.lua

parent 3afe9098
Pipeline #19747 passed with stage
in 45 seconds
......@@ -36,6 +36,14 @@ function cm.initial_effect(c)
local e4=e3:Clone()
e4:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e4)
--setcode
local e00=Effect.CreateEffect(c)
e00:SetType(EFFECT_TYPE_SINGLE)
e00:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e00:SetRange(0xff)
e00:SetCode(EFFECT_ADD_SETCODE)
e00:SetValue(0x37f6)
c:RegisterEffect(e00)
end
function cm.spfilter(c,e,tp,mc)
return c:IsAttribute(ATTRIBUTE_WATER) and bit.band(c:GetType(),0x81)==0x81 and (not c.mat_filter or c.mat_filter(mc,tp))
......
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