Commit 60189bc9 authored by mercury233's avatar mercury233

fix

parent 5be8d443
Pipeline #9678 passed with stages
in 1 minute
......@@ -31,6 +31,7 @@ function s.initial_effect(c)
end
function s.condition(e,tp,eg,ep,ev,re,r,rp)
return rp==tp and re:IsActiveType(TYPE_SPELL) and re:IsActiveType(TYPE_QUICKPLAY) and re:IsHasType(EFFECT_TYPE_ACTIVATE)
and re:GetHandler():IsSetCard(0x27e)
end
function s.filter(c)
return c:IsSetCard(0x27e) and c:IsType(TYPE_QUICKPLAY) and c:IsAbleToDeck()
......
......@@ -7,6 +7,7 @@ function s.initial_effect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_HANDES+CATEGORY_REMOVE)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_TO_HAND)
e1:SetCountLimit(1,id+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(s.condition)
......
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