Commit ee63a8c2 authored by Huangnan's avatar Huangnan

Update c101202054.lua

parent fbe3a3e0
Pipeline #23343 passed with stages
in 21 minutes and 3 seconds
--coded by Lyris
--“罪宝狩りの悪魔”
--"The Tainted Treasure Hunter Fiend"
--coded by Lyris
local s,id,o=GetID()
function s.initial_effect(c)
--Activate
......@@ -26,7 +27,7 @@ function s.initial_effect(c)
c:RegisterEffect(e2)
end
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
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
......@@ -39,7 +40,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,g)
end
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)
end
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