Commit 12d57463 authored by TanakaKotoha's avatar TanakaKotoha

Mercury233

parent 725b43f6
No preview for this file type
......@@ -24,7 +24,7 @@ function c22000230.initial_effect(c)
c:RegisterEffect(e2)
end
function c22000230.filter(c,e,tp,m1,m2,ft)
if not c:IsSetCard(0xfff) or bit.band(c:GetType(),0x81)~=0x81
if not c:IsSetCard(0x9ff) or bit.band(c:GetType(),0x81)~=0x81
or not c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_RITUAL,tp,false,true) then return false end
local mg=m1:Filter(Card.IsCanBeRitualMaterial,c,c)
mg:Merge(m2)
......@@ -41,7 +41,7 @@ function c22000230.mfilterf(c,tp,mg,rc)
else return false end
end
function c22000230.mfilter(c)
return c:GetLevel()>0 and c:IsSetCard(0xfff) and c:IsAbleToRemove()
return c:GetLevel()>0 and c:IsSetCard(0x9ff) and c:IsAbleToRemove()
end
function c22000230.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToRemoveAsCost()
......@@ -88,7 +88,7 @@ function c22000230.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function c22000230.filter0(c,e,tp)
return c:IsSetCard(0xfff) and c:IsType(TYPE_RITUAL) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
return c:IsSetCard(0x9ff) and c:IsType(TYPE_RITUAL) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c22000230.target1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c22000230.filter0(chkc,e,tp) end
......
......@@ -32,7 +32,7 @@ function c22000240.indcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(e:GetHandler(),REASON_COST+REASON_DISCARD)
end
function c22000240.filter(c)
return c:IsFaceup() and c:IsSetCard(0xfff)
return c:IsFaceup() and c:IsSetCard(0x9ff)
end
function c22000240.indtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_MZONE) and c22000240.filter(chkc) end
......
......@@ -32,7 +32,7 @@ function c22000250.indcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(e:GetHandler(),REASON_COST+REASON_DISCARD)
end
function c22000250.filter(c)
return c:IsFaceup() and c:IsSetCard(0xfff)
return c:IsFaceup() and c:IsSetCard(0x9ff)
end
function c22000250.indtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_MZONE) and c22000250.filter(chkc) end
......
......@@ -36,7 +36,7 @@ function c22000270.adcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(e:GetHandler(),REASON_COST+REASON_DISCARD)
end
function c22000270.filter(c)
return c:IsFaceup() and c:IsSetCard(0xfff)
return c:IsFaceup() and c:IsSetCard(0x9ff)
end
function c22000270.adtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c22000270.filter(chkc) end
......
......@@ -30,7 +30,7 @@ function c22000280.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c22000280.cfilter,tp,0,LOCATION_MZONE,1,nil)
end
function c22000280.filter(c,e,tp,m,ft)
if not c:IsSetCard(0xfff) or bit.band(c:GetType(),0x81)~=0x81
if not c:IsSetCard(0x9ff) or bit.band(c:GetType(),0x81)~=0x81
or not c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_RITUAL,tp,false,true) then return false end
local mg=m:Filter(Card.IsCanBeRitualMaterial,c,c)
if ft>0 then
......
......@@ -23,7 +23,7 @@ function c22000290.initial_effect(c)
end
function c22000290.rlevel(e,c)
local lv=e:GetHandler():GetLevel()
if c:IsSetCard(0xfff) then
if c:IsSetCard(0x9ff) then
local clv=c:GetLevel()
return lv*65536+clv
else return lv end
......
......@@ -104,16 +104,16 @@ function card.filter(c)
return c:IsType(TYPE_MONSTER)
end
function card.tfilter(c)
return c:IsFaceup() and c:IsSetCard(0x721)
return c:IsFaceup() and c:IsSetCard(0x9ec)
end
function card.dfilter(c)
return c:IsFaceup() and c:IsSetCard(0x721)
return c:IsFaceup() and c:IsSetCard(0x9ec)
end
function card.cfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsRace(RACE_DRAGON) and not c:IsCode(id) and c:IsReleasable()
end
function card.checkfilter(c)
return c:IsFaceup() and c:IsSetCard(0x721)
return c:IsFaceup() and c:IsSetCard(0x9ec)
end
function card.fafilter(c)
return c:IsFaceup()
......
......@@ -104,14 +104,14 @@ function card.filter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP)
end
function card.tfilter(c)
return c:IsFaceup() and c:IsSetCard(0x721)
return c:IsFaceup() and c:IsSetCard(0x9ec)
end
function card.dfilter(c)
return c:IsFaceup() and c:IsSetCard(0x721)
return c:IsFaceup() and c:IsSetCard(0x9ec)
end
function card.cfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsRace(RACE_DRAGON) and not c:IsCode(id) and c:IsReleasable()
end
function card.checkfilter(c)
return c:IsFaceup() and c:IsSetCard(0x721)
return c:IsFaceup() and c:IsSetCard(0x9ec)
end
\ No newline at end of file
......@@ -103,14 +103,14 @@ function card.filter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP)
end
function card.tfilter(c)
return c:IsFaceup() and c:IsSetCard(0x721)
return c:IsFaceup() and c:IsSetCard(0x9ec)
end
function card.dfilter(c)
return c:IsSetCard(0x721) and not c:IsCode(id) and c:IsAbleToHand()
return c:IsSetCard(0x9ec) and not c:IsCode(id) and c:IsAbleToHand()
end
function card.cfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsRace(RACE_DRAGON) and not c:IsCode(id) and c:IsReleasable()
end
function card.checkfilter(c)
return c:IsFaceup() and c:IsSetCard(0x721)
return c:IsFaceup() and c:IsSetCard(0x9ec)
end
\ No newline at end of file
......@@ -16,7 +16,7 @@ function card.initial_effect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_UPDATE_ATTACK)
e2:SetRange(LOCATION_FZONE)
e2:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x721))
e2:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x9ec))
e2:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e2:SetValue(300)
c:RegisterEffect(e2)
......@@ -40,7 +40,7 @@ function card.initial_effect(c)
end
function card.thfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x721) and c:IsAbleToHand()
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x9ec) and c:IsAbleToHand()
end
function card.activate(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end
......@@ -53,7 +53,7 @@ function card.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function card.thfilter1(c,tp)
return c:IsSetCard(0x721) and c:IsType(TYPE_MONSTER) and c:IsPreviousLocation(LOCATION_MZONE+LOCATION_HAND) and c:GetPreviousControler()==tp
return c:IsSetCard(0x9ec) and c:IsType(TYPE_MONSTER) and c:IsPreviousLocation(LOCATION_MZONE+LOCATION_HAND) and c:GetPreviousControler()==tp
end
function card.thcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(card.thfilter1,1,nil,tp)
......
......@@ -37,7 +37,7 @@ function card.initial_effect(c)
c:RegisterEffect(e3)
end
function card.tdfilter(c)
return c:IsSetCard(0x721) and c:IsAbleToDeck()
return c:IsSetCard(0x9ec) and c:IsAbleToDeck()
end
function card.drtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and card.tdfilter(chkc) end
......@@ -63,7 +63,7 @@ function card.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(e:GetHandler(),REASON_COST)
end
function card.thfilter(c)
return c:IsSetCard(0x721) and c:IsAbleToHand()
return c:IsSetCard(0x9ec) and c:IsAbleToHand()
end
function card.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
local hg=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
......
......@@ -36,7 +36,7 @@ end
--Indestructable Set Target -- Normal Summoned and Is Dragonlord
function card.indtg(e,c)
return c:IsSummonType(SUMMON_TYPE_NORMAL) and c:IsSetCard(0x721)
return c:IsSummonType(SUMMON_TYPE_NORMAL) and c:IsSetCard(0x9ec)
end
--Indestructable Set Operation -- Prevent 1 destruction
function card.indct(e,re,r,rp)
......@@ -69,9 +69,9 @@ end
--Filters
--Draw effect discard cost - Can it be sent and is it Dragonlord -- LEGACY
function card.cfilter(c)
return c:IsSetCard(0x721) and c:IsAbleToGraveAsCost()
return c:IsSetCard(0x9ec) and c:IsAbleToGraveAsCost()
end
--Sp effect, Is it a Dragonlord Monster that can be Special Summoned
function card.filter(c,e,tp)
return c:IsSetCard(0x721) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
return c:IsSetCard(0x9ec) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
\ No newline at end of file
......@@ -103,14 +103,14 @@ function card.filter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP)
end
function card.tfilter(c)
return c:IsFaceup() and c:IsSetCard(0x721)
return c:IsFaceup() and c:IsSetCard(0x9ec)
end
function card.dfilter(c)
return c:IsSetCard(0x721) and not c:IsCode(id) and c:IsAbleToHand()
return c:IsSetCard(0x9ec) and not c:IsCode(id) and c:IsAbleToHand()
end
function card.cfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsRace(RACE_DRAGON) and not c:IsCode(id) and c:IsReleasable()
end
function card.checkfilter(c)
return c:IsFaceup() and c:IsSetCard(0x721)
return c:IsFaceup() and c:IsSetCard(0x9ec)
end
\ No newline at end of file
......@@ -48,7 +48,7 @@ end
--Filters
--Is it a face-up Dragonlord Monster?
function card.isdragonlordfilter(c,e,tp)
return c:IsFaceup() and c:IsSetCard(0x721) and c:IsType(TYPE_MONSTER) and c:IsControler(tp)
return c:IsFaceup() and c:IsSetCard(0x9ec) and c:IsType(TYPE_MONSTER) and c:IsControler(tp)
end
--Not really sure to be honest
function card.efilter(e,re)
......@@ -56,5 +56,5 @@ function card.efilter(e,re)
end
--Is it a Dracolord Card?
function card.filter(c,e,tp)
return c:IsSetCard(0x721) and not c:IsCode(id)
return c:IsSetCard(0x9ec) and not c:IsCode(id)
end
\ No newline at end of file
......@@ -88,10 +88,10 @@ end
----------------------------------------------------
--Is its a Dracolord Monster...and...something else im not sure of, you can probably delete it? w/e basically saying, is a "Dragonlord" monster you control and something about a sequence, no clue here.
function card.hspfilter(c,ft,tp)
return c:IsSetCard(0x721)
return c:IsSetCard(0x9ec)
and (ft>0 or (c:IsControler(tp) and c:GetSequence()<5)) and (c:IsControler(tp) or c:IsFaceup())
end
-- Checking to see who controlled the sent "Dragonlord" Monster, where it was sent from and whether or not it was a "Dragonlord" Monster at all.
function card.spcfilter(c,tp)
return c:GetPreviousControler()==tp and c:IsSetCard(0x721) and c:IsType(TYPE_MONSTER)
return c:GetPreviousControler()==tp and c:IsSetCard(0x9ec) and c:IsType(TYPE_MONSTER)
end
......@@ -37,7 +37,7 @@ function cm.initial_effect(c)
end
-- SpecialSummon from hand
function cm.cfilter(c)
return c:IsFacedown() or not c:IsSetCard(0xffd)
return c:IsFacedown() or not c:IsSetCard(0x9ed)
end
function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_MZONE,0,1,nil)
......@@ -55,7 +55,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
function cm.matfilter(c)
return c:IsFaceup() and c:IsSetCard(0xffd) and c:IsType(TYPE_XYZ)
return c:IsFaceup() and c:IsSetCard(0x9ed) and c:IsType(TYPE_XYZ)
end
function cm.mattg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and cm.matfilter(chkc) end
......@@ -72,7 +72,7 @@ function cm.matop(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.tgfilter(c)
return c:IsSetCard(0xffd) and c:IsAbleToGrave()
return c:IsSetCard(0x9ed) and c:IsAbleToGrave()
end
function cm.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.tgfilter,tp,LOCATION_DECK,0,1,nil) end
......
......@@ -37,7 +37,7 @@ function cm.initial_effect(c)
end
-- SpecialSummon from hand
function cm.cfilter(c)
return c:IsFacedown() or not c:IsSetCard(0xffd)
return c:IsFacedown() or not c:IsSetCard(0x9ed)
end
function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_MZONE,0,1,nil)
......@@ -55,7 +55,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
function cm.matfilter(c)
return c:IsFaceup() and c:IsSetCard(0xffd) and c:IsType(TYPE_XYZ)
return c:IsFaceup() and c:IsSetCard(0x9ed) and c:IsType(TYPE_XYZ)
end
function cm.mattg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and cm.matfilter(chkc) end
......@@ -77,7 +77,7 @@ function cm.tgcon(e,tp,eg,ep,ev,re,r,rp)
return c:IsPreviousLocation(LOCATION_OVERLAY)
end
function cm.filter(c,e,tp)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsSetCard(0xffd)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsSetCard(0x9ed)
end
function cm.tgtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and cm.filter(chkc,e,tp) end
......
......@@ -36,7 +36,7 @@ function cm.initial_effect(c)
end
-- SpecialSummon from hand
function cm.cfilter(c)
return c:IsFacedown() or not c:IsSetCard(0xffd)
return c:IsFacedown() or not c:IsSetCard(0x9ed)
end
function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_MZONE,0,1,nil)
......@@ -54,7 +54,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
function cm.matfilter(c)
return c:IsFaceup() and c:IsSetCard(0xffd) and c:IsType(TYPE_XYZ)
return c:IsFaceup() and c:IsSetCard(0x9ed) and c:IsType(TYPE_XYZ)
end
function cm.mattg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and cm.matfilter(chkc) end
......
......@@ -39,7 +39,7 @@ function cm.initial_effect(c)
end
-- SpecialSummon from hand
function cm.cfilter(c)
return c:IsFacedown() or not c:IsSetCard(0xffd)
return c:IsFacedown() or not c:IsSetCard(0x9ed)
end
function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_MZONE,0,1,nil)
......@@ -57,7 +57,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
function cm.matfilter(c)
return c:IsFaceup() and c:IsSetCard(0xffd) and c:IsType(TYPE_XYZ)
return c:IsFaceup() and c:IsSetCard(0x9ed) and c:IsType(TYPE_XYZ)
end
function cm.mattg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and cm.matfilter(chkc) end
......@@ -79,7 +79,7 @@ function cm.tgcon(e,tp,eg,ep,ev,re,r,rp)
return c:IsPreviousLocation(LOCATION_OVERLAY)
end
function cm.filter1(c)
return c:IsSetCard(0xffd) and c:IsAbleToDeck()
return c:IsSetCard(0x9ed) and c:IsAbleToDeck()
end
function cm.target1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and cm.filter1(chkc) end
......
......@@ -39,7 +39,7 @@ function cm.initial_effect(c)
end
-- SpecialSummon from hand
function cm.cfilter(c)
return c:IsFacedown() or not c:IsSetCard(0xffd)
return c:IsFacedown() or not c:IsSetCard(0x9ed)
end
function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_MZONE,0,1,nil)
......@@ -57,7 +57,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
function cm.matfilter(c)
return c:IsFaceup() and c:IsSetCard(0xffd) and c:IsType(TYPE_XYZ)
return c:IsFaceup() and c:IsSetCard(0x9ed) and c:IsType(TYPE_XYZ)
end
function cm.mattg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and cm.matfilter(chkc) end
......@@ -101,5 +101,5 @@ function cm.filter1(c)
return c:IsFaceup() and c:IsType(TYPE_XYZ)
end
function cm.filter2(c)
return c:IsSetCard(0xffd) and not c:IsCode(m)
return c:IsSetCard(0x9ed) and not c:IsCode(m)
end
\ No newline at end of file
......@@ -26,7 +26,7 @@ function cm.initial_effect(c)
end
function cm.cfilter(c)
return c:IsFacedown() or not c:IsSetCard(0xffd)
return c:IsFacedown() or not c:IsSetCard(0x9ed)
end
function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_MZONE,0,1,nil)
......
......@@ -17,13 +17,13 @@ function c88880006.initial_effect(c)
end
function c88880006.mfilter(c)
return c:IsSetCard(0xffd) and not c:IsCode(88880006)
return c:IsSetCard(0x9ed) and not c:IsCode(88880006)
end
function c88880006.cfilter(c)
return c:IsSetCard(0xffd)
return c:IsSetCard(0x9ed)
end
function c88880006.ovfilter(c)
return c:IsFaceup() and c:IsSetCard(0xffd) and not c:IsCode(88880006)
return c:IsFaceup() and c:IsSetCard(0x9ed) and not c:IsCode(88880006)
end
function c88880006.xyzop(e,tp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c88880006.cfilter,tp,LOCATION_HAND,0,1,nil)
......@@ -39,7 +39,7 @@ function c88880006.tgcon(e,tp,eg,ep,ev,re,r,rp)
return c:IsPreviousLocation(LOCATION_OVERLAY)
end
function c88880006.filter(c)
return c:IsSetCard(0xffd) and c:IsAbleToHand()
return c:IsSetCard(0x9ed) and c:IsAbleToHand()
end
function c88880006.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.IsExistingMatchingCard(c88880006.filter,tp,LOCATION_GRAVE,0,1,nil) end
......
......@@ -37,7 +37,7 @@ function cm.initial_effect(c)
end
-- SpecialSummon from hand
function cm.cfilter(c)
return c:IsFacedown() or not c:IsSetCard(0xffd)
return c:IsFacedown() or not c:IsSetCard(0x9ed)
end
function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_MZONE,0,1,nil)
......@@ -55,7 +55,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
function cm.matfilter(c)
return c:IsFaceup() and c:IsSetCard(0xffd) and c:IsType(TYPE_XYZ)
return c:IsFaceup() and c:IsSetCard(0x9ed) and c:IsType(TYPE_XYZ)
end
function cm.mattg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and cm.matfilter(chkc) end
......@@ -77,7 +77,7 @@ function cm.tgcon(e,tp,eg,ep,ev,re,r,rp)
return c:IsPreviousLocation(LOCATION_OVERLAY)
end
function cm.filter(c,e,tp)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsSetCard(0xffd) and not c:IsCode(88880007)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsSetCard(0x9ed) and not c:IsCode(88880007)
end
function cm.tgtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_DECK) and cm.filter(chkc,e,tp) end
......
......@@ -30,7 +30,7 @@ function c88880009.atkval(e,c)
end
--filters
function c88880009.mfilter(c)
return c:IsSetCard(0xffd)
return c:IsSetCard(0x9ed)
end
function c88880009.ovfilter(c)
return c:IsFaceup()
......
......@@ -43,7 +43,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e4)
end
function cm.mfilter(c)
return c:IsSetCard(0xffd)
return c:IsSetCard(0x9ed)
end
function cm.filter(c,sp)
return c:GetSummonPlayer()==sp
......
......@@ -42,10 +42,10 @@ function cm.matop(e,tp,eg,ep,ev,re,r,rp)
Duel.Overlay(tc,g)
end
function cm.filter3(c)
return c:IsSetCard(0xffd) and c:IsType(TYPE_MONSTER)
return c:IsSetCard(0x9ed) and c:IsType(TYPE_MONSTER)
end
function cm.repfilter(c,tp)
return c:IsFaceup() and c:IsSetCard(0xffd)
return c:IsFaceup() and c:IsSetCard(0x9ed)
and c:IsControler(tp) and c:IsReason(REASON_EFFECT) and not c:IsReason(REASON_REPLACE)
end
function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -34,7 +34,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function cm.filter(c)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0xffd)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x9ed)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......@@ -66,7 +66,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.cfilter(c)
return c:IsSetCard(0xffd) and c:IsAbleToRemoveAsCost()
return c:IsSetCard(0x9ed) and c:IsAbleToRemoveAsCost()
end
function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_GRAVE,0,1,e:GetHandler())
......
......@@ -17,7 +17,7 @@ function cm.initial_effect(c)
end
function c88880210.mfilter(c)
return c:IsSetCard(0xffd)
return c:IsSetCard(0x9ed)
end
function c88880210.ovfilter(c)
return c:IsFaceup()
......@@ -35,7 +35,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.PayLPCost(tp,1000)
end
function cm.filter(c)
return c:IsSetCard(0xffd) and c:IsAbleToHand() and c:IsType(TYPE_SPELL+TYPE_TRAP)
return c:IsSetCard(0x9ed) and c:IsAbleToHand() and c:IsType(TYPE_SPELL+TYPE_TRAP)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_DECK,0,1,nil) end
......
......@@ -42,7 +42,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e5)
end
function cm.mfilter(c)
return c:IsSetCard(0xffd)
return c:IsSetCard(0x9ed)
end
function cm.atkval(e,c)
return c:GetOverlayCount()*500
......
......@@ -3,7 +3,7 @@ local m=88880213
local cm=_G["c"..m]
function cm.initial_effect(c)
--Link summon
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0xffd),2,2)
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0x9ed),2,2)
c:EnableReviveLimit()
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_FIELD)
......@@ -51,7 +51,7 @@ function cm.linkop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.SendtoGrave(g1,REASON_MATERIAL+REASON_LINK)
end
function cm.thcfilter(c)
return c:IsSetCard(0xffd) and c:IsAbleToRemoveAsCost()
return c:IsSetCard(0x9ed) and c:IsAbleToRemoveAsCost()
end
function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.thcfilter,tp,LOCATION_GRAVE,0,1,nil) end
......@@ -60,7 +60,7 @@ function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Remove(g,POS_FACEUP,REASON_COST)
end
function cm.thfilter(c)
return c:IsSetCard(0xffd) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
return c:IsSetCard(0x9ed) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK,0,1,nil) end
......@@ -81,7 +81,7 @@ function cm.bthcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD)
end
function cm.filter2(c)
return c:IsSetCard(0xffd) and c:IsAbleToHand()
return c:IsSetCard(0x9ed) and c:IsAbleToHand()
end
function cm.bthtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter2,tp,LOCATION_REMOVED,0,1,nil) end
......
......@@ -24,7 +24,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
function c88880223.thfilter(c)
return c:IsSetCard(0xffd) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
return c:IsSetCard(0x9ed) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end
function c88880223.activate(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end
......@@ -37,7 +37,7 @@ function c88880223.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function c88880223.thfilter2(c,tp)
return c:IsSetCard(0xffd) and c:IsType(TYPE_MONSTER) and c:IsPreviousLocation(LOCATION_OVERLAY)
return c:IsSetCard(0x9ed) and c:IsType(TYPE_MONSTER) and c:IsPreviousLocation(LOCATION_OVERLAY)
end
function c88880223.thcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c88880223.thfilter2,1,nil,tp)
......
......@@ -12,7 +12,7 @@ function cm.initial_effect(c)
e2:SetCode(EFFECT_UPDATE_ATTACK)
e2:SetRange(LOCATION_FZONE)
e2:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e2:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0xffd))
e2:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x9ed))
e2:SetValue(200)
c:RegisterEffect(e2)
local e4=Effect.CreateEffect(c)
......@@ -38,7 +38,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e6)
end
function cm.thfilter1(c)
return c:IsSetCard(0xffd) and not c:IsType(TYPE_MONSTER+TYPE_FIELD) and c:IsAbleToHand()
return c:IsSetCard(0x9ed) and not c:IsType(TYPE_MONSTER+TYPE_FIELD) and c:IsAbleToHand()
end
function cm.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.IsExistingMatchingCard(cm.thfilter1,tp,LOCATION_DECK,0,1,nil) end
......@@ -56,7 +56,7 @@ function cm.filter(c)
return c:IsFaceup() and c:IsType(TYPE_XYZ)
end
function cm.filter3(c)
return c:IsSetCard(0xffd) and c:IsType(TYPE_MONSTER)
return c:IsSetCard(0x9ed) and c:IsType(TYPE_MONSTER)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and cm.filter(chkc) end
......
......@@ -40,7 +40,7 @@ function cm.gycon(e)
return Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_MZONE,0,1,nil)
end
function cm.cfilter(c)
return c:IsSetCard(0xffd)
return c:IsSetCard(0x9ed)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE)>0 end
......
#222DIY
#备注
#禁用0xff0-0xfff区间以保证Pro2上能正常运作
#芙兰 657556329 7
#is_named_with_cyberaqua 电子水蓝
#is_named_with_PETS P.E.T.S.
......@@ -322,8 +325,8 @@
!setname 0x5495 玲珑术
!setname 0x494 灵子殖装
#烩焗 2510495719 220 0xfff
!setname 0xfff 从者 △
#烩焗 2510495719 220 0x9f0-0x9ff
!setname 0x9ff 从者
#兔锅 1874883039 222 0x???-0x???
#named_with_Valhalla 瓦尔哈拉
......@@ -717,9 +720,9 @@
#葉月 ?????????? 876 0x???-0x???
#Slient Knight 888 0xff0-0xfff
!setname 0xffc 龙将
!setname 0xffd 迅刃机
#Slient Knight 888 0x9e0-0x9ef
!setname 0x9ec 龙将
!setname 0x9ed 迅刃机
#小鸟 ?????????? 889 0x960-0x96f
!setname 0x960 折幸
......
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