Commit d0b8414f authored by Tang Xinwei's avatar Tang Xinwei

Update c100212005.lua

parent 6cfe5794
...@@ -73,7 +73,7 @@ function c100212005.spcon2(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,7 +73,7 @@ function c100212005.spcon2(e,tp,eg,ep,ev,re,r,rp)
return ep~=tp and not (bc and bc:IsStatus(STATUS_BATTLE_DESTROYED)) return ep~=tp and not (bc and bc:IsStatus(STATUS_BATTLE_DESTROYED))
end end
function c100212005.spfilter(c,e,tp) function c100212005.spfilter(c,e,tp)
return c:IsSetCard(0x20f8) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x20f8) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE)
and (c:IsLocation(LOCATION_DECK) and Duel.GetMZoneCount(tp)>0 and (c:IsLocation(LOCATION_DECK) and Duel.GetMZoneCount(tp)>0
or c:IsLocation(LOCATION_EXTRA) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0) or c:IsLocation(LOCATION_EXTRA) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0)
end end
...@@ -89,7 +89,7 @@ function c100212005.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -89,7 +89,7 @@ function c100212005.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,c100212005.spfilter,tp,LOCATION_DECK+LOCATION_EXTRA+LOCATION_GRAVE,0,1,ft,nil,e,tp) local g=Duel.SelectMatchingCard(tp,c100212005.spfilter,tp,LOCATION_DECK+LOCATION_EXTRA+LOCATION_GRAVE,0,1,ft,nil,e,tp)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP_DEFENSE)
end end
end end
function c100212005.pencon(e,tp,eg,ep,ev,re,r,rp) function c100212005.pencon(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