Commit 9845ffd0 authored by DailyShana's avatar DailyShana

LVP2

parent b43ed108
--The Phantom Knights of Rusty Bardiche
--幻影騎士団ラスティ・バルディッシュ
function c26692769.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkAttribute,ATTRIBUTE_DARK),2)
......@@ -41,14 +41,13 @@ function c26692769.setfilter(c)
return c:IsSetCard(0xdb) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsSSetable()
end
function c26692769.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c26692769.tgfilter,tp,LOCATION_DECK,0,1,nil,tp)
and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 end
if chk==0 then return Duel.IsExistingMatchingCard(c26692769.tgfilter,tp,LOCATION_DECK,0,1,nil,tp) end
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,tp,LOCATION_DECK)
end
function c26692769.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,c26692769.tgfilter,tp,LOCATION_DECK,0,1,1,nil,tp)
if #g>0 and Duel.SendtoGrave(g,REASON_EFFECT)>0 and Duel.IsExistingMatchingCard(c26692769.setfilter,tp,LOCATION_DECK,0,1,nil) then
if #g>0 and Duel.SendtoGrave(g,REASON_EFFECT)>0 then
local tc=Duel.SelectMatchingCard(tp,c26692769.setfilter,tp,LOCATION_DECK,0,1,1,nil):GetFirst()
if tc then
Duel.BreakEffect()
......@@ -73,7 +72,7 @@ function c26692769.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c26692769.desop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) then
if tc:IsRelateToEffect(e) then
Duel.Destroy(tc,REASON_EFFECT)
end
end
--Xtra HERO Dread Decimator
--X・HERO ドレッドバスター
function c63813056.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0x8),2)
......@@ -19,7 +19,8 @@ function c63813056.initial_effect(c)
c:RegisterEffect(e2)
end
function c63813056.atktg(e,c)
return (c==e:GetHandler() or (e:GetHandler():GetLinkedGroup():IsContains(c) and c:IsSetCard(0x8) and c:IsFaceup()))
return c==e:GetHandler()
or c:IsFaceup() and c:IsSetCard(0x8) and e:GetHandler():GetLinkedGroup():IsContains(c)
end
function c63813056.atkfilter(c)
return c:IsSetCard(0x8) and c:IsType(TYPE_MONSTER)
......
--Gullveig of the Nordic Ascendant
--極星天グルヴェイグ
function c90207654.initial_effect(c)
c:EnableReviveLimit()
aux.AddLinkProcedure(c,c90207654.matfilter,1,1)
......
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