Commit 5a20b538 authored by wind2009's avatar wind2009
parent 066d4bc3
...@@ -6,6 +6,12 @@ function s.initial_effect(c) ...@@ -6,6 +6,12 @@ function s.initial_effect(c)
c:EnableReviveLimit() c:EnableReviveLimit()
--cannot release(uncompleted) --cannot release(uncompleted)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_UNRELEASABLE_NONSUM)
e1:SetRange(LOCATION_MZONE)
e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e1:SetTargetRange(0xff,0xff)
e1:SetValue(s.limval)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--tohand/extra & summon bonus --tohand/extra & summon bonus
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
...@@ -31,6 +37,9 @@ function s.initial_effect(c) ...@@ -31,6 +37,9 @@ function s.initial_effect(c)
e3:SetOperation(s.rmop) e3:SetOperation(s.rmop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function s.limval(e,c,tp,re)
return re and re:IsActivated() and c:IsReason(REASON_COST)
end
function s.bfilter(c) function s.bfilter(c)
return c:IsSetCard(0xb5) and c:IsFaceup() and c:IsAbleToHand() return c:IsSetCard(0xb5) and c:IsFaceup() and c:IsAbleToHand()
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