Commit 5c2ac063 authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12031003.lua

parent 16a47f14
...@@ -66,7 +66,7 @@ function c12031003.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,7 +66,7 @@ function c12031003.spop(e,tp,eg,ep,ev,re,r,rp)
end end
function c12031003.thcon(e,tp,eg,ep,ev,re,r,rp) function c12031003.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsReason(REASON_COST) and re:IsHasType(0x7e0) and re:IsActiveType(TYPE_MONSTER) return e:GetHandler():IsReason(REASON_COST) and re:IsHasType(0x7e0) and re:IsActiveType(TYPE_MONSTER)
and e:GetHandler():IsPublic() and e:GetHandler():IsPreviousPosition(POS_FACEUP)
end end
function c12031003.thfilter(c) function c12031003.thfilter(c)
return c:IsRace(RACE_MACHINE) and c:IsAttribute(ATTRIBUTE_DARK) and ( c:IsAbleToHand() or c:IsAbleToGrave() ) return c:IsRace(RACE_MACHINE) and c:IsAttribute(ATTRIBUTE_DARK) and ( c:IsAbleToHand() or c:IsAbleToGrave() )
...@@ -87,4 +87,4 @@ function c12031003.thop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -87,4 +87,4 @@ function c12031003.thop(e,tp,eg,ep,ev,re,r,rp,c)
else else
Duel.SendtoGrave(tc,REASON_EFFECT) Duel.SendtoGrave(tc,REASON_EFFECT)
end end
end end
\ No newline at end of file
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