Commit e3a559cf authored by 聖園ミカ's avatar 聖園ミカ 🐟

hop

parent e847b21d
Pipeline #31328 passed with stages
in 79 minutes and 57 seconds
......@@ -23,7 +23,9 @@ function cm.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetRange(LOCATION_SZONE)
e2:SetTargetRange(1,0)
e2:SetTarget(cm.splimit)
e2:SetTarget(function(e,c)
return not c:IsSetCard(0xce9)
end)
c:RegisterEffect(e2)
--recover
local e3=Effect.CreateEffect(c)
......@@ -64,9 +66,6 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function cm.splimit(e,c)
return not c:IsSetCard(0xce9) and c:IsLocation(LOCATION_EXTRA)
end
function cm.reccon(e,tp,eg,ep,ev,re,r,rp)
return ep~=tp and eg:GetFirst():IsControler(tp) and eg:GetFirst():IsSetCard(0xce9)
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