Commit 7bfda725 authored by nanahira's avatar nanahira

fix

parent 427d3889
...@@ -10,7 +10,11 @@ function cm.initial_effect(c) ...@@ -10,7 +10,11 @@ function cm.initial_effect(c)
e3:SetCode(EVENT_SPSUMMON_SUCCESS) e3:SetCode(EVENT_SPSUMMON_SUCCESS)
e3:SetRange(LOCATION_HAND) e3:SetRange(LOCATION_HAND)
e3:SetCountLimit(1,m) e3:SetCountLimit(1,m)
e3:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return ep~=tp end) e3:SetCondition(function(e,tp,eg,ep,ev,re,r,rp)
return ep~=tp and eg:IsExists(function(c)
return c:GetSummonPlayer()==1-tp
end,1,nil)
end)
e3:SetTarget(cm.sptg) e3:SetTarget(cm.sptg)
e3:SetOperation(cm.spop) e3:SetOperation(cm.spop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
......
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