Commit ee63a8c2 authored by Huangnan's avatar Huangnan

Update c101202054.lua

parent fbe3a3e0
--coded by Lyris --“罪宝狩りの悪魔”
--"The Tainted Treasure Hunter Fiend" --"The Tainted Treasure Hunter Fiend"
--coded by Lyris
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
--Activate --Activate
...@@ -26,7 +27,7 @@ function s.initial_effect(c) ...@@ -26,7 +27,7 @@ function s.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function s.filter(c) function s.filter(c)
return c:IsSetCard(0x19b) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsSetCard(0x29f) and c:IsType(TYPE_MONSTER) 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+LOCATION_GRAVE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil) end
...@@ -39,7 +40,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -39,7 +40,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
function s.cfilter(c) function s.cfilter(c)
return c:IsFaceupEx() and c:IsSetCard(0x19a) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToDeck() return c:IsFaceupEx() and c:IsSetCard(0x29e) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToDeck()
and not c:IsCode(id) and not c:IsCode(id)
end end
function s.drtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function s.drtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
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