Commit 2f0e8874 authored by JoyJ's avatar JoyJ

fix lightsworn remove

parent 742791ca
......@@ -253,7 +253,8 @@ function CUNGUI.RegisterLightsworn(c)
e2:SetOperation(CUNGUI.lsoperation)
c:RegisterEffect(e2)
local e3=e2:Clone()
e2:SetCode(EVENT_REMOVE)
e3:SetCode(EVENT_REMOVE)
c:RegisterEffect(e3)
end
function CUNGUI.lsrmtarget(e,c)
if c:IsType(TYPE_SPELL) then
......
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