Commit f7a35bb4 authored by Tachibana's avatar Tachibana

ndyd

parent cccfe0b9
...@@ -97,11 +97,11 @@ function scard.initial_effect(c) ...@@ -97,11 +97,11 @@ function scard.initial_effect(c)
local ee=Effect.CreateEffect(c) local ee=Effect.CreateEffect(c)
ee:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) ee:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
ee:SetCode(EVENT_MOVE) ee:SetCode(EVENT_MOVE)
ee:SetCondition(cm.regcon) ee:SetCondition(scard.regcon)
ee:SetTarget(scard.regtg) ee:SetTarget(scard.regtg)
c:RegisterEffect(ee) c:RegisterEffect(ee)
end end
function cm.regcon(e,tp,eg,ep,ev,re,r,rp) function scard.regcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsLocation(LOCATION_FZONE) and c:IsFaceup() return c:IsLocation(LOCATION_FZONE) and c:IsFaceup()
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