Commit be3f8823 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 240073a3
...@@ -65,5 +65,5 @@ function cm.thfilter2(c) ...@@ -65,5 +65,5 @@ function cm.thfilter2(c)
return c:IsCode(code) and c:IsAbleToHand() return c:IsCode(code) and c:IsAbleToHand()
end end
function cm.thfilter3(c,tp) function cm.thfilter3(c,tp)
return c:IsCanAddCounter(0x2cc,1) and c:IsAbleToHand() return c:IsCanAddCounter(0xcc2,1) and c:IsAbleToHand()
end end
\ No newline at end of file
...@@ -4,7 +4,7 @@ local m,cm=rk.set(16172005) ...@@ -4,7 +4,7 @@ local m,cm=rk.set(16172005)
cm.code=16172004 cm.code=16172004
cm.side_code=16172005 cm.side_code=16172005
function cm.initial_effect(c) function cm.initial_effect(c)
c:EnableCounterPermit(0x2cc,LOCATION_FZONE) c:EnableCounterPermit(0xcc2,LOCATION_FZONE)
local e0=Effect.CreateEffect(c) local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
...@@ -93,17 +93,17 @@ function cm.check(c) ...@@ -93,17 +93,17 @@ function cm.check(c)
end end
function cm.op_do(e,tp,eg,ep,ev,re,r,rp) function cm.op_do(e,tp,eg,ep,ev,re,r,rp)
if eg:IsExists(cm.check,1,nil) then if eg:IsExists(cm.check,1,nil) then
e:GetHandler():AddCounter(0x2cc,1) e:GetHandler():AddCounter(0xcc2,1)
end end
end end
function cm.counterop(e,tp,eg,ep,ev,re,r,rp) function cm.counterop(e,tp,eg,ep,ev,re,r,rp)
if aux.IsCodeListed(re:GetHandler(),m-1) and e:GetHandler():GetFlagEffect(1)>0 then if aux.IsCodeListed(re:GetHandler(),m-1) and e:GetHandler():GetFlagEffect(1)>0 then
e:GetHandler():AddCounter(0x2cc,1) e:GetHandler():AddCounter(0xcc2,1)
end end
end end
function cm.costct(e,tp,eg,ep,ev,re,r,rp,chk) function cm.costct(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsCanRemoveCounter(tp,LOCATION_ONFIELD,LOCATION_ONFIELD,0x2cc,8,REASON_COST) end if chk==0 then return Duel.IsCanRemoveCounter(tp,LOCATION_ONFIELD,LOCATION_ONFIELD,0xcc2,8,REASON_COST) end
Duel.RemoveCounter(tp,LOCATION_ONFIELD,LOCATION_ONFIELD,0x2cc,8,REASON_COST) Duel.RemoveCounter(tp,LOCATION_ONFIELD,LOCATION_ONFIELD,0xcc2,8,REASON_COST)
end end
function cm.targetct(e,tp,eg,ep,ev,re,r,rp,chk) function cm.targetct(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,true,true) end if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,true,true) end
......
...@@ -42,7 +42,7 @@ function cm.initial_effect(c) ...@@ -42,7 +42,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function cm.check(c) function cm.check(c)
return c:IsFaceup() and c:IsCanAddCounter(0x2cc,1) return c:IsFaceup() and c:IsCanAddCounter(0xcc2,1)
end end
function cm.cttg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cttg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.check,tp,LOCATION_ONFIELD,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.check,tp,LOCATION_ONFIELD,0,1,nil) end
...@@ -52,7 +52,7 @@ function cm.ctop(e,tp) ...@@ -52,7 +52,7 @@ function cm.ctop(e,tp)
local sg=Duel.SelectMatchingCard(tp,cm.check,tp,LOCATION_ONFIELD,0,1,1,nil) local sg=Duel.SelectMatchingCard(tp,cm.check,tp,LOCATION_ONFIELD,0,1,1,nil)
if sg:GetCount()>0 then if sg:GetCount()>0 then
local tc=sg:GetFirst() local tc=sg:GetFirst()
tc:AddCounter(0x2cc,1) tc:AddCounter(0xcc2,1)
end end
end end
function cm.quickcheck(c) function cm.quickcheck(c)
......
...@@ -61,7 +61,7 @@ function c16172008.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -61,7 +61,7 @@ function c16172008.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
end end
function c16172008.ctfilter(c,ct) function c16172008.ctfilter(c,ct)
return c:IsFaceup() and c:IsCanAddCounter(0x2cc,ct) return c:IsFaceup() and c:IsCanAddCounter(0xcc2,ct)
end end
function c16172008.condition(e,tp,eg,ep,ev,re,r,rp) function c16172008.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentChain()==0 and ep==1-tp return Duel.GetCurrentChain()==0 and ep==1-tp
...@@ -70,7 +70,7 @@ function c16172008.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -70,7 +70,7 @@ function c16172008.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c16172008.ctfilter,tp,LOCATION_ONFIELD,0,1,nil,eg:GetCount()) end if chk==0 then return Duel.IsExistingMatchingCard(c16172008.ctfilter,tp,LOCATION_ONFIELD,0,1,nil,eg:GetCount()) end
Duel.SetOperationInfo(0,CATEGORY_DISABLE_SUMMON,eg,eg:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_DISABLE_SUMMON,eg,eg:GetCount(),0,0)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,eg,eg:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_DESTROY,eg,eg:GetCount(),0,0)
Duel.SetOperationInfo(0,CATEGORY_COUNTER,nil,eg:GetCount(),0,0x2cc) Duel.SetOperationInfo(0,CATEGORY_COUNTER,nil,eg:GetCount(),0,0xcc2)
end end
function c16172008.activate(e,tp,eg,ep,ev,re,r,rp) function c16172008.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.NegateSummon(eg) Duel.NegateSummon(eg)
...@@ -80,7 +80,7 @@ function c16172008.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -80,7 +80,7 @@ function c16172008.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_COUNTER) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_COUNTER)
local sg=Duel.SelectMatchingCard(tp,c16172008.ctfilter,tp,LOCATION_ONFIELD,0,1,1,nil,dc) local sg=Duel.SelectMatchingCard(tp,c16172008.ctfilter,tp,LOCATION_ONFIELD,0,1,1,nil,dc)
local tc=sg:GetFirst() local tc=sg:GetFirst()
tc:AddCounter(0x2cc,dc) tc:AddCounter(0xcc2,dc)
end end
end end
......
...@@ -53,19 +53,19 @@ function cm.immunefilter(e,te) ...@@ -53,19 +53,19 @@ function cm.immunefilter(e,te)
return te:IsActiveType(TYPE_MONSTER) and not te:GetHandler():IsRace(RACE_FIEND) return te:IsActiveType(TYPE_MONSTER) and not te:GetHandler():IsRace(RACE_FIEND)
end end
function cm.ctcheck(c) function cm.ctcheck(c)
return c:IsFaceup() and c:IsCanAddCounter(0x2cc,2) return c:IsFaceup() and c:IsCanAddCounter(0xcc2,2)
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return cm.ctcheck(chkc) and chkc:IsLocation(LOCATION_ONFIELD) and chkc:IsControler(tp) end if chkc then return cm.ctcheck(chkc) and chkc:IsLocation(LOCATION_ONFIELD) and chkc:IsControler(tp) end
if chk==0 then return Duel.IsExistingTarget(cm.ctcheck,tp,LOCATION_ONFIELD,0,1,nil) end if chk==0 then return Duel.IsExistingTarget(cm.ctcheck,tp,LOCATION_ONFIELD,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_COUNTER) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_COUNTER)
local g=Duel.SelectTarget(tp,cm.ctcheck,tp,LOCATION_ONFIELD,0,1,1,nil) local g=Duel.SelectTarget(tp,cm.ctcheck,tp,LOCATION_ONFIELD,0,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_COUNTER,nil,2,tp,0x2cc) Duel.SetOperationInfo(0,CATEGORY_COUNTER,nil,2,tp,0xcc2)
end end
function cm.operation(e,tp) function cm.operation(e,tp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) then
tc:AddCounter(0x2cc,2) tc:AddCounter(0xcc2,2)
end end
end end
function cm.cfilter(c,tp) function cm.cfilter(c,tp)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
local m=16172015 local m=16172015
local cm=_G["c"..m] local cm=_G["c"..m]
function cm.initial_effect(c) function cm.initial_effect(c)
c:EnableCounterPermit(0x2cc,LOCATION_MZONE) c:EnableCounterPermit(0xcc2,LOCATION_MZONE)
-- --
c:SetSPSummonOnce(m) c:SetSPSummonOnce(m)
--special summon --special summon
...@@ -54,8 +54,8 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -54,8 +54,8 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
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 Duel.IsCanRemoveCounter(tp,LOCATION_ONFIELD,LOCATION_ONFIELD,0x2cc,2,REASON_COST) end if chk==0 then return Duel.IsCanRemoveCounter(tp,LOCATION_ONFIELD,LOCATION_ONFIELD,0xcc2,2,REASON_COST) end
Duel.RemoveCounter(tp,LOCATION_ONFIELD,LOCATION_ONFIELD,0x2cc,2,REASON_COST) Duel.RemoveCounter(tp,LOCATION_ONFIELD,LOCATION_ONFIELD,0xcc2,2,REASON_COST)
end end
function cm.filter(c) function cm.filter(c)
return aux.IsCodeListed(c,16172015) and c:IsAbleToHand() return aux.IsCodeListed(c,16172015) and c:IsAbleToHand()
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
local m=16172017 local m=16172017
local cm=_G["c"..m] local cm=_G["c"..m]
function cm.initial_effect(c) function cm.initial_effect(c)
c:EnableCounterPermit(0x2cc) c:EnableCounterPermit(0xcc2)
aux.AddCodeList(c,16172004,16172015) aux.AddCodeList(c,16172004,16172015)
--Activate --Activate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -4,7 +4,7 @@ local m=16172018 ...@@ -4,7 +4,7 @@ local m=16172018
local cm=_G["c"..m] local cm=_G["c"..m]
function cm.initial_effect(c) function cm.initial_effect(c)
aux.AddCodeList(c,16172015) aux.AddCodeList(c,16172015)
c:EnableCounterPermit(0x2cc) c:EnableCounterPermit(0xcc2)
--xyz summon --xyz summon
c:EnableReviveLimit() c:EnableReviveLimit()
aux.AddXyzProcedureLevelFree(c,cm.mfilter,nil,2,2) aux.AddXyzProcedureLevelFree(c,cm.mfilter,nil,2,2)
......
...@@ -200,6 +200,7 @@ ...@@ -200,6 +200,7 @@
!setname 0x3310 创造物 !setname 0x3310 创造物
!setname 0x5310 造物少女 !setname 0x5310 造物少女
!counter 0x310 屠戮指示物 !counter 0x310 屠戮指示物
!counter 0x31a 加速指示物
#一般怠惰安乐人 904675726 119 0x400-0x40f #一般怠惰安乐人 904675726 119 0x400-0x40f
!setname 0x401 四天王天 !setname 0x401 四天王天
...@@ -351,7 +352,7 @@ ...@@ -351,7 +352,7 @@
!counter 0xf3c 幻象指示物 !counter 0xf3c 幻象指示物
!counter 0xf3f 隐痛指示物 !counter 0xf3f 隐痛指示物
#REIKAI 2404873791 161 #REIKAI 2404873791 161 0xcc0-0xccf
!setname 0xcc6 龙帝 !setname 0xcc6 龙帝
!setname 0xcc7 煌世 !setname 0xcc7 煌世
!setname 0xccf 仙精 !setname 0xccf 仙精
...@@ -359,6 +360,8 @@ ...@@ -359,6 +360,8 @@
#AddCodeList(c,16120010)「龙素记号xf」记述 #AddCodeList(c,16120010)「龙素记号xf」记述
#AddCodeList(c,16172004) 禁时王记述 #AddCodeList(c,16172004) 禁时王记述
#AddCodeList(c,16172015) 邪眼皇罗曼诺夫一世卡名记述 #AddCodeList(c,16172015) 邪眼皇罗曼诺夫一世卡名记述
!counter 0x1ccc 无字指示物
!counter 0xcc2 魔帝指示物
#小桥流水 2466894135 162 0xf00-0xf0f #小桥流水 2466894135 162 0xf00-0xf0f
#AddCodeList(16200003) 单推人衍生物卡名记述 #AddCodeList(16200003) 单推人衍生物卡名记述
......
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