Commit d6597186 authored by Tachibana's avatar Tachibana

eme

parent 7f356929
No preview for this file type
...@@ -32,7 +32,7 @@ function c11115000.initial_effect(c) ...@@ -32,7 +32,7 @@ function c11115000.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c11115000.filter(c) function c11115000.filter(c)
return c:IsSetCard(0x2b5e) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsSetCard(0x1b5e) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end end
function c11115000.target(e,tp,eg,ep,ev,re,r,rp,chk) function c11115000.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c11115000.filter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c11115000.filter,tp,LOCATION_DECK,0,1,nil) end
...@@ -52,7 +52,7 @@ end ...@@ -52,7 +52,7 @@ end
function c11115000.thcon(e,tp,eg,ep,ev,re,r,rp) function c11115000.thcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsLocation(LOCATION_GRAVE) and c:IsPreviousLocation(LOCATION_ONFIELD) and r==REASON_SYNCHRO return c:IsLocation(LOCATION_GRAVE) and c:IsPreviousLocation(LOCATION_ONFIELD) and r==REASON_SYNCHRO
and re:GetHandler():IsSetCard(0xab5e) and re:GetHandler():IsSetCard(0x3b5e)
end end
function c11115000.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function c11115000.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c11115000.cfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c11115000.cfilter,tp,LOCATION_DECK,0,1,nil) end
......
...@@ -18,10 +18,10 @@ function c11115001.initial_effect(c) ...@@ -18,10 +18,10 @@ function c11115001.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c11115001.filter(c) function c11115001.filter(c)
return c:IsFaceup() and c:IsSetCard(0x1b5e) and c:IsType(TYPE_TUNER) return c:IsFaceup() and c:IsSetCard(0x6b5e) and c:IsType(TYPE_TUNER)
end end
function c11115001.cfilter(c) function c11115001.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x2b5e) and not c:IsType(TYPE_SYNCHRO) return c:IsFaceup() and c:IsSetCard(0x1b5e) and not c:IsType(TYPE_SYNCHRO)
end end
function c11115001.spcon(e,c) function c11115001.spcon(e,c)
if c==nil then return true end if c==nil then return true end
......
--黑之御龙骑士 --黑之御龙骑士
function c11115002.initial_effect(c) function c11115002.initial_effect(c)
--synchro summon --synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x1b5e),aux.NonTuner(Card.IsSetCard,0x2b5e),1) aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x6b5e),aux.NonTuner(Card.IsSetCard,0x1b5e),1)
c:EnableReviveLimit() c:EnableReviveLimit()
--search --search
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -32,14 +32,14 @@ function c11115002.thcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -32,14 +32,14 @@ function c11115002.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Release(e:GetHandler(),REASON_COST) Duel.Release(e:GetHandler(),REASON_COST)
end end
function c11115002.thfilter(c) function c11115002.thfilter(c)
return c:IsSetCard(0x1b5e) and c:IsType(TYPE_TUNER) and c:IsAbleToHand() return c:IsSetCard(0x6b5e) and c:IsType(TYPE_TUNER) and c:IsAbleToHand()
end end
function c11115002.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function c11115002.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c11115002.thfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c11115002.thfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end end
function c11115002.sumfilter(c) function c11115002.sumfilter(c)
return c:IsSetCard(0x1b5e) and c:IsType(TYPE_TUNER) and c:IsSummonable(true,nil) return c:IsSetCard(0x6b5e) and c:IsType(TYPE_TUNER) and c:IsSummonable(true,nil)
end end
function c11115002.thop(e,tp,eg,ep,ev,re,r,rp) function c11115002.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
...@@ -60,7 +60,7 @@ function c11115002.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,7 +60,7 @@ function c11115002.thop(e,tp,eg,ep,ev,re,r,rp)
end end
function c11115002.cfilter(c,tp,rp) function c11115002.cfilter(c,tp,rp)
return c:IsPreviousPosition(POS_FACEUP) and c:GetPreviousControler()==tp and bit.band(c:GetPreviousTypeOnField(),TYPE_SYNCHRO)~=0 return c:IsPreviousPosition(POS_FACEUP) and c:GetPreviousControler()==tp and bit.band(c:GetPreviousTypeOnField(),TYPE_SYNCHRO)~=0
and c:IsPreviousSetCard(0xab5e) and (c:IsReason(REASON_BATTLE) or (rp~=tp and c:IsReason(REASON_EFFECT))) and c:IsPreviousSetCard(0x3b5e) and (c:IsReason(REASON_BATTLE) or (rp~=tp and c:IsReason(REASON_EFFECT)))
end end
function c11115002.spcon(e,tp,eg,ep,ev,re,r,rp) function c11115002.spcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c11115002.cfilter,1,nil,tp,rp) and not eg:IsContains(e:GetHandler()) return eg:IsExists(c11115002.cfilter,1,nil,tp,rp) and not eg:IsContains(e:GetHandler())
......
...@@ -40,14 +40,14 @@ function c11115003.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,14 +40,14 @@ function c11115003.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c11115003.extg(e,c) function c11115003.extg(e,c)
return c:IsType(TYPE_TUNER) and c:IsSetCard(0x1b5e) return c:IsType(TYPE_TUNER) and c:IsSetCard(0x6b5e)
end end
function c11115003.spcon(e,tp,eg,ep,ev,re,r,rp) function c11115003.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsReason(REASON_EFFECT) and c:IsPreviousLocation(LOCATION_FZONE) return c:IsReason(REASON_EFFECT) and c:IsPreviousLocation(LOCATION_FZONE)
end end
function c11115003.spfilter(c,e,tp,ft) function c11115003.spfilter(c,e,tp,ft)
return ((c:IsSetCard(0x1b5e) and c:IsType(TYPE_TUNER)) or (c:IsSetCard(0x2b5e) and not c:IsType(TYPE_SYNCHRO))) return ((c:IsSetCard(0x6b5e) and c:IsType(TYPE_TUNER)) or (c:IsSetCard(0x1b5e) and not c:IsType(TYPE_SYNCHRO)))
and (c:IsAbleToHand() or (ft>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false))) and (c:IsAbleToHand() or (ft>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false)))
end end
function c11115003.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c11115003.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
...@@ -21,7 +21,7 @@ function c11115005.tdfilter(c,tc) ...@@ -21,7 +21,7 @@ function c11115005.tdfilter(c,tc)
return c:GetEquipTarget()~=tc and c:IsAbleToDeck() return c:GetEquipTarget()~=tc and c:IsAbleToDeck()
end end
function c11115005.costfilter(c) function c11115005.costfilter(c)
if not (c:IsType(TYPE_SYNCHRO) and c:IsSetCard(0xab5e)) then return false end if not (c:IsType(TYPE_SYNCHRO) and c:IsSetCard(0x3b5e)) then return false end
return Duel.IsExistingTarget(c11115005.tdfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,2,c,c) return Duel.IsExistingTarget(c11115005.tdfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,2,c,c)
end end
function c11115005.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c11115005.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
...@@ -29,16 +29,16 @@ function c11115008.initial_effect(c) ...@@ -29,16 +29,16 @@ function c11115008.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c11115008.lcheck(g,lc) function c11115008.lcheck(g,lc)
return g:IsExists(c11115008.lfilter,1,nil) and g:IsExists(Card.IsSetCard,1,nil,0x2b5e) return g:IsExists(c11115008.lfilter,1,nil) and g:IsExists(Card.IsSetCard,1,nil,0x1b5e)
end end
function c11115008.lfilter(c) function c11115008.lfilter(c)
return c:IsSetCard(0x1b5e) and c:IsType(TYPE_TUNER) return c:IsSetCard(0x6b5e) and c:IsType(TYPE_TUNER)
end end
function c11115008.spcon(e,tp,eg,ep,ev,re,r,rp) function c11115008.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end end
function c11115008.filter(c,e,tp) function c11115008.filter(c,e,tp)
return c:IsSetCard(0x1b5e) and c:IsType(TYPE_TUNER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x6b5e) and c:IsType(TYPE_TUNER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c11115008.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c11115008.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return false end if chkc then return false end
......
...@@ -32,7 +32,7 @@ function c11115009.initial_effect(c) ...@@ -32,7 +32,7 @@ function c11115009.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c11115009.filter(c) function c11115009.filter(c)
return c:IsSetCard(0x2b5e) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsSetCard(0x1b5e) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end end
function c11115009.target(e,tp,eg,ep,ev,re,r,rp,chk) function c11115009.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c11115009.filter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c11115009.filter,tp,LOCATION_DECK,0,1,nil) end
...@@ -49,7 +49,7 @@ end ...@@ -49,7 +49,7 @@ end
function c11115009.thcon(e,tp,eg,ep,ev,re,r,rp) function c11115009.thcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsLocation(LOCATION_GRAVE) and c:IsPreviousLocation(LOCATION_ONFIELD) and r==REASON_SYNCHRO return c:IsLocation(LOCATION_GRAVE) and c:IsPreviousLocation(LOCATION_ONFIELD) and r==REASON_SYNCHRO
and re:GetHandler():IsSetCard(0xab5e) and re:GetHandler():IsSetCard(0x3b5e)
end end
function c11115009.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c11115009.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsAbleToHand() end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsAbleToHand() end
......
...@@ -18,10 +18,10 @@ function c11115010.initial_effect(c) ...@@ -18,10 +18,10 @@ function c11115010.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c11115010.filter(c) function c11115010.filter(c)
return c:IsFaceup() and c:IsSetCard(0x1b5e) and c:IsType(TYPE_TUNER) return c:IsFaceup() and c:IsSetCard(0x6b5e) and c:IsType(TYPE_TUNER)
end end
function c11115010.cfilter(c) function c11115010.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x2b5e) and not c:IsType(TYPE_SYNCHRO) return c:IsFaceup() and c:IsSetCard(0x1b5e) and not c:IsType(TYPE_SYNCHRO)
end end
function c11115010.spcon(e,c) function c11115010.spcon(e,c)
if c==nil then return true end if c==nil then return true end
......
--赤之御龙骑士 --赤之御龙骑士
function c11115011.initial_effect(c) function c11115011.initial_effect(c)
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x1b5e),aux.NonTuner(Card.IsSetCard,0x2b5e),1) aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x6b5e),aux.NonTuner(Card.IsSetCard,0x1b5e),1)
c:EnableReviveLimit() c:EnableReviveLimit()
--negate --negate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -32,7 +32,7 @@ function c11115012.initial_effect(c) ...@@ -32,7 +32,7 @@ function c11115012.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c11115012.filter(c) function c11115012.filter(c)
return c:IsSetCard(0x2b5e) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsSetCard(0x1b5e) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end end
function c11115012.target(e,tp,eg,ep,ev,re,r,rp,chk) function c11115012.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c11115012.filter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c11115012.filter,tp,LOCATION_DECK,0,1,nil) end
...@@ -49,7 +49,7 @@ end ...@@ -49,7 +49,7 @@ end
function c11115012.tgcon(e,tp,eg,ep,ev,re,r,rp) function c11115012.tgcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsLocation(LOCATION_GRAVE) and c:IsPreviousLocation(LOCATION_ONFIELD) and r==REASON_SYNCHRO return c:IsLocation(LOCATION_GRAVE) and c:IsPreviousLocation(LOCATION_ONFIELD) and r==REASON_SYNCHRO
and re:GetHandler():IsSetCard(0xab5e) and re:GetHandler():IsSetCard(0x3b5e)
end end
function c11115012.tgfilter(c) function c11115012.tgfilter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP) return c:IsType(TYPE_SPELL+TYPE_TRAP)
......
...@@ -18,10 +18,10 @@ function c11115013.initial_effect(c) ...@@ -18,10 +18,10 @@ function c11115013.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c11115013.filter(c) function c11115013.filter(c)
return c:IsFaceup() and c:IsSetCard(0x1b5e) and c:IsType(TYPE_TUNER) return c:IsFaceup() and c:IsSetCard(0x6b5e) and c:IsType(TYPE_TUNER)
end end
function c11115013.cfilter(c) function c11115013.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x2b5e) and not c:IsType(TYPE_SYNCHRO) return c:IsFaceup() and c:IsSetCard(0x1b5e) and not c:IsType(TYPE_SYNCHRO)
end end
function c11115013.spcon(e,c) function c11115013.spcon(e,c)
if c==nil then return true end if c==nil then return true end
......
--岚之御龙骑士 --岚之御龙骑士
function c11115014.initial_effect(c) function c11115014.initial_effect(c)
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x1b5e),aux.NonTuner(Card.IsSetCard,0x2b5e),1) aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x6b5e),aux.NonTuner(Card.IsSetCard,0x1b5e),1)
c:EnableReviveLimit() c:EnableReviveLimit()
--negate --negate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -32,7 +32,7 @@ function c11115015.initial_effect(c) ...@@ -32,7 +32,7 @@ function c11115015.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c11115015.filter(c) function c11115015.filter(c)
return c:IsSetCard(0x2b5e) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsSetCard(0x1b5e) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end end
function c11115015.target(e,tp,eg,ep,ev,re,r,rp,chk) function c11115015.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c11115015.filter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c11115015.filter,tp,LOCATION_DECK,0,1,nil) end
...@@ -49,7 +49,7 @@ end ...@@ -49,7 +49,7 @@ end
function c11115015.drcon(e,tp,eg,ep,ev,re,r,rp) function c11115015.drcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsLocation(LOCATION_GRAVE) and c:IsPreviousLocation(LOCATION_ONFIELD) and r==REASON_SYNCHRO return c:IsLocation(LOCATION_GRAVE) and c:IsPreviousLocation(LOCATION_ONFIELD) and r==REASON_SYNCHRO
and re:GetHandler():IsSetCard(0xab5e) and re:GetHandler():IsSetCard(0x3b5e)
end end
function c11115015.drtg(e,tp,eg,ep,ev,re,r,rp,chk) function c11115015.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end
......
...@@ -18,10 +18,10 @@ function c11115016.initial_effect(c) ...@@ -18,10 +18,10 @@ function c11115016.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c11115016.filter(c) function c11115016.filter(c)
return c:IsFaceup() and c:IsSetCard(0x1b5e) and c:IsType(TYPE_TUNER) return c:IsFaceup() and c:IsSetCard(0x6b5e) and c:IsType(TYPE_TUNER)
end end
function c11115016.cfilter(c) function c11115016.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x2b5e) and not c:IsType(TYPE_SYNCHRO) return c:IsFaceup() and c:IsSetCard(0x1b5e) and not c:IsType(TYPE_SYNCHRO)
end end
function c11115016.spcon(e,c) function c11115016.spcon(e,c)
if c==nil then return true end if c==nil then return true end
......
--恶之御龙骑士 --恶之御龙骑士
function c11115017.initial_effect(c) function c11115017.initial_effect(c)
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x1b5e),aux.NonTuner(Card.IsSetCard,0x2b5e),1) aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x6b5e),aux.NonTuner(Card.IsSetCard,0x1b5e),1)
c:EnableReviveLimit() c:EnableReviveLimit()
--search destroy --search destroy
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
--苍之御龙骑士王 --苍之御龙骑士王
function c11115018.initial_effect(c) function c11115018.initial_effect(c)
--synchro summon --synchro summon
aux.AddSynchroMixProcedure(c,aux.Tuner(Card.IsSetCard,0x1b5e),aux.Tuner(Card.IsSetCard,0x1b5e),nil,aux.NonTuner(c11115018.sfilter),1,1) aux.AddSynchroMixProcedure(c,aux.Tuner(Card.IsSetCard,0x6b5e),aux.Tuner(Card.IsSetCard,0x6b5e),nil,aux.NonTuner(c11115018.sfilter),1,1)
c:EnableReviveLimit() c:EnableReviveLimit()
--spsummon --spsummon
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -61,7 +61,7 @@ function c11115018.initial_effect(c) ...@@ -61,7 +61,7 @@ function c11115018.initial_effect(c)
end end
c11115018.material_type=TYPE_SYNCHRO c11115018.material_type=TYPE_SYNCHRO
function c11115018.sfilter(c) function c11115018.sfilter(c)
return c:IsSetCard(0xab5e) and c:IsType(TYPE_SYNCHRO) return c:IsSetCard(0x3b5e) and c:IsType(TYPE_SYNCHRO)
end end
function c11115018.aclimit1(e,tp,eg,ep,ev,re,r,rp) function c11115018.aclimit1(e,tp,eg,ep,ev,re,r,rp)
if ep~=tp or not re:IsActiveType(TYPE_MONSTER) then return end if ep~=tp or not re:IsActiveType(TYPE_MONSTER) then return end
......
...@@ -40,10 +40,10 @@ function c11115019.initial_effect(c) ...@@ -40,10 +40,10 @@ function c11115019.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c11115019.spfilter1(c,tp,sc) function c11115019.spfilter1(c,tp,sc)
return c:IsSetCard(0xab5e) and c:IsType(TYPE_SYNCHRO) and c:IsControler(tp) and Duel.GetLocationCountFromEx(tp,tp,c,sc)>0 return c:IsSetCard(0x3b5e) and c:IsType(TYPE_SYNCHRO) and c:IsControler(tp) and Duel.GetLocationCountFromEx(tp,tp,c,sc)>0
end end
function c11115019.spfilter2(c) function c11115019.spfilter2(c)
return c:IsSetCard(0xab5e) and c:IsType(TYPE_SYNCHRO) and c:IsAbleToRemoveAsCost() return c:IsSetCard(0x3b5e) and c:IsType(TYPE_SYNCHRO) and c:IsAbleToRemoveAsCost()
end end
function c11115019.spcon(e,c) function c11115019.spcon(e,c)
if c==nil then return true end if c==nil then return true end
...@@ -65,7 +65,7 @@ function c11115019.spop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -65,7 +65,7 @@ function c11115019.spop(e,tp,eg,ep,ev,re,r,rp,c)
end end
end end
function c11115019.lvfilter(c) function c11115019.lvfilter(c)
return c:IsSetCard(0x2b5e) and c:IsType(TYPE_MONSTER) and c:IsReleasableByEffect() return c:IsSetCard(0x1b5e) and c:IsType(TYPE_MONSTER) and c:IsReleasableByEffect()
end end
function c11115019.lvtg(e,tp,eg,ep,ev,re,r,rp,chk) function c11115019.lvtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroupEx(tp,c11115019.lvfilter,1,e:GetHandler()) end if chk==0 then return Duel.CheckReleaseGroupEx(tp,c11115019.lvfilter,1,e:GetHandler()) end
......
...@@ -34,13 +34,13 @@ function c11115020.initial_effect(c) ...@@ -34,13 +34,13 @@ function c11115020.initial_effect(c)
end end
c11115020.material_type=TYPE_SYNCHRO c11115020.material_type=TYPE_SYNCHRO
function c11115020.sfilter1(c) function c11115020.sfilter1(c)
return c:IsSetCard(0x1b5e) and c:IsType(TYPE_SYNCHRO) return c:IsSetCard(0x6b5e) and c:IsType(TYPE_SYNCHRO)
end end
function c11115020.sfilter2(c) function c11115020.sfilter2(c)
return c:IsSetCard(0xab5e) and c:IsType(TYPE_SYNCHRO) return c:IsSetCard(0x3b5e) and c:IsType(TYPE_SYNCHRO)
end end
function c11115020.mfilter(c) function c11115020.mfilter(c)
return c:IsType(TYPE_TUNER) and c:IsSetCard(0x1b5e) return c:IsType(TYPE_TUNER) and c:IsSetCard(0x6b5e)
end end
function c11115020.valcheck(e,c) function c11115020.valcheck(e,c)
local g=c:GetMaterial() local g=c:GetMaterial()
......
...@@ -35,25 +35,25 @@ function c11115021.splimit(e,c,sump,sumtype,sumpos,targetp,se) ...@@ -35,25 +35,25 @@ function c11115021.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return not c:IsSetCard(0xb5e) return not c:IsSetCard(0xb5e)
end end
function c11115021.rmfilter1(c,tp) function c11115021.rmfilter1(c,tp)
return c:IsSetCard(0x1b5e) and c:IsType(TYPE_TUNER) and c:IsAbleToRemoveAsCost() return c:IsSetCard(0x6b5e) and c:IsType(TYPE_TUNER) and c:IsAbleToRemoveAsCost()
and Duel.IsExistingMatchingCard(c11115021.rmfilter2,tp,LOCATION_GRAVE,0,1,c) and Duel.IsExistingMatchingCard(c11115021.rmfilter2,tp,LOCATION_GRAVE,0,1,c)
end end
function c11115021.rmfilter2(c) function c11115021.rmfilter2(c)
return c:IsSetCard(0x2b5e) and not c:IsType(TYPE_SYNCHRO) and c:IsAbleToRemoveAsCost() return c:IsSetCard(0x1b5e) and not c:IsType(TYPE_SYNCHRO) and c:IsAbleToRemoveAsCost()
end end
function c11115021.rmfilter3(c,tp) function c11115021.rmfilter3(c,tp)
return c:IsSetCard(0x1b5e) and c:IsType(TYPE_TUNER) and c:IsType(TYPE_SYNCHRO) and c:IsAbleToRemoveAsCost() return c:IsSetCard(0x6b5e) and c:IsType(TYPE_TUNER) and c:IsType(TYPE_SYNCHRO) and c:IsAbleToRemoveAsCost()
and Duel.IsExistingMatchingCard(c11115021.rmfilter4,tp,LOCATION_GRAVE,0,1,c,tp) and Duel.IsExistingMatchingCard(c11115021.rmfilter4,tp,LOCATION_GRAVE,0,1,c,tp)
end end
function c11115021.rmfilter4(c,tp) function c11115021.rmfilter4(c,tp)
return c:IsSetCard(0x1b5e) and c:IsType(TYPE_TUNER) and c:IsAbleToRemoveAsCost() return c:IsSetCard(0x6b5e) and c:IsType(TYPE_TUNER) and c:IsAbleToRemoveAsCost()
and Duel.IsExistingMatchingCard(c11115021.rmfilter5,tp,LOCATION_GRAVE,0,1,nil) and Duel.IsExistingMatchingCard(c11115021.rmfilter5,tp,LOCATION_GRAVE,0,1,nil)
end end
function c11115021.rmfilter5(c) function c11115021.rmfilter5(c)
return c:IsSetCard(0xab5e) and c:IsType(TYPE_SYNCHRO) and c:IsAbleToRemoveAsCost() return c:IsSetCard(0x3b5e) and c:IsType(TYPE_SYNCHRO) and c:IsAbleToRemoveAsCost()
end end
function c11115021.spfilter1(c,e,tp) function c11115021.spfilter1(c,e,tp)
return c:IsSetCard(0xab5e) and c:IsType(TYPE_SYNCHRO) return c:IsSetCard(0x3b5e) and c:IsType(TYPE_SYNCHRO)
and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c11115021.spfilter2(c,e,tp) function c11115021.spfilter2(c,e,tp)
......
...@@ -60,7 +60,7 @@ end ...@@ -60,7 +60,7 @@ end
function rsneov.LPcheckop(e,tp,eg,ep,ev,re,r,rp) function rsneov.LPcheckop(e,tp,eg,ep,ev,re,r,rp)
rsneov.LPTbl[ep]=rsneov.LPTbl[ep]+ev rsneov.LPTbl[ep]=rsneov.LPTbl[ep]+ev
local rc=re:GetHandler() local rc=re:GetHandler()
if rc:IsSetCard(0x44e) then if rc:IsSetCard(0x244e) then
rsneov.LPTbl[ep+2]=rsneov.LPTbl[ep+2]+ev rsneov.LPTbl[ep+2]=rsneov.LPTbl[ep+2]+ev
end end
end end
...@@ -123,7 +123,7 @@ function cm.initial_effect(c) ...@@ -123,7 +123,7 @@ function cm.initial_effect(c)
rsneov.LPChangeFun(c) rsneov.LPChangeFun(c)
end end
function cm.filter(c,e,tp) function cm.filter(c,e,tp)
return c:IsSetCard(0x44e) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x244e) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -16,7 +16,7 @@ function cm.initial_effect(c) ...@@ -16,7 +16,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function cm.rfilter(c) function cm.rfilter(c)
return c:IsReleasableByEffect() and c:GetTextDefense()>0 and c:IsSetCard(0x44e) return c:IsReleasableByEffect() and c:GetTextDefense()>0 and c:IsSetCard(0x244e)
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,cm.rfilter,1,nil) end if chk==0 then return Duel.CheckReleaseGroup(tp,cm.rfilter,1,nil) end
......
...@@ -17,7 +17,7 @@ function cm.initial_effect(c) ...@@ -17,7 +17,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function cm.filter(c,e,tp) function cm.filter(c,e,tp)
return c:IsSetCard(0x44e) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x244e) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -17,7 +17,7 @@ function cm.initial_effect(c) ...@@ -17,7 +17,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function cm.filter(c) function cm.filter(c)
return c:IsSetCard(0x44e) and c:IsAbleToHand() return c:IsSetCard(0x244e) and c:IsAbleToHand()
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) 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 if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_DECK,0,1,nil) end
......
...@@ -51,8 +51,8 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,8 +51,8 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
if phase~=PHASE_DAMAGE or Duel.IsDamageCalculated() then return false end if phase~=PHASE_DAMAGE or Duel.IsDamageCalculated() then return false end
local a=Duel.GetAttacker() local a=Duel.GetAttacker()
local d=Duel.GetAttackTarget() local d=Duel.GetAttackTarget()
return d~=nil and d:IsFaceup() and ((a:GetControler()==tp and a:IsSetCard(0x44e) and a:IsRelateToBattle()) return d~=nil and d:IsFaceup() and ((a:GetControler()==tp and a:IsSetCard(0x244e) and a:IsRelateToBattle())
or (d:GetControler()==tp and d:IsSetCard(0x44e) and d:IsRelateToBattle())) or (d:GetControler()==tp and d:IsSetCard(0x244e) and d:IsRelateToBattle()))
end end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToGraveAsCost() and Duel.CheckLPCost(tp,1000) end if chk==0 then return e:GetHandler():IsAbleToGraveAsCost() and Duel.CheckLPCost(tp,1000) end
......
...@@ -4,7 +4,7 @@ local m=33700730 ...@@ -4,7 +4,7 @@ local m=33700730
local cm=_G["c"..m] local cm=_G["c"..m]
function cm.initial_effect(c) function cm.initial_effect(c)
--synchro summon --synchro summon
aux.AddSynchroProcedure2(c,nil,aux.NonTuner(Card.IsSetCard,0x44e),1) aux.AddSynchroProcedure2(c,aux.FilterBoolFunction(Card.IsSetCard,0x244e),aux.NonTuner(Card.IsSetCard,0x244e),1)
c:EnableReviveLimit() c:EnableReviveLimit()
--indes --indes
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
......
...@@ -4,7 +4,7 @@ local m=33700731 ...@@ -4,7 +4,7 @@ local m=33700731
local cm=_G["c"..m] local cm=_G["c"..m]
function cm.initial_effect(c) function cm.initial_effect(c)
--synchro summon --synchro summon
aux.AddSynchroProcedure2(c,nil,aux.NonTuner(Card.IsSetCard,0x44e),1) aux.AddSynchroProcedure2(c,aux.FilterBoolFunction(Card.IsSetCard,0x244e),aux.NonTuner(Card.IsSetCard,0x244e),1)
c:EnableReviveLimit() c:EnableReviveLimit()
--indes --indes
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
......
...@@ -14,7 +14,7 @@ function cm.initial_effect(c) ...@@ -14,7 +14,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--special summon --special summon
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(47435107,0)) e2:SetDescription(aux.Stringid(m,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_PHASE+PHASE_END) e2:SetCode(EVENT_PHASE+PHASE_END)
...@@ -28,7 +28,7 @@ function cm.initial_effect(c) ...@@ -28,7 +28,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.filter(c,e,tp) function cm.filter(c,e,tp)
return c:IsSetCard(0x44e) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsAttackBelow(rsneov.LPTbl[tp]) return c:IsSetCard(0x244e) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsAttackBelow(rsneov.LPTbl[tp])
end end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
...@@ -57,7 +57,7 @@ function cm.lrcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -57,7 +57,7 @@ function cm.lrcon(e,tp,eg,ep,ev,re,r,rp)
if tp~=ep then return false end if tp~=ep then return false end
if not re or not re:IsHasType(0x7e0) then return false end if not re or not re:IsHasType(0x7e0) then return false end
local rc=re:GetHandler() local rc=re:GetHandler()
return rc:IsSetCard(0x44e) and rc:IsType(TYPE_MONSTER) return rc:IsSetCard(0x244e) and rc:IsType(TYPE_MONSTER)
end end
function cm.lrop(e,tp,eg,ep,ev,re,r,rp) function cm.lrop(e,tp,eg,ep,ev,re,r,rp)
return return
......
...@@ -184,9 +184,9 @@ ...@@ -184,9 +184,9 @@
!setname 0xb5c 战场女武神 !setname 0xb5c 战场女武神
!setname 0xb5d 乌洛波洛斯 !setname 0xb5d 乌洛波洛斯
!setname 0xb5e 御龙 !setname 0xb5e 御龙
!setname 0x1b5e 御龙 !setname 0x1b5e 御龙
!setname 0x2b5e 御龙骑 !setname 0x3b5e 御龙骑士
!setname 0xab5e 御龙骑 !setname 0x6b5e 御龙
#PurpleNightfall 114 0x970-0x97f #PurpleNightfall 114 0x970-0x97f
#【2021年12月31日前禁止投稿】 #【2021年12月31日前禁止投稿】
...@@ -760,7 +760,6 @@ ...@@ -760,7 +760,6 @@
!counter 0x1a80 灵气指示物 !counter 0x1a80 灵气指示物
#Nemoma 1472676207 337 0x440-0x44f #Nemoma 1472676207 337 0x440-0x44f
!setname 0x440 Kagari
!setname 0x3440 Proto-Summoner !setname 0x3440 Proto-Summoner
!setname 0x5440 琪比摩斯 !setname 0x5440 琪比摩斯
!setname 0x6440 Protoform !setname 0x6440 Protoform
...@@ -784,8 +783,8 @@ ...@@ -784,8 +783,8 @@
!setname 0x244c Hololive !setname 0x244c Hololive
!setname 0x344c 虚拟主播 !setname 0x344c 虚拟主播
!setname 0x144d 残星倩影 !setname 0x144d 残星倩影
!setname 0x44e 铁虹
!setname 0x144e 晦空士 !setname 0x144e 晦空士
!setname 0x244e 铁虹
!setname 0x44f 背景音台 !setname 0x44f 背景音台
#named_with_ptsh 破天神狐 #named_with_ptsh 破天神狐
!counter 0x234 花瓣 !counter 0x234 花瓣
...@@ -1080,9 +1079,6 @@ ...@@ -1080,9 +1079,6 @@
!setname 0x5672 神采-艾米莉塔 !setname 0x5672 神采-艾米莉塔
!setname 0x6672 神采-赛尔维 !setname 0x6672 神采-赛尔维
#暗小智 1648243461 681 0x780-0x78f
!setname 0xa780 虚拟歌姬
#D9 1309183173 696 0x690-0x69f #D9 1309183173 696 0x690-0x69f
!setname 0x3690 格斗技 !setname 0x3690 格斗技
!setname 0x3696 扭曲植物 !setname 0x3696 扭曲植物
......
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