Commit 205bef57 authored by Tachibana's avatar Tachibana

得得得得得

parent cb2ca6c8
Pipeline #11480 passed with stages
in 32 minutes and 39 seconds
No preview for this file type
......@@ -108,7 +108,9 @@ end
function srre.check_effect_ignite(c) --
return srre.check_effect(c,"ignite")
end
function srre.check_set_sekaikishi(c) --星界骑士
return srre.check_set(c,"sekaikishi")
end
function srre.SPSummoneffect(c,m,des,tt,cate,pro,limit,con,cost,tg,op)
--tograve
local e1=Effect.CreateEffect(c)
......
......@@ -52,7 +52,7 @@ function c12005001.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function c12005001.thfilter1(c)
return c:IsSetCard(0xfbc) and c:IsAbleToHand()
return c:IsSetCard(0x3fbc) and c:IsAbleToHand()
end
function c12005001.thfilter2(c)
return c:IsSetCard(0x1fb3) and c:IsAbleToHand()
......
......@@ -32,7 +32,7 @@ function c12010002.initial_effect(c)
c:RegisterEffect(e2)
end
function c12010002.cfilter1(c,ft,tp)
return c:IsSetCard(0xfbc)
return c:IsSetCard(0x3fbc)
end
function c12010002.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
......
......@@ -60,7 +60,7 @@ function c12010007.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function c12010007.spthfilter(c)
return c:IsSetCard(0xfbc) and c:IsAbleToHand() and c:IsType(TYPE_TRAP+TYPE_SPELL)
return c:IsSetCard(0x3fbc) and c:IsAbleToHand() and c:IsType(TYPE_TRAP+TYPE_SPELL)
end
function c12010007.spop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
......
......@@ -45,7 +45,7 @@ function c12010015.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_ADVANCE)
end
function c12010015.tgfilter(c)
return c:IsSetCard(0xfbc) and c:IsFaceup()
return c:IsSetCard(0x3fbc) and c:IsFaceup()
end
function c12010015.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c12010015.tgfilter,tp,LOCATION_ONFIELD,0,1,nil) end
......
......@@ -137,7 +137,7 @@ function c12010024.thcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c12010024.thcfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil)
end
function c12010024.thfilter(c)
return c:IsSetCard(0xfbc) and c:IsAbleToHand()
return c:IsSetCard(0x3fbc) and c:IsAbleToHand()
end
function c12010024.cost2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToGraveAsCost() end
......
......@@ -62,7 +62,7 @@ function c12010027.synlimit(e,c)
return not c:IsSetCard(0xfba)
end
function c12010027.filter(c)
return c:IsSetCard(0xfbc) and c:IsType(TYPE_CONTINUOUS)
return c:IsSetCard(0x3fbc) and c:IsType(TYPE_CONTINUOUS)
end
function c12010027.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c12010027.filter(chkc) end
......@@ -71,28 +71,28 @@ function c12010027.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local g=Duel.SelectTarget(tp,c12010027.filter,tp,LOCATION_GRAVE,0,1,1,nil)
end
function c12010027.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return false end
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return false end
local tc=Duel.GetFirstTarget()
if tc:IsType(TYPE_MONSTER) then
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetReset(RESET_EVENT+0x1fc0000)
e1:SetValue(TYPE_SPELL+TYPE_CONTINUOUS)
tc:RegisterEffect(e1)
else
if tc:IsRelateToEffect(e) then
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.RaiseEvent(tc,EVENT_CHAIN_SOLVED,tc:GetActivateEffect(),0,tp,tp,Duel.GetCurrentChain())
end
local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return false end
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return false end
local tc=Duel.GetFirstTarget()
if tc:IsType(TYPE_MONSTER) then
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetReset(RESET_EVENT+0x1fc0000)
e1:SetValue(TYPE_SPELL+TYPE_CONTINUOUS)
tc:RegisterEffect(e1)
else
if tc:IsRelateToEffect(e) then
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.RaiseEvent(tc,EVENT_CHAIN_SOLVED,tc:GetActivateEffect(),0,tp,tp,Duel.GetCurrentChain())
end
end
end
function c12010027.filter2(c)
return c:IsFaceup() and c:IsReleasable() and ((c:IsSetCard(0xfbc) and (c:IsType(TYPE_SPELL) or c:IsType(TYPE_TRAP))) or (c:IsType(TYPE_MONSTER) and c:IsSetCard(0xfba)))
return c:IsFaceup() and c:IsReleasable() and ((c:IsSetCard(0x3fbc) and (c:IsType(TYPE_SPELL) or c:IsType(TYPE_TRAP))) or (c:IsType(TYPE_MONSTER) and c:IsSetCard(0xfba)))
end
function c12010027.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_ONFIELD) and chkc:IsControler(tp) and c12010027.filter2(chkc) end
......
......@@ -35,7 +35,7 @@ function c12010041.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION)
end
function c12010041.thfilter(c)
return c:IsSetCard(0xfbc) and c:IsAbleToHand() and (c:IsType(TYPE_SPELL) or c:IsType(TYPE_TRAP))
return c:IsSetCard(0x3fbc) and c:IsAbleToHand() and (c:IsType(TYPE_SPELL) or c:IsType(TYPE_TRAP))
end
function c12010041.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c12010041.thfilter,tp,LOCATION_GRAVE,0,1,nil) end
......
......@@ -77,7 +77,7 @@ function c12010042.condition2(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetAttack()>=4000 and e:GetHandler():GetBattleTarget()
end
function c12010042.thfilter(c)
return c:IsSetCard(0xfbc) and c:IsAbleToHand()
return c:IsSetCard(0x3fbc) and c:IsAbleToHand()
end
function c12010042.target2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c12010042.thfilter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil) end
......
......@@ -33,7 +33,7 @@ function c12010046.chcon(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsStatus(STATUS_BATTLE_DESTROYED) or re:IsActiveType(TYPE_TRAP+TYPE_SPELL) and rp==1-tp
end
function c12010046.filter(c)
return c:IsFaceup() and c:IsSetCard(0xfbc) and c:IsDestructable()
return c:IsFaceup() and c:IsSetCard(0x3fbc) and c:IsDestructable()
end
function c12010046.chcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
......
......@@ -65,7 +65,7 @@ function c12010048.initial_effect(c)
end
c12010048.pendulum_level=8
function c12010048.filter(c)
return c:IsSetCard(0xfbc) and c:IsType(TYPE_CONTINUOUS)
return c:IsSetCard(0x3fbc) and c:IsType(TYPE_CONTINUOUS)
end
function c12010048.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c12010048.filter(chkc) end
......
......@@ -54,7 +54,7 @@ function c12010051.pcop(e,tp,eg,ep,ev,re,r,rp)
end
end
function c12010051.filter2(c)
return c:IsSetCard(0xfbc) and c:IsType(TYPE_CONTINUOUS)
return c:IsSetCard(0x3fbc) and c:IsType(TYPE_CONTINUOUS)
end
function c12010051.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0 and Duel.IsExistingMatchingCard(c12010051.filter2,tp,LOCATION_DECK,0,1,nil) end
......@@ -74,7 +74,7 @@ function c12010051.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO
end
function c12010051.rfilter(c)
return ( c:IsSetCard(0xfbc) or c:IsSetCard(0xfba) ) and c:IsAbleToHand()
return ( c:IsSetCard(0x3fbc) or c:IsSetCard(0xfba) ) and c:IsAbleToHand()
end
function c12010051.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c12010051.rfilter,tp,LOCATION_ONFIELD,0,1,nil) and Duel.IsExistingMatchingCard(Card.IsReleasable,tp,0,LOCATION_ONFIELD,1,nil) end
......
......@@ -84,7 +84,7 @@ function c12010053.tpop(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.RegisterEffect(e1,tp)
end
function c12010053.spcfilter(c)
return c:IsFaceup() and c:IsSetCard(0xfbc) and c:IsAbleToGraveAsCost()
return c:IsFaceup() and c:IsSetCard(0x3fbc) and c:IsAbleToGraveAsCost()
end
function c12010053.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c12010053.spcfilter,tp,LOCATION_ONFIELD,0,1,e:GetHandler()) end
......@@ -105,10 +105,10 @@ function c12010053.spop(e,tp,eg,ep,ev,re,r,rp,chk)
if sg then Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP) end
end
function c12010053.ssfilter(c)
return c:IsFaceup() and c:IsSetCard(0xfbc)
return c:IsFaceup() and c:IsSetCard(0x3fbc)
end
function c12010053.sssfilter(c)
return c:IsSetCard(0xfbc) and c:IsType(TYPE_CONTINUOUS) and c:IsSSetable()
return c:IsSetCard(0x3fbc) and c:IsType(TYPE_CONTINUOUS) and c:IsSSetable()
end
function c12010053.sstg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c12010053.sssfilter,tp,LOCATION_DECK,0,1,nil) and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 end
......
......@@ -283,7 +283,7 @@
!setname 0x3fba LA SY
!setname 0x4fba LA CY
!setname 0xfbb 丘依儿
!setname 0xfbc 静仪式
!setname 0x3fbc 静仪式
!setname 0x1fbd 拉结尔
!setname 0x2fbd 卡莲
!setname 0x4fbd 牙月
......
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