Commit 625f81ec authored by nekrozar's avatar nekrozar Committed by DailyShana

fix Infernoid Tierra (#569)

parent fd28e41f
...@@ -46,8 +46,8 @@ function c82734805.tg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -46,8 +46,8 @@ function c82734805.tg(e,tp,eg,ep,ev,re,r,rp,chk)
con5=Duel.IsPlayerCanDiscardDeck(tp,3) and Duel.IsPlayerCanDiscardDeck(1-tp,3) con5=Duel.IsPlayerCanDiscardDeck(tp,3) and Duel.IsPlayerCanDiscardDeck(1-tp,3)
end end
if ct>=8 then if ct>=8 then
con8=Duel.IsExistingMatchingCard(Card.IsFaceup,tp,LOCATION_REMOVED,0,1,nil) con8=Duel.IsExistingMatchingCard(nil,tp,LOCATION_REMOVED,0,1,nil)
and Duel.IsExistingMatchingCard(Card.IsFaceup,tp,0,LOCATION_REMOVED,1,nil) and Duel.IsExistingMatchingCard(nil,tp,0,LOCATION_REMOVED,1,nil)
end end
if ct>=10 then if ct>=10 then
con10=Duel.GetFieldGroupCount(tp,LOCATION_HAND,LOCATION_HAND)>0 con10=Duel.GetFieldGroupCount(tp,LOCATION_HAND,LOCATION_HAND)>0
...@@ -82,9 +82,9 @@ function c82734805.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -82,9 +82,9 @@ function c82734805.op(e,tp,eg,ep,ev,re,r,rp)
if ct>=8 then if ct>=8 then
Duel.BreakEffect() Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g1=Duel.SelectMatchingCard(tp,Card.IsFaceup,tp,LOCATION_REMOVED,0,1,3,nil) local g1=Duel.SelectMatchingCard(tp,nil,tp,LOCATION_REMOVED,0,1,3,nil)
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_TOGRAVE)
local g2=Duel.SelectMatchingCard(1-tp,Card.IsFaceup,1-tp,LOCATION_REMOVED,0,1,3,nil) local g2=Duel.SelectMatchingCard(1-tp,nil,1-tp,LOCATION_REMOVED,0,1,3,nil)
g1:Merge(g2) g1:Merge(g2)
if g1:GetCount()>0 then if g1:GetCount()>0 then
Duel.SendtoGrave(g1,REASON_EFFECT+REASON_RETURN) Duel.SendtoGrave(g1,REASON_EFFECT+REASON_RETURN)
......
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