Commit 95793dc1 authored by wind2009's avatar wind2009 Committed by GitHub

Fix Magical Citadel of Endymion (#1348)

parent ef1d9e4d
...@@ -65,7 +65,7 @@ function c39910367.addop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,7 +65,7 @@ function c39910367.addop2(e,tp,eg,ep,ev,re,r,rp)
local count=0 local count=0
local c=eg:GetFirst() local c=eg:GetFirst()
while c~=nil do while c~=nil do
if not c:IsCode(39910367) and c:IsLocation(LOCATION_ONFIELD) and c:IsReason(REASON_DESTROY) then if c~=e:GetHandler() and c:IsLocation(LOCATION_ONFIELD) and c:IsReason(REASON_DESTROY) then
count=count+c:GetCounter(0x1) count=count+c:GetCounter(0x1)
end end
c=eg:GetNext() c=eg:GetNext()
......
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