Commit 454fd7d8 authored by nanahira's avatar nanahira

eratta

parent 5d97df75
No preview for this file type
......@@ -114,11 +114,10 @@ function scard.resetcount(e,tp,eg,ep,ev,re,r,rp)
scard[1]=0
end
function scard.addcount(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst()
while tc do
local g=eg:Filter(Card.IsReason,nil,REASON_RITUAL)
for tc in aux.Next(g) do
local p=tc:GetReasonPlayer()
scard[p]=scard[p]+1
tc=eg:GetNext()
end
end
function scard.filter(c)
......
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