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

Update c33701337.lua

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