Commit 01ae0be2 authored by TanakaKotoha's avatar TanakaKotoha

data in

parent a10b3e10
......@@ -1026,7 +1026,7 @@
65010561 1 --友希兰
65010578 0 --绝对宣言-独奏会-
65010586 0 --星光歌剧 凤满Revue
65010587 0 --「星光歌剧」台本-舞台少女心得
65010587 1 --「星光歌剧」台本-舞台少女心得
65020212 0 --行星驱逐舰 风雪游隼号
65020213 0 --「六兆年零一夜物语」凑友希那
#650-2
......@@ -1140,7 +1140,7 @@
81005008 1 --薇薇安·伊文捷琳 Ω
81005026 2 --水晶艾蕾娜·雨夜
81005053 0 --黑野紫
81005076 1 --白雪安娜·夏恋
81005076 1 --浅见空子·月色
81008016 1 --不被吓个半死是不可能的
81010021 1 --高空坠落
81011008 1 --薇薇安·伊文捷琳 ω
......
......@@ -25,7 +25,7 @@ function c1199001.initial_effect(c)
--
end
--
function c1199001.cost(e,tp,eg,ep,ev,re,r,rp,chk)
function c1199001.cost2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end
Duel.Release(e:GetHandler(),REASON_COST)
end
......
......@@ -90,7 +90,7 @@ end
function cm.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then
return rp=1-tp not c:IsReason(REASON_REPLACE) and Duel.IsExistingMatchingCard(cm.repfilter,tp,LOCATION_EXTRA,0,1,nil)
return rp==1-tp not c:IsReason(REASON_REPLACE) and Duel.IsExistingMatchingCard(cm.repfilter,tp,LOCATION_EXTRA,0,1,nil)
end
if Duel.SelectEffectYesNo(tp,c,96) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESREPLACE)
......
......@@ -75,7 +75,7 @@ function c16200005.activate(e,tp,eg,ep,ev,re,r,rp)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e2:SetCode(EFFECT_CANNOT_BE_FUSION_MATERIAL)
e2:SetValue(cm.fuslimit)
e2:SetValue(c16200005.fuslimit)
e2:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_TOFIELD)
token:RegisterEffect(e2,true)
local e3=e2:Clone()
......@@ -97,6 +97,6 @@ function c16200005.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function cm.fuslimit(e,c,sumtype)
function c16200005.fuslimit(e,c,sumtype)
return sumtype==SUMMON_TYPE_FUSION
end
......@@ -43,7 +43,7 @@ function c16200006.target(e,tp,eg,ep,ev,re,r,rp,chk)
op=Duel.SelectOption(tp,aux.Stringid(16200006,1),aux.Stringid(16200006,2))
elseif a2 and a3 then
op=Duel.SelectOption(tp,aux.Stringid(16200006,2),aux.Stringid(16200006,3))+1
elseif a1 and a3
elseif a1 and a3 then
op=Duel.SelectOption(tp,aux.Stringid(16200006,1),aux.Stringid(16200006,3))
if op==1 then
op=2
......
......@@ -44,7 +44,7 @@ function c21520128.operation(e,tp,eg,ep,ev,re,r,rp)
and Duel.IsExistingMatchingCard(c21520128.spfilter,p,LOCATION_DECK,0,1,nil,e,p) and Duel.SelectYesNo(p,aux.Stringid(21520128,1)) then
local dg=Duel.GetMatchingGroup(c21520128.spfilter,p,LOCATION_DECK,0,nil,e,p)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=dg:Select(p,1,1),nil)
local sg=dg:Select(p,1,1,nil)
Duel.SpecialSummon(sg,0,p,p,false,false,POS_FACEUP)
Duel.ConfirmCards(1-p,sg)
end
......
......@@ -19,9 +19,9 @@ function c26806030.initial_effect(c)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCode(EVENT_DESTROYED)
e3:SetCondition(cm.thcon)
e3:SetTarget(cm.thtg)
e3:SetOperation(cm.thop)
e3:SetCondition(c26806030.thcon)
e3:SetTarget(c26806030.thtg)
e3:SetOperation(c26806030.thop)
c:RegisterEffect(e3)
end
function c26806030.synfilter(c)
......@@ -50,19 +50,19 @@ function c26806030.rmop(e,tp,eg,ep,ev,re,r,rp)
Duel.Remove(g,POS_FACEUP,REASON_EFFECT)
end
end
function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
function c26806030.thcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_EFFECT+REASON_BATTLE)~=0
end
function cm.thfilter(c)
function c26806030.thfilter(c)
return c:IsSetCard(0x605) 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
function c26806030.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c26806030.thfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end
function cm.thop(e,tp,eg,ep,ev,re,r,rp)
function c26806030.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,cm.thfilter,tp,LOCATION_DECK,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,c26806030.thfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
......
......@@ -20,7 +20,6 @@ function c33400409.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,33400409+10000)
e2:SetCost(c33400409.cost)
e2:SetTarget(c33400409.sptg)
e2:SetOperation(c33400409.spop)
c:RegisterEffect(e2)
......
......@@ -70,8 +70,9 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,1-tp,REASON_EFFECT)
Duel.ConfirmCards(tp,g)
if Duel.IsExistingMatchingCard(cm.thfilter0,1-tp,LOCATION_ONFIELD,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(m,2)) then
local sg=Duel.SelectMatchingCard(1-tp,cm.thfilter0,1-tp,LOCATION_ONFIELD,0,1,1,nil)
Duel.SendtoHand(sg,tp,REASON_RULE)
local sg=Duel.SelectMatchingCard(1-tp,cm.thfilter0,1-tp,LOCATION_ONFIELD,0,1,1,nil)
Duel.SendtoHand(sg,tp,REASON_RULE)
end
end
end
function cm.thfilter0(c)
......
......@@ -62,13 +62,12 @@ function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
local phase=Duel.GetCurrentPhase()
if (phase==PHASE_DAMAGE and not Duel.IsDamageCalculated()) or phase==PHASE_DAMAGE_CAL then return end
local sg=Group.CreateGroup()
local g=Duel.GetMatchingGroup(Card.IsFaceup,1-tp,LOCATION_MZONE,0,nil)
local rc=g:GetCount()
if rc>1 then
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_TOGRAVE)
local dg=g:Select(1-tp,rc-1,rc-1,nil)
sg:Merge(dg)
end
local g=Duel.GetMatchingGroup(Card.IsFaceup,1-tp,LOCATION_MZONE,0,nil)
local rc=g:GetCount()
if rc>1 then
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_TOGRAVE)
local dg=g:Select(1-tp,rc-1,rc-1,nil)
sg:Merge(dg)
end
if sg:GetCount()>0 then
Duel.SendtoGrave(sg,REASON_RULE)
......
......@@ -63,6 +63,6 @@ end
function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end
end
......@@ -6,7 +6,7 @@ function cm.initial_effect(c)
aux.AddCodeList(c,81041005)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW+CATEGORY_LVCHANGE)
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
......
......@@ -5,7 +5,6 @@
# 禁用 0x100-0x1ff 区间避免 OCG 卡字段上浮冲突
#某失智の刀客塔 3529764274 1 0xca0-0xcaf
!setname 0xca1 空洞骑士
!setname 0xca2 Operatives
!setname 0xca3 后巴别塔
!setname 0xca7 爱国者
......@@ -245,7 +244,6 @@
#named_with_HakaShiro 墓城
#named_with_SeHakaShiroJyou 墓城七姬
#named_with_SkyLand 天境
#named_with_Unleashed 感情爆发
#AddCodeList(12065002) 一生的约定 雫记述
!counter 0x1fb0 恋猫指示物
!counter 0x2fb0 梦境指示物
......
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