Commit a5224d53 authored by wind2009's avatar wind2009

Fix 面子蝙蝠

parent 3a408060
......@@ -31,6 +31,7 @@ end
s.toss_coin=true
function s.filter(c,e,tp)
return c:IsCanChangePosition() and c:IsCanBeEffectTarget(e) and c:IsLocation(LOCATION_MZONE) and c:IsSummonPlayer(1-tp)
and (not c:IsPosition(POS_FACEUP_ATTACK) or c:IsCanTurnSet())
end
function s.postg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return eg:IsContains(chkc) and s.filter(chkc,e,tp) end
......@@ -52,7 +53,7 @@ function s.posop(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.cfilter(c)
return c:IsPreviousPosition(POS_FACEDOWN) and c:IsFaceup()
return c:IsPreviousPosition(POS_FACEDOWN) and c:IsFaceup() and (not c:IsPosition(POS_FACEUP_ATTACK) or c:IsCanTurnSet())
or c:IsPreviousPosition(POS_FACEUP) and c:IsFacedown()
end
function s.poscon2(e,tp,eg,ep,ev,re,r,rp)
......
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