Commit 5a16c9d7 authored by wind2009's avatar wind2009 Committed by GitHub

Update 聖霊獣騎 レイラウタリ

parent 87197bb1
...@@ -7,11 +7,11 @@ function s.initial_effect(c) ...@@ -7,11 +7,11 @@ function s.initial_effect(c)
--cannot release(uncompleted) --cannot release(uncompleted)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_UNRELEASABLE_NONSUM) e1:SetCode(EFFECT_CANNOT_RELEASE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE) e1:SetTargetRange(1,1)
e1:SetTargetRange(0xff,0xff) e1:SetTarget(s.rellimit)
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)
...@@ -37,8 +37,8 @@ function s.initial_effect(c) ...@@ -37,8 +37,8 @@ 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) function s.rellimit(e,c,tp,r)
return re and re:IsActivated() and c:IsReason(REASON_COST) return r&REASON_COST~=0
end 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()
......
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