Commit 6287b312 authored by salix5's avatar salix5

Merge pull request #1383 from nekrozar/patch-2

fix Toon Monster
parents 34c6cc51 69e9dacd
...@@ -44,7 +44,7 @@ function c15270885.atklimit(e,tp,eg,ep,ev,re,r,rp) ...@@ -44,7 +44,7 @@ function c15270885.atklimit(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterEffect(e1) e:GetHandler():RegisterEffect(e1)
end end
function c15270885.sfilter(c) function c15270885.sfilter(c)
return c:IsReason(REASON_DESTROY) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD) return c:IsReason(REASON_DESTROY) and c:IsPreviousPosition(POS_FACEUP) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD)
end end
function c15270885.sdescon(e,tp,eg,ep,ev,re,r,rp) function c15270885.sdescon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c15270885.sfilter,1,nil) return eg:IsExists(c15270885.sfilter,1,nil)
......
...@@ -46,7 +46,7 @@ function c16392422.atklimit(e,tp,eg,ep,ev,re,r,rp) ...@@ -46,7 +46,7 @@ function c16392422.atklimit(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterEffect(e1) e:GetHandler():RegisterEffect(e1)
end end
function c16392422.sfilter(c) function c16392422.sfilter(c)
return c:IsReason(REASON_DESTROY) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD) return c:IsReason(REASON_DESTROY) and c:IsPreviousPosition(POS_FACEUP) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD)
end end
function c16392422.sdescon(e,tp,eg,ep,ev,re,r,rp) function c16392422.sdescon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c16392422.sfilter,1,nil) return eg:IsExists(c16392422.sfilter,1,nil)
......
...@@ -64,7 +64,7 @@ function c38369349.spop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -64,7 +64,7 @@ function c38369349.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c38369349.sfilter(c) function c38369349.sfilter(c)
return c:IsReason(REASON_DESTROY) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD) return c:IsReason(REASON_DESTROY) and c:IsPreviousPosition(POS_FACEUP) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD)
end end
function c38369349.sdescon(e,tp,eg,ep,ev,re,r,rp) function c38369349.sdescon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c38369349.sfilter,1,nil) return eg:IsExists(c38369349.sfilter,1,nil)
......
...@@ -45,7 +45,7 @@ function c42386471.atklimit(e,tp,eg,ep,ev,re,r,rp) ...@@ -45,7 +45,7 @@ function c42386471.atklimit(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterEffect(e1) e:GetHandler():RegisterEffect(e1)
end end
function c42386471.sfilter(c) function c42386471.sfilter(c)
return c:IsReason(REASON_DESTROY) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD) return c:IsReason(REASON_DESTROY) and c:IsPreviousPosition(POS_FACEUP) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD)
end end
function c42386471.sdescon(e,tp,eg,ep,ev,re,r,rp) function c42386471.sdescon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c42386471.sfilter,1,nil) return eg:IsExists(c42386471.sfilter,1,nil)
......
...@@ -64,7 +64,7 @@ function c53183600.spop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -64,7 +64,7 @@ function c53183600.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c53183600.sfilter(c) function c53183600.sfilter(c)
return c:IsReason(REASON_DESTROY) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD) return c:IsReason(REASON_DESTROY) and c:IsPreviousPosition(POS_FACEUP) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD)
end end
function c53183600.sdescon(e,tp,eg,ep,ev,re,r,rp) function c53183600.sdescon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c53183600.sfilter,1,nil) return eg:IsExists(c53183600.sfilter,1,nil)
......
...@@ -58,7 +58,7 @@ function c65458948.spcon(e,c) ...@@ -58,7 +58,7 @@ function c65458948.spcon(e,c)
and Duel.IsExistingMatchingCard(c65458948.cfilter,tp,LOCATION_ONFIELD,0,1,nil) and Duel.IsExistingMatchingCard(c65458948.cfilter,tp,LOCATION_ONFIELD,0,1,nil)
end end
function c65458948.sfilter(c) function c65458948.sfilter(c)
return c:IsReason(REASON_DESTROY) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD) return c:IsReason(REASON_DESTROY) and c:IsPreviousPosition(POS_FACEUP) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD)
end end
function c65458948.sdescon(e,tp,eg,ep,ev,re,r,rp) function c65458948.sdescon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c65458948.sfilter,1,nil) return eg:IsExists(c65458948.sfilter,1,nil)
......
...@@ -46,7 +46,7 @@ function c79875176.atklimit(e,tp,eg,ep,ev,re,r,rp) ...@@ -46,7 +46,7 @@ function c79875176.atklimit(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterEffect(e1) e:GetHandler():RegisterEffect(e1)
end end
function c79875176.sfilter(c) function c79875176.sfilter(c)
return c:IsReason(REASON_DESTROY) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD) return c:IsReason(REASON_DESTROY) and c:IsPreviousPosition(POS_FACEUP) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD)
end end
function c79875176.sdescon(e,tp,eg,ep,ev,re,r,rp) function c79875176.sdescon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c79875176.sfilter,1,nil) return eg:IsExists(c79875176.sfilter,1,nil)
......
...@@ -65,7 +65,7 @@ function c90960358.spop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -65,7 +65,7 @@ function c90960358.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c90960358.sfilter(c) function c90960358.sfilter(c)
return c:IsReason(REASON_DESTROY) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD) return c:IsReason(REASON_DESTROY) and c:IsPreviousPosition(POS_FACEUP) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD)
end end
function c90960358.sdescon(e,tp,eg,ep,ev,re,r,rp) function c90960358.sdescon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c90960358.sfilter,1,nil) return eg:IsExists(c90960358.sfilter,1,nil)
......
...@@ -64,7 +64,7 @@ function c91842653.spop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -64,7 +64,7 @@ function c91842653.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c91842653.sfilter(c) function c91842653.sfilter(c)
return c:IsReason(REASON_DESTROY) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD) return c:IsReason(REASON_DESTROY) and c:IsPreviousPosition(POS_FACEUP) and c:GetPreviousCodeOnField()==15259703 and c:IsPreviousLocation(LOCATION_ONFIELD)
end end
function c91842653.sdescon(e,tp,eg,ep,ev,re,r,rp) function c91842653.sdescon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c91842653.sfilter,1,nil) return eg:IsExists(c91842653.sfilter,1,nil)
......
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