Commit a62ab94f authored by Chrono-Genex's avatar Chrono-Genex Committed by GitHub

fix Tellus the Little Angel etc. (#1592)

parent 74bda740
...@@ -56,7 +56,7 @@ function c19280589.ctkfilter(c) ...@@ -56,7 +56,7 @@ function c19280589.ctkfilter(c)
return c:IsFaceup() and c:IsCode(19280590) return c:IsFaceup() and c:IsCode(19280590)
end end
function c19280589.tkcon2(e,tp,eg,ep,ev,re,r,rp) function c19280589.tkcon2(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c19280589.ctkfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(c19280589.ctkfilter,tp,LOCATION_ONFIELD,0,1,nil)
end end
function c19280589.tktg2(e,tp,eg,ep,ev,re,r,rp,chk) function c19280589.tktg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return not Duel.IsPlayerAffectedByEffect(tp,59822133) if chk==0 then return not Duel.IsPlayerAffectedByEffect(tp,59822133)
......
...@@ -102,5 +102,5 @@ function c60025883.tgfilter(c) ...@@ -102,5 +102,5 @@ function c60025883.tgfilter(c)
return c:GetOriginalCode()==60025884 return c:GetOriginalCode()==60025884
end end
function c60025883.tgcon(e) function c60025883.tgcon(e)
return Duel.IsExistingMatchingCard(c60025883.tgfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(c60025883.tgfilter,e:GetHandlerPlayer(),LOCATION_ONFIELD,0,1,nil)
end end
...@@ -73,7 +73,7 @@ end ...@@ -73,7 +73,7 @@ end
function c89907227.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c89907227.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false)
and Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_MZONE,0,1,nil,89907228) end and Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_ONFIELD,0,1,nil,89907228) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end end
function c89907227.spop(e,tp,eg,ep,ev,re,r,rp) function c89907227.spop(e,tp,eg,ep,ev,re,r,rp)
......
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