Commit 917977d5 authored by mercury233's avatar mercury233 Committed by GitHub

fix 赤酢の踏切

parent 637d6f76
......@@ -7,7 +7,7 @@ function c65107325.initial_effect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e1:SetCondition(c65107325.condtion)
e1:SetCondition(c65107325.condition)
e1:SetTarget(c65107325.target)
e1:SetOperation(c65107325.operation)
c:RegisterEffect(e1)
......@@ -23,10 +23,10 @@ function c65107325.disval(e,tp)
local c=e:GetHandler()
return c:GetColumnZone(LOCATION_ONFIELD,0)
end
function c65107325.condtion(e,tp,eg,ep,ev,re,r,rp)
function c65107325.condition(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsLocation(LOCATION_SZONE) and c:IsFacedown()
and c:GetColumnGroup():Filter(Card.IsControler,nil,1-tp)~=nil
and c:GetColumnGroup():IsExists(Card.IsControler,1,nil,1-tp)
end
function c65107325.target(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
......
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