Commit 519bb607 authored by Chen Bill's avatar Chen Bill
parent d68866d4
...@@ -57,14 +57,14 @@ function c1683982.atktg(e,c) ...@@ -57,14 +57,14 @@ function c1683982.atktg(e,c)
return not c:IsRace(RACE_REPTILE) return not c:IsRace(RACE_REPTILE)
end end
function c1683982.cfilter(c,tp) function c1683982.cfilter(c,tp)
return c:IsPreviousControler(tp) and c:IsPreviousLocation(LOCATION_MZONE) return c:IsPreviousControler(tp) and c:IsPreviousLocation(LOCATION_MZONE) and c:GetPreviousRaceOnField()&RACE_REPTILE~=0
and c:GetPreviousRaceOnField()&RACE_REPTILE~=0 and c:IsRace(RACE_REPTILE) and c:IsPreviousPosition(POS_FACEUP)
end end
function c1683982.regcon(e,tp,eg,ep,ev,re,r,rp) function c1683982.regcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c1683982.cfilter,1,nil,tp) return eg:IsExists(c1683982.cfilter,1,nil,tp)
end end
function c1683982.cfilter2(c,tp) function c1683982.cfilter2(c,tp)
return not c:IsReason(REASON_BATTLE) and c1683982.cfilter(c,tp) return not c:IsReason(REASON_BATTLE) and c:IsPreviousControler(tp) and c:IsPreviousLocation(LOCATION_MZONE)
and c:GetPreviousRaceOnField()&RACE_REPTILE~=0 and c:IsRace(RACE_REPTILE) and c:IsPreviousPosition(POS_FACEUP)
end end
function c1683982.regcon2(e,tp,eg,ep,ev,re,r,rp) function c1683982.regcon2(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c1683982.cfilter2,1,nil,tp) return eg:IsExists(c1683982.cfilter2,1,nil,tp)
......
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