Commit 22dbe526 authored by POLYMER's avatar POLYMER

fix

parent 3dd40b18
...@@ -103,9 +103,9 @@ function s.filter(c) ...@@ -103,9 +103,9 @@ function s.filter(c)
return c:IsCode(36623431) and c:IsAbleToHand() return c:IsCode(36623431) and c:IsAbleToHand()
end end
function s.target(e,tp,eg,ep,ev,re,r,rp,chk) function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil) end
local sg=Duel.GetMatchingGroup(aux.NOT(Card.IsSetCard),tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,0x1d) local sg=Duel.GetMatchingGroup(aux.NOT(Card.IsSetCard),tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,0x1d)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK+LOCATION_GRAVE)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,sg,sg:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_DESTROY,sg,sg:GetCount(),0,0)
end end
function s.desfilter(c) function s.desfilter(c)
...@@ -113,7 +113,7 @@ function s.desfilter(c) ...@@ -113,7 +113,7 @@ function s.desfilter(c)
end end
function s.operation(e,tp,eg,ep,ev,re,r,rp) function s.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.GetMatchingGroup(s.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.filter),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil)
if g:GetCount()==0 then return end if g:GetCount()==0 then return end
local tc=g:GetFirst() local tc=g:GetFirst()
Duel.SendtoHand(tc,nil,REASON_EFFECT) Duel.SendtoHand(tc,nil,REASON_EFFECT)
......
...@@ -711,7 +711,7 @@ ...@@ -711,7 +711,7 @@
!setname 0x7ad 战械 !setname 0x7ad 战械
!setname 0x17ae 源流使者 !setname 0x17ae 源流使者
!setname 0x7ae 源流 !setname 0x7ae 源流
!setname 0x17af 猩红剧团 !setname 0x57af 源石秘术
!setname 0x67af 深海猎人 !setname 0x67af 深海猎人
!setname 0x87af 方舟骑士团 !setname 0x87af 方舟骑士团
!counter 0x10ae 战术指示物 !counter 0x10ae 战术指示物
......
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