Commit 19cc3ac0 authored by Nemo Ma's avatar Nemo Ma

Update c33701337.lua

parent 4cd2bcb4
...@@ -103,8 +103,8 @@ end ...@@ -103,8 +103,8 @@ end
function cm.checkop(e,tp,eg,ep,ev,re,r,rp) function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=eg:GetFirst()
while tc do while tc do
if tc:IsLocation(LOCATION_MZONE) then if tc:IsPreviousLocation(LOCATION_MZONE) then
cm[tc:GetControler()]=cm[tc:GetControler()]+1 cm[tc:GetPreviousControler()]=cm[tc:GetPreviousControler()]+1
end end
tc=eg:GetNext() tc=eg:GetNext()
end end
...@@ -112,8 +112,8 @@ end ...@@ -112,8 +112,8 @@ end
function cm.checkop1(e,tp,eg,ep,ev,re,r,rp) function cm.checkop1(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=eg:GetFirst()
while tc do while tc do
if tc:IsLocation(LOCATION_ONFIELD) then if tc:IsPreviousLocation(LOCATION_ONFIELD) then
cm[tc:GetControler()+2]=cm[tc:GetControler()+2]+1 cm[tc:GetPreviousControler()+2]=cm[tc:GetPreviousControler()+2]+1
end end
tc=eg:GetNext() tc=eg:GetNext()
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