Commit 4828c33a authored by wind2009's avatar wind2009

Fix Lycoris Lilyreaper

parent 5a8c1a6f
Pipeline #40614 passed with stages
in 2 minutes and 19 seconds
...@@ -28,6 +28,7 @@ function s.initial_effect(c) ...@@ -28,6 +28,7 @@ function s.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCountLimit(1,id+o) e2:SetCountLimit(1,id+o)
e2:SetCondition(s.tgcon) e2:SetCondition(s.tgcon)
e2:SetCost(aux.bfgcost)
e2:SetTarget(s.tgtg) e2:SetTarget(s.tgtg)
e2:SetOperation(s.tgop) e2:SetOperation(s.tgop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
...@@ -36,7 +37,7 @@ function s.recfilter(c,tp,e) ...@@ -36,7 +37,7 @@ function s.recfilter(c,tp,e)
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsControler(1-tp) and c:IsAttackAbove(1) and c:IsType(TYPE_MONSTER) return c:IsPreviousLocation(LOCATION_MZONE) and c:IsControler(1-tp) and c:IsAttackAbove(1) and c:IsType(TYPE_MONSTER)
end end
function s.reccon(e,tp,eg,ep,ev,re,r,rp) function s.reccon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.recfilter,1,nil,1-tp) return eg:IsExists(s.recfilter,1,nil,tp)
end end
function s.rectg(e,tp,eg,ep,ev,re,r,rp,chk) function s.rectg(e,tp,eg,ep,ev,re,r,rp,chk)
local g=eg:Filter(s.recfilter,nil,tp,e) local g=eg:Filter(s.recfilter,nil,tp,e)
......
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