Commit 4cd2bcb4 authored by Nemo Ma's avatar Nemo Ma

fix

parent fffd569c
......@@ -63,10 +63,10 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
cm[tc:GetOwnerPlayer()]=cm[tc:GetOwnerPlayer()]+1
cm[ep]=cm[ep]+ev
end
function cm.checkop1(e,tp,eg,ep,ev,re,r,rp)
cm[tc:GetOwnerPlayer()]=cm[tc:GetOwnerPlayer()+2]+1
cm[ep+2]=cm[ep+2]+2
end
function cm.clear(e,tp,eg,ep,ev,re,r,rp)
cm[0]=0
......
......@@ -87,7 +87,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
if ep==tp and 1-ep==rp and bit.band(r,REASON_BATTLE+REASON_EFFECT)~=0 then
if 1-ep==rp and bit.band(r,REASON_BATTLE+REASON_EFFECT)~=0 then
cm[ep]=cm[ep]+ev
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