Commit 5fabfe73 authored by POLYMER's avatar POLYMER

fix

parent fd733b60
...@@ -109,6 +109,7 @@ function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -109,6 +109,7 @@ function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g=Duel.SelectTarget(tp,s.tdfilter,tp,LOCATION_GRAVE,0,1,1,nil) local g=Duel.SelectTarget(tp,s.tdfilter,tp,LOCATION_GRAVE,0,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_GRAVE)
end end
function s.setfilter(c,e,tp) function s.setfilter(c,e,tp)
return c:IsType(TYPE_NORMAL) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsType(TYPE_NORMAL) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
...@@ -48,6 +48,7 @@ end ...@@ -48,6 +48,7 @@ end
function c115072031.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c115072031.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>1 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>1 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
end end
function c115072031.spfilter(c,e,tp) function c115072031.spfilter(c,e,tp)
return c:IsSetCard(0x8) and c:IsType(TYPE_MONSTER) and not c:IsCode(115072031) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x8) and c:IsType(TYPE_MONSTER) and not c:IsCode(115072031) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
...@@ -131,6 +131,7 @@ function c127541563.sptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -131,6 +131,7 @@ function c127541563.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
local g=Duel.GetMatchingGroup(c127541563.desfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil) local g=Duel.GetMatchingGroup(c127541563.desfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,g:GetCount(),0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
end end
function c127541563.spfilter(c,e,tp) function c127541563.spfilter(c,e,tp)
return c:IsSetCard(0x103) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x103) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
...@@ -39,6 +39,8 @@ function c9910921.damtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -39,6 +39,8 @@ function c9910921.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,300) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,300)
if Duel.GetCurrentChain()>1 then if Duel.GetCurrentChain()>1 then
e:SetCategory(CATEGORY_DAMAGE+CATEGORY_TOGRAVE) e:SetCategory(CATEGORY_DAMAGE+CATEGORY_TOGRAVE)
else
e:SetCategory(CATEGORY_DAMAGE)
end end
end end
function c9910921.tgfilter(c) function c9910921.tgfilter(c)
......
...@@ -39,6 +39,8 @@ function c9910922.damtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -39,6 +39,8 @@ function c9910922.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,300) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,300)
if Duel.GetCurrentChain()>1 then if Duel.GetCurrentChain()>1 then
e:SetCategory(CATEGORY_DAMAGE+CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_GRAVE_ACTION) e:SetCategory(CATEGORY_DAMAGE+CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_GRAVE_ACTION)
else
e:SetCategory(CATEGORY_DAMAGE)
end end
end end
function c9910922.thfilter(c,tp) function c9910922.thfilter(c,tp)
......
...@@ -42,6 +42,8 @@ function c9910928.damtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -42,6 +42,8 @@ function c9910928.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,300) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,300)
if Duel.GetCurrentChain()>1 then if Duel.GetCurrentChain()>1 then
e:SetCategory(CATEGORY_DAMAGE+CATEGORY_SPECIAL_SUMMON+CATEGORY_DECKDES) e:SetCategory(CATEGORY_DAMAGE+CATEGORY_SPECIAL_SUMMON+CATEGORY_DECKDES)
else
e:SetCategory(CATEGORY_DAMAGE)
end end
end end
function c9910928.spfilter1(c,e,tp) function c9910928.spfilter1(c,e,tp)
......
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