Commit 0f9c1f25 authored by mercury233's avatar mercury233 Committed by GitHub
parent ee78e5e4
...@@ -36,10 +36,8 @@ end ...@@ -36,10 +36,8 @@ end
function c27770341.addcount(e,tp,eg,ep,ev,re,r,rp) function c27770341.addcount(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=eg:GetFirst()
while tc do while tc do
if tc:IsPreviousLocation(LOCATION_MZONE) and tc:GetPreviousRaceOnField()==RACE_DRAGON then if tc:IsPreviousLocation(LOCATION_MZONE) and tc:GetPreviousRaceOnField()==RACE_DRAGON
local p=tc:GetReasonPlayer() or tc:IsPreviousLocation(LOCATION_HAND) and tc:IsType(TYPE_MONSTER) and tc:GetOriginalRace()==RACE_DRAGON then
c27770341[p]=c27770341[p]+1
elseif tc:IsPreviousLocation(LOCATION_HAND) and tc:IsType(TYPE_MONSTER) and tc:GetOriginalRace()==RACE_DRAGON then
local p=tc:GetPreviousControler() local p=tc:GetPreviousControler()
c27770341[p]=c27770341[p]+1 c27770341[p]=c27770341[p]+1
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