Commit b2a95831 authored by mercury233's avatar mercury233

fix

parent 7c1f553a
...@@ -31,6 +31,7 @@ function c100235011.effcon(e) ...@@ -31,6 +31,7 @@ function c100235011.effcon(e)
end end
function c100235011.efffilter(c,e,tp,eg,ep,ev,re,r,rp) function c100235011.efffilter(c,e,tp,eg,ep,ev,re,r,rp)
local m=_G["c"..c:GetCode()] local m=_G["c"..c:GetCode()]
if not m then return false end
local te=m.discard_effect local te=m.discard_effect
if not te then return false end if not te then return false end
local tg=te:GetTarget() local tg=te:GetTarget()
......
...@@ -57,10 +57,10 @@ function c100411016.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -57,10 +57,10 @@ function c100411016.activate(e,tp,eg,ep,ev,re,r,rp)
e3:SetCode(EVENT_ATTACK_ANNOUNCE) e3:SetCode(EVENT_ATTACK_ANNOUNCE)
e3:SetOperation(c100411016.disop) e3:SetOperation(c100411016.disop)
e3:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END) e3:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
sc:RegisterEffect(e3) tc:RegisterEffect(e3)
local e4=e3:Clone() local e4=e3:Clone()
e4:SetCode(EVENT_BE_BATTLE_TARGET) e4:SetCode(EVENT_BE_BATTLE_TARGET)
sc:RegisterEffect(e4) tc:RegisterEffect(e4)
end end
end end
function c100411016.disop(e,tp,eg,ep,ev,re,r,rp) function c100411016.disop(e,tp,eg,ep,ev,re,r,rp)
......
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