Commit b405d648 authored by POLYMER's avatar POLYMER

update 250901 std

parent 2409fd57
...@@ -6932,7 +6932,7 @@ ...@@ -6932,7 +6932,7 @@
10202927 0 10202927 0
11450999 0 11450999 0
11533700 0 11533700 0
13000751 0 13000751 2
13000753 2 13000753 2
13020032 2 13020032 2
14000020 0 14000020 0
...@@ -7051,6 +7051,11 @@ ...@@ -7051,6 +7051,11 @@
66690225 0 66690225 0
95101137 0 95101137 0
20010020 0 20010020 0
33703062 0
65812025 0
44401005 0
91300025 0
11771265 0
#limit #limit
33403513 1 33403513 1
82204250 0 82204250 0
...@@ -7197,6 +7202,9 @@ ...@@ -7197,6 +7202,9 @@
10200006 1 10200006 1
11451926 1 11451926 1
66690130 1 66690130 1
189116 1
82228636 1
11451951 1
#semi limit #semi limit
33700316 2 33700316 2
33700405 2 33700405 2
......
No preview for this file type
expansions/pics/13020050.jpg

34.5 KB | W: | H:

expansions/pics/13020050.jpg

115 KB | W: | H:

expansions/pics/13020050.jpg
expansions/pics/13020050.jpg
expansions/pics/13020050.jpg
expansions/pics/13020050.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/13020060.jpg

119 KB | W: | H:

expansions/pics/13020060.jpg

29.5 KB | W: | H:

expansions/pics/13020060.jpg
expansions/pics/13020060.jpg
expansions/pics/13020060.jpg
expansions/pics/13020060.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/53765003.jpg

82.5 KB | W: | H:

expansions/pics/53765003.jpg

91.1 KB | W: | H:

expansions/pics/53765003.jpg
expansions/pics/53765003.jpg
expansions/pics/53765003.jpg
expansions/pics/53765003.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/53765008.jpg

53.5 KB | W: | H:

expansions/pics/53765008.jpg

92.5 KB | W: | H:

expansions/pics/53765008.jpg
expansions/pics/53765008.jpg
expansions/pics/53765008.jpg
expansions/pics/53765008.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/53765009.jpg

201 KB | W: | H:

expansions/pics/53765009.jpg

91.6 KB | W: | H:

expansions/pics/53765009.jpg
expansions/pics/53765009.jpg
expansions/pics/53765009.jpg
expansions/pics/53765009.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/66690120.jpg

64.1 KB | W: | H:

expansions/pics/66690120.jpg

65.3 KB | W: | H:

expansions/pics/66690120.jpg
expansions/pics/66690120.jpg
expansions/pics/66690120.jpg
expansions/pics/66690120.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/89490098.jpg

64.8 KB | W: | H:

expansions/pics/89490098.jpg

67.4 KB | W: | H:

expansions/pics/89490098.jpg
expansions/pics/89490098.jpg
expansions/pics/89490098.jpg
expansions/pics/89490098.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/89490102.jpg

74.2 KB | W: | H:

expansions/pics/89490102.jpg

74.3 KB | W: | H:

expansions/pics/89490102.jpg
expansions/pics/89490102.jpg
expansions/pics/89490102.jpg
expansions/pics/89490102.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/field/89490024.jpg

25.9 KB | W: | H:

expansions/pics/field/89490024.jpg

26 KB | W: | H:

expansions/pics/field/89490024.jpg
expansions/pics/field/89490024.jpg
expansions/pics/field/89490024.jpg
expansions/pics/field/89490024.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/field/89490042.jpg

19.5 KB | W: | H:

expansions/pics/field/89490042.jpg

19.6 KB | W: | H:

expansions/pics/field/89490042.jpg
expansions/pics/field/89490042.jpg
expansions/pics/field/89490042.jpg
expansions/pics/field/89490042.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/field/89490061.jpg

18.9 KB | W: | H:

expansions/pics/field/89490061.jpg

19 KB | W: | H:

expansions/pics/field/89490061.jpg
expansions/pics/field/89490061.jpg
expansions/pics/field/89490061.jpg
expansions/pics/field/89490061.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/field/89490080.jpg

21.4 KB | W: | H:

expansions/pics/field/89490080.jpg

21.5 KB | W: | H:

expansions/pics/field/89490080.jpg
expansions/pics/field/89490080.jpg
expansions/pics/field/89490080.jpg
expansions/pics/field/89490080.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/field/89490103.jpg

21.7 KB | W: | H:

expansions/pics/field/89490103.jpg

21.8 KB | W: | H:

expansions/pics/field/89490103.jpg
expansions/pics/field/89490103.jpg
expansions/pics/field/89490103.jpg
expansions/pics/field/89490103.jpg
  • 2-up
  • Swipe
  • Onion skin
local s,id=GetID()
function s.initial_effect(c)
-- 效果①: 特殊召唤与无效化
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DISABLE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,EFFECT_COUNT_CODE_CHAIN)
e1:SetCondition(s.spcon)
e1:SetTarget(s.sptg)
e1:SetOperation(s.spop)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
c:RegisterEffect(e1)
-- 效果②: 回收与抽卡
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1))
e2:SetCategory(CATEGORY_TODECK+CATEGORY_DRAW)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_GRAVE)
e2:SetTarget(s.tdtg)
e2:SetOperation(s.tdop)
c:RegisterEffect(e2)
end
-- 效果①条件检查
function s.cfilter(c)
return c:IsFaceup() and (c:IsCode(68535320) or c:IsCode(95929069)) -- 检查火焰手/寒冰手
end
function s.spcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_MZONE,0,1,nil)
end
-- 效果①操作
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function s.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end
if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
-- 选择无效化效果(可选)
local g=Duel.SelectMatchingCard(tp,Card.IsFaceup,tp,0,LOCATION_ONFIELD,1,1,nil)
if #g>0 then
Duel.NegateRelatedChain(g:GetFirst(),RESET_TURN_SET)
local tc=g:GetFirst()
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_DISABLE_EFFECT)
e2:SetValue(RESET_TURN_SET)
tc:RegisterEffect(e2)
end
end
end
-- 效果②操作
function s.tdfilter(c)
return (c:GetBaseAttack()==1600 or c:GetBaseDefense()==1600)
end
function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsAbleToDeck() and Duel.IsExistingMatchingCard(s.tdfilter,tp,LOCATION_GRAVE,0,1,c) end
Duel.SetOperationInfo(0,CATEGORY_TODECK,nil,2,tp,LOCATION_GRAVE)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1)
end
function s.tdop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.SelectMatchingCard(tp,s.tdfilter,tp,LOCATION_GRAVE,0,1,1,c)
if #g>0 and c:IsAbleToDeck() then
g:AddCard(c)
if Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)==2 then
Duel.ShuffleDeck(tp)
Duel.Draw(tp,1,REASON_EFFECT)
end
end
end
\ No newline at end of file
-- 抓住希望
local s,id=GetID()
function s.initial_effect(c)
-- 效果①: 检索手牌并送墓
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_HANDES)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,id)
e1:SetTarget(s.thtg)
e1:SetOperation(s.thop)
c:RegisterEffect(e1)
-- 效果②: 墓地效果 - 控制权夺取
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1))
e2:SetCategory(CATEGORY_CONTROL)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetRange(LOCATION_GRAVE)
e2:SetCountLimit(1,id+1)
e2:SetCondition(s.ctcon)
e2:SetCost(s.ctcost)
e2:SetTarget(s.cttg)
e2:SetOperation(s.ctop)
c:RegisterEffect(e2)
end
-- 效果①: 检索目标
function s.thfilter(c,code)
return c:IsCode(code) and c:IsAbleToHand()
end
-- 效果①: 目标设置
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
local g1=Duel.GetMatchingGroup(s.thfilter,tp,LOCATION_DECK+LOCATION_REMOVED,0,nil,68535320)
local g2=Duel.GetMatchingGroup(s.thfilter,tp,LOCATION_DECK+LOCATION_REMOVED,0,nil,95929069)
return #g1>0 and #g2>0
end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,2,tp,LOCATION_DECK+LOCATION_REMOVED)
Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1)
end
-- 效果①: 操作
function s.thop(e,tp,eg,ep,ev,re,r,rp)
local g1=Duel.GetMatchingGroup(s.thfilter,tp,LOCATION_DECK+LOCATION_REMOVED,0,nil,68535320)
local g2=Duel.GetMatchingGroup(s.thfilter,tp,LOCATION_DECK+LOCATION_REMOVED,0,nil,95929069)
if #g1>0 and #g2>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local sg1=g1:Select(tp,1,1,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local sg2=g2:Select(tp,1,1,nil)
sg1:Merge(sg2)
if #sg1==2 and Duel.SendtoHand(sg1,nil,REASON_EFFECT)==2 then
Duel.ConfirmCards(1-tp,sg1)
Duel.ShuffleHand(tp)
Duel.BreakEffect()
Duel.DiscardHand(tp,nil,1,1,REASON_EFFECT+REASON_DISCARD)
end
end
end
-- 效果②: 条件检查 - 岩石族超量存在
function s.rockxyzfilter(c)
return c:IsFaceup() and c:IsRace(RACE_ROCK) and c:IsType(TYPE_XYZ)
end
-- 效果②: 条件检查 - 对方从额外特殊召唤
function s.ctcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(s.rockxyzfilter,tp,LOCATION_MZONE,0,1,nil)
and eg:IsExists(Card.IsSummonPlayer,1,nil,1-tp) and eg:IsExists(Card.IsLocation,1,nil,LOCATION_MZONE)
and eg:GetFirst():IsSummonType(SUMMON_TYPE_SPECIAL) and eg:GetFirst():IsPreviousLocation(LOCATION_EXTRA)
end
-- 效果②: 代价 - 从墓地除外
function s.ctcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToRemoveAsCost() end
Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_COST)
end
-- 效果②: 目标设置
function s.cttg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsControlerCanBeChanged,tp,0,LOCATION_MZONE,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_CONTROL,nil,1,0,0)
end
-- 效果②: 操作
function s.ctop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONTROL)
local g=Duel.SelectMatchingCard(tp,Card.IsControlerCanBeChanged,tp,0,LOCATION_MZONE,1,1,nil)
local tc=g:GetFirst()
if tc and Duel.GetControl(tc,tp) then -- 永久获得控制权
-- 效果无效化
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_DISABLE_EFFECT)
e2:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e2)
-- 攻击力变成2500
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetCode(EFFECT_SET_ATTACK_FINAL)
e3:SetValue(2500)
e3:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e3)
-- 卡名当作「No.39 希望皇 霍普」
local e4=Effect.CreateEffect(e:GetHandler())
e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetCode(EFFECT_CHANGE_CODE)
e4:SetValue(84013237)
e4:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e4)
end
end
\ No newline at end of file
-- 武狸 小太郎 (需补充卡号)
local s,id=GetID()
function s.initial_effect(c)
-- 怪兽属性
c:EnableReviveLimit()
-- 效果①: 丢弃并特殊召唤
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,id)
e1:SetCondition(s.spcon)
e1:SetCost(s.spcost)
e1:SetTarget(s.sptg)
e1:SetOperation(s.spop)
c:RegisterEffect(e1)
-- 效果②: 代替破坏
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EFFECT_DESTROY_REPLACE)
e2:SetRange(LOCATION_GRAVE)
e2:SetTarget(s.reptg)
e2:SetValue(s.repval)
e2:SetOperation(s.repop)
c:RegisterEffect(e2)
end
-- 效果①: 条件检查 - 自己场上没有卡
function s.spcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,LOCATION_ONFIELD,0)==0
end
-- 效果①: 代价 - 丢弃这张卡
function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsDiscardable() end
Duel.SendtoGrave(e:GetHandler(),REASON_COST+REASON_DISCARD)
end
-- 效果①: 目标设置
function s.spfilter(c,e,tp)
return c:IsLevel(2) and c:IsRace(RACE_BEAST) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE)
end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
local g=Duel.GetMatchingGroup(s.spfilter,tp,LOCATION_HAND,0,nil,e,tp)
return Duel.GetLocationCount(tp,LOCATION_MZONE)>1 and not Duel.IsPlayerAffectedByEffect(tp,CARD_BLUEEYES_SPIRIT)
and g:GetClassCount(Card.GetCode)>=2
end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,2,tp,LOCATION_HAND)
end
-- 效果①: 操作
function s.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<2 or Duel.IsPlayerAffectedByEffect(tp,CARD_BLUEEYES_SPIRIT) then return end
local g=Duel.GetMatchingGroup(s.spfilter,tp,LOCATION_HAND,0,nil,e,tp)
if g:GetClassCount(Card.GetCode)<2 then return end
local sg=Group.CreateGroup()
for i=1,2 do
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local tc=g:Select(tp,1,1,nil):GetFirst()
if tc then
sg:AddCard(tc)
g:Remove(Card.IsCode,nil,tc:GetCode())
end
end
if #sg==2 then
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP_DEFENSE)
end
end
-- 效果②: 代替破坏
function s.repfilter(c,tp)
return c:IsFaceup() and c:IsRace(RACE_BEAST) and c:IsType(TYPE_XYZ)
and c:IsLocation(LOCATION_MZONE) and c:IsControler(tp)
and not c:IsReason(REASON_REPLACE) and (c:IsReason(REASON_BATTLE) or c:IsReason(REASON_EFFECT))
end
function s.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToRemove() and eg:IsExists(s.repfilter,1,nil,tp) end
return Duel.SelectEffectYesNo(tp,e:GetHandler(),96)
end
function s.repval(e,c)
return s.repfilter(c,e:GetHandlerPlayer())
end
function s.repop(e,tp,eg,ep,ev,re,r,rp)
Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_EFFECT+REASON_REPLACE)
end
\ No newline at end of file
-- 新式魔厨的番薯料理学徒
local s,id=GetID()
function s.initial_effect(c)
-- 灵摆属性
aux.EnablePendulumAttribute(c)
-- 灵摆效果
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_PZONE)
e1:SetCountLimit(1,id)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCondition(s.pcon)
e1:SetTarget(s.ptg)
e1:SetOperation(s.pop)
c:RegisterEffect(e1)
-- 怪兽效果①: 召唤/特殊召唤时的效果
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1))
e2:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND+CATEGORY_SPECIAL_SUMMON+CATEGORY_TODECK)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_SUMMON_SUCCESS)
e2:SetCountLimit(1,id+1)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetTarget(s.mtg)
e2:SetOperation(s.mop)
c:RegisterEffect(e2)
local e3=e2:Clone()
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e3)
-- 怪兽效果②: 被解放后放置到灵摆区域
local e4=Effect.CreateEffect(c)
e4:SetDescription(aux.Stringid(id,2))
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e4:SetCode(EVENT_TO_DECK)
e4:SetProperty(EFFECT_FLAG_DELAY)
e4:SetCondition(s.pzcon)
e4:SetTarget(s.pztg)
e4:SetOperation(s.pzop)
c:RegisterEffect(e4)
end
function s.cfilter(c)
return c:IsFaceup() and c:IsType(TYPE_RITUAL)
end
-- 灵摆效果条件: 自己场上有仪式怪兽存在
function s.pcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_MZONE,0,1,nil)
end
-- 灵摆效果目标: 选择场上1只怪兽
function s.ptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsFaceup() end
local c=e:GetHandler()
if chk==0 then return Duel.IsExistingTarget(Card.IsFaceup,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil)
and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
local g=Duel.SelectTarget(tp,Card.IsFaceup,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,0)
end
-- 灵摆效果操作: 特殊召唤并提升攻击力
function s.pop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) or Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)<1 then return end
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsFaceup() then
Duel.BreakEffect()
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetValue(1000)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
end
end
-- 怪兽效果①: 目标设置
function s.thfilter(c)
return c:IsSetCard(0x196) and c:IsType(TYPE_PENDULUM) and not c:IsCode(id) and c:IsAbleToHand()
end
function s.recipefilter(c)
return c:IsSetCard(0x197) and c:IsAbleToDeck()
end
-- 修复ritualfilter函数,移除对e和tp的依赖
function s.ritualfilter(c,lv)
return c:IsSetCard(0x196) and c:IsType(TYPE_RITUAL) and c:IsLevel(lv)
end
function s.mtg(e,tp,eg,ep,ev,re,r,rp,chk)
local b1=Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil)
local exg=Duel.GetMatchingGroup(s.recipefilter,tp,LOCATION_REMOVED,0,nil)
local b2=exg:GetCount()>0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(s.ritualfilter,tp,LOCATION_DECK,0,1,nil,exg:GetCount())
if chk==0 then return b1 or b2 end
local op=aux.SelectFromOptions(tp,{b1,aux.Stringid(id,3)},{b2,aux.Stringid(id,4)})
e:SetLabel(op)
if op==1 then
e:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
else
e:SetCategory(CATEGORY_TODECK+CATEGORY_SPECIAL_SUMMON)
Duel.SetOperationInfo(0,CATEGORY_TODECK,exg,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
end
end
-- 怪兽效果①: 操作
function s.mop(e,tp,eg,ep,ev,re,r,rp)
local op=e:GetLabel()
if op==1 then
-- 选项1: 从卡组检索
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,s.thfilter,tp,LOCATION_DECK,0,1,1,nil)
if #g>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
end
else
-- 选项2: 从除外区返回并特殊召唤
local exg=Duel.GetMatchingGroup(s.recipefilter,tp,LOCATION_REMOVED,0,nil)
if exg:GetCount()==0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local sg=exg:Select(tp,1,exg:GetCount(),nil)
local ct=Duel.SendtoDeck(sg,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
if ct>0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then
-- 在操作函数中检查是否可以特殊召唤
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local rg=Duel.SelectMatchingCard(tp,function(c) return s.ritualfilter(c,ct) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_RITUAL,tp,false,true) end,tp,LOCATION_DECK,0,1,1,nil)
if #rg>0 then
Duel.SpecialSummon(rg,SUMMON_TYPE_RITUAL,tp,tp,false,true,POS_FACEUP)
rg:GetFirst():CompleteProcedure()
end
end
end
end
-- 怪兽效果②: 条件 - 被解放以表侧加入额外卡组
function s.pzcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_ONFIELD) and c:IsReason(REASON_RELEASE) and c:IsLocation(LOCATION_EXTRA)
and c:IsFaceup()
end
-- 怪兽效果②: 目标 - 放置到灵摆区域
function s.pztg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLocation(tp,LOCATION_PZONE,0) or Duel.CheckLocation(tp,LOCATION_PZONE,1) end
end
-- 怪兽效果②: 操作 - 放置到灵摆区域
function s.pzop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) then
Duel.MoveToField(c,tp,tp,LOCATION_PZONE,POS_FACEUP,true)
end
end
\ No newline at end of file
-- 食谱进修中 (需补充卡号)
local s,id=GetID()
function s.initial_effect(c)
-- 效果①: 展示并特殊召唤仪式怪兽
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,id)
e1:SetTarget(s.sptg)
e1:SetOperation(s.spop)
c:RegisterEffect(e1)
-- 效果②: 墓地除外进行仪式召唤
local e2=aux.AddRitualProcEqual2(c,s.filter,LOCATION_HAND,nil,nil,true)
e2:SetDescription(aux.Stringid(id,1))
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_GRAVE)
e2:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e2:SetCountLimit(1,id+1)
e2:SetCost(s.ritcost)
c:RegisterEffect(e2)
end
-- 效果①: 目标设置
function s.spfilter(c)
return c:IsSetCard(0x196) and c:IsType(TYPE_RITUAL) and c:IsLevelAbove(1)
end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
local g=Duel.GetMatchingGroup(s.spfilter,tp,LOCATION_DECK,0,nil)
return g:GetClassCount(Card.GetCode)>=3 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
end
-- 效果①: 操作
function s.spop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.spfilter,tp,LOCATION_DECK,0,nil)
if g:GetClassCount(Card.GetCode)<3 or Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
-- 选择3只不同的仪式怪兽
local sg=Group.CreateGroup()
for i=1,3 do
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM)
local tc=g:Select(tp,1,1,nil):GetFirst()
if tc then
sg:AddCard(tc)
g:Remove(Card.IsCode,nil,tc:GetCode())
end
end
if #sg==3 then
Duel.ConfirmCards(1-tp,sg)
Duel.ShuffleDeck(tp)
-- 让对方随机选择1只
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_SPSUMMON)
local sc=sg:RandomSelect(1-tp,1):GetFirst()
if sc then
sg:RemoveCard(sc)
-- 特殊召唤到自己场上(修正为在自己场上特殊召唤)
if Duel.SpecialSummon(sc,SUMMON_TYPE_RITUAL,tp,tp,false,true,POS_FACEUP)>0 then
sc:CompleteProcedure()
end
end
-- 剩下的返回卡组
if #sg>0 then
Duel.SendtoDeck(sg,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end
end
end
-- 效果②: 代价 - 从墓地除外
function s.ritcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToRemoveAsCost() end
Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_COST)
end
\ No newline at end of file
--星绘·启明
function c11185070.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_PZONE)
e1:SetCountLimit(1,11185070)
e1:SetTarget(c11185070.sptg)
e1:SetOperation(c11185070.spop)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e2:SetCode(EFFECT_SPSUMMON_PROC)
e2:SetRange(LOCATION_HAND)
e2:SetCountLimit(1,11185070+1+EFFECT_COUNT_CODE_OATH)
e2:SetCondition(c11185070.spscon)
c:RegisterEffect(e2)
--search
local e3=Effect.CreateEffect(c)
e3:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_SPECIAL_SUMMON)
e3:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e3:SetCode(EVENT_SUMMON_SUCCESS)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCountLimit(1,11185070+2)
e3:SetCost(c11185070.thcost)
e3:SetTarget(c11185070.thtg)
e3:SetOperation(c11185070.thop)
c:RegisterEffect(e3)
local e33=e3:Clone()
e33:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e33)
Duel.AddCustomActivityCounter(11185070,ACTIVITY_SUMMON,c11185070.counterfilter)
Duel.AddCustomActivityCounter(11185070,ACTIVITY_SPSUMMON,c11185070.counterfilter)
end
function c11185070.counterfilter(c)
return c:IsSetCard(0x452) or c:IsType(TYPE_TUNER)
end
function c11185070.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
local zone=1<<c:GetSequence()
if chk==0 then return Duel.IsCanRemoveCounter(tp,1,1,0x452,1,REASON_EFFECT)
and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP,tp,zone) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,0)
end
function c11185070.spop(e,tp,eg,ep,ev,re,r,rp)
if not Duel.IsCanRemoveCounter(tp,1,1,0x452,1,REASON_EFFECT) then end
if not Duel.RemoveCounter(tp,1,1,0x452,1,REASON_EFFECT) then return end
local c=e:GetHandler()
local zone=1<<c:GetSequence()
if c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP,zone)
end
end
function c11185070.spscon(e,c)
if c==nil then return true end
local tp=c:GetControler()
return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)==0
end
function c11185070.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetCustomActivityCount(11185070,tp,ACTIVITY_SUMMON)==0
and Duel.GetCustomActivityCount(11185070,tp,ACTIVITY_SPSUMMON)==0 end
e:SetLabel(0)
if Duel.IsCanRemoveCounter(tp,1,0,0x452,1,REASON_COST) and Duel.SelectYesNo(tp,aux.Stringid(11185070,0)) then
Duel.RemoveCounter(tp,1,0,0x452,1,REASON_COST)
e:SetLabel(1)
end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(c11185070.splimit)
Duel.RegisterEffect(e1,tp)
local e2=e1:Clone()
e2:SetCode(EFFECT_CANNOT_SUMMON)
Duel.RegisterEffect(e2,tp)
end
function c11185070.splimit(e,c)
return not (c:IsSetCard(0x452) or c:IsType(TYPE_TUNER))
end
function c11185070.thfilter(c,e,tp,ck)
return c:IsSetCard(0x452) and c:IsType(TYPE_MONSTER) and (c:IsAbleToHand()
or c:IsCanBeSpecialSummoned(e,0,tp,false,false) and ck==1 and Duel.GetMZoneCount(tp)>0)
end
function c11185070.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
local ck=e:GetLabel()
if chk==0 then return Duel.IsExistingMatchingCard(c11185070.thfilter,tp,LOCATION_DECK,0,1,nil,e,tp,ck) end
end
function c11185070.thop(e,tp,eg,ep,ev,re,r,rp)
local ck=e:GetLabel()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD)
local g=Duel.SelectMatchingCard(tp,c11185070.thfilter,tp,LOCATION_DECK,0,1,1,nil,e,tp,ck)
local tc=g:GetFirst()
if tc then
if tc:IsAbleToHand() and (not tc:IsCanBeSpecialSummoned(e,0,tp,false,false) or ck==0
or Duel.GetMZoneCount(tp)<0 or Duel.SelectOption(tp,1190,1152)==0) then
Duel.SendtoHand(tc,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tc)
else
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end
end
end
\ No newline at end of file
--星绘·汐澜
function c11185080.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_COUNTER)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_PZONE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,11185080)
e1:SetTarget(c11185080.target)
e1:SetOperation(c11185080.activate)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(11185080,2))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_HAND)
e2:SetCountLimit(1,11185080+1)
e2:SetTarget(c11185080.sptg)
e2:SetOperation(c11185080.spop)
c:RegisterEffect(e2)
--search
local e3=Effect.CreateEffect(c)
e3:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e3:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e3:SetCode(EVENT_SUMMON_SUCCESS)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCountLimit(1,11185080+2)
e3:SetCost(c11185080.thcost)
e3:SetTarget(c11185080.thtg)
e3:SetOperation(c11185080.thop)
c:RegisterEffect(e3)
local e33=e3:Clone()
e33:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e33)
Duel.AddCustomActivityCounter(11185080,ACTIVITY_SUMMON,c11185080.counterfilter)
Duel.AddCustomActivityCounter(11185080,ACTIVITY_SPSUMMON,c11185080.counterfilter)
end
function c11185080.counterfilter(c)
return c:IsSetCard(0x452) or c:IsType(TYPE_TUNER)
end
function c11185080.filter(c)
return c:IsFaceup() and c:IsCanAddCounter(0x452,1) and c:IsSetCard(0x452)
end
function c11185080.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and c11185080.filter(chkc) end
if chk==0 then return Duel.IsExistingTarget(c11185080.filter,tp,LOCATION_ONFIELD,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_COUNTER)
Duel.SelectTarget(tp,c11185080.filter,tp,LOCATION_ONFIELD,0,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_COUNTER,nil,1,0,0x452)
end
function c11185080.tfilter(c)
return c:IsType(TYPE_PENDULUM) and c:IsSetCard(0x452) and not c:IsForbidden()
end
function c11185080.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc and tc:IsFaceup() and tc:IsRelateToEffect(e) and tc:AddCounter(0x452,1) then
if not Duel.CheckLocation(tp,LOCATION_PZONE,0) and not Duel.CheckLocation(tp,LOCATION_PZONE,1) then return end
local g=Duel.GetMatchingGroup(c11185080.tfilter,tp,0x31,0,nil)
if #g>0 and Duel.SelectYesNo(tp,aux.Stringid(11185080,0)) then
Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local sg=g:Select(tp,1,1,nil)
if sg:GetCount()>0 then
Duel.MoveToField(sg:GetFirst(),tp,tp,LOCATION_PZONE,POS_FACEUP,true)
end
end
end
end
function c11185080.sptg(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,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function c11185080.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
end
function c11185080.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetCustomActivityCount(11185080,tp,ACTIVITY_SUMMON)==0
and Duel.GetCustomActivityCount(11185080,tp,ACTIVITY_SPSUMMON)==0 end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(c11185080.splimit)
Duel.RegisterEffect(e1,tp)
local e2=e1:Clone()
e2:SetCode(EFFECT_CANNOT_SUMMON)
Duel.RegisterEffect(e2,tp)
end
function c11185080.splimit(e,c)
return not (c:IsSetCard(0x452) or c:IsType(TYPE_TUNER))
end
function c11185080.thfilter(c)
return c:IsSetCard(0x452) and c:IsType(TYPE_SPELL) and c:IsAbleToHand()
end
function c11185080.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c11185080.thfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end
function c11185080.thfilter2(c)
return c:IsSetCard(0x452) and c:IsAbleToHand()
end
function c11185080.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,c11185080.thfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 and Duel.SendtoHand(g,nil,REASON_EFFECT)>0 and g:GetFirst():IsLocation(0x2) then
Duel.ConfirmCards(1-tp,g)
if Duel.IsExistingMatchingCard(aux.NecroValleyFilter(c11185080.thfilter2),tp,0x30,0,1,nil)
and Duel.IsCanRemoveCounter(tp,1,1,0x452,1,REASON_EFFECT)
and Duel.SelectYesNo(tp,aux.Stringid(11185080,1)) then
Duel.BreakEffect()
if not Duel.IsCanRemoveCounter(tp,1,1,0x452,1,REASON_EFFECT) then end
if not Duel.RemoveCounter(tp,1,1,0x452,1,REASON_EFFECT) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c11185080.thfilter2),tp,0x30,0,1,1,nil)
Duel.HintSelection(g)
Duel.SendtoHand(g,nil,REASON_EFFECT)
end
end
end
\ No newline at end of file
--星绘·赤尧
function c11185085.initial_effect(c)
c:EnableCounterPermit(0x452)
--pendulum summon
aux.EnablePendulumAttribute(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_PZONE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,11185085)
e1:SetTarget(c11185085.sptg)
e1:SetOperation(c11185085.spop)
c:RegisterEffect(e1)
--pzone
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(11185085,0))
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_HAND)
e2:SetCountLimit(1,11185085+1)
e2:SetCost(c11185085.pccost)
e2:SetTarget(c11185085.pctg)
e2:SetOperation(c11185085.pcop)
c:RegisterEffect(e2)
--SpecialSummon
local e3=Effect.CreateEffect(c)
e3:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DESTROY)
e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_FREE_CHAIN)
e3:SetRange(LOCATION_GRAVE+LOCATION_REMOVED)
e3:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e3:SetCountLimit(1,11185085+2)
e3:SetTarget(c11185085.sptg2)
e3:SetOperation(c11185085.spop2)
c:RegisterEffect(e3)
end
function c11185085.spfilter(c,e,tp)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsSetCard(0x452)
end
function c11185085.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_PZONE) and chkc:IsControler(tp) and c11185085.spfilter(chkc,e,tp) end
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingTarget(c11185085.spfilter,tp,LOCATION_PZONE,0,1,nil,e,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectTarget(tp,c11185085.spfilter,tp,LOCATION_PZONE,0,1,1,nil,e,tp)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,1,0,0)
end
function c11185085.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end
if c:IsRelateToEffect(e) then
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EFFECT_CANNOT_ATTACK)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
c:RegisterEffect(e1)
end
end
function c11185085.pccost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsDiscardable() end
Duel.SendtoGrave(c,REASON_COST+REASON_DISCARD)
end
function c11185085.pcfilter(c)
return c:IsType(TYPE_PENDULUM) and not c:IsForbidden() and c:IsSetCard(0x452)
end
function c11185085.pctg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return (Duel.CheckLocation(tp,LOCATION_PZONE,0) or Duel.CheckLocation(tp,LOCATION_PZONE,1))
and Duel.IsExistingMatchingCard(c11185085.pcfilter,tp,LOCATION_DECK,0,1,nil) end
end
function c11185085.pcop(e,tp,eg,ep,ev,re,r,rp)
if not Duel.CheckLocation(tp,LOCATION_PZONE,0) and not Duel.CheckLocation(tp,LOCATION_PZONE,1) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local g=Duel.SelectMatchingCard(tp,c11185085.pcfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.MoveToField(g:GetFirst(),tp,tp,LOCATION_PZONE,POS_FACEUP,true)
end
end
function c11185085.tfilter(c,sc,tp)
return c:IsFaceup() and Duel.GetMZoneCount(tp,c)>0 and c:IsSetCard(0x452)
end
function c11185085.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsCanBeSpecialSummoned(e,0,tp,false,false)
and Duel.IsExistingMatchingCard(c11185085.tfilter,tp,LOCATION_ONFIELD,0,1,nil,c,tp) end
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,tp,LOCATION_ONFIELD)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,0)
end
function c11185085.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectMatchingCard(tp,c11185085.tfilter,tp,LOCATION_ONFIELD,0,1,1,nil,c,tp)
if #g>0 and Duel.Destroy(g,REASON_EFFECT)~=0 then
local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)>0 then
if c:IsCanAddCounter(0x452,1) and Duel.SelectYesNo(tp,aux.Stringid(11185085,1)) then
Duel.BreakEffect()
c:AddCounter(0x452,1)
end
end
end
end
\ No newline at end of file
--星绘·风阊
function c11185090.initial_effect(c)
c:EnableCounterPermit(0x452)
--pendulum summon
aux.EnablePendulumAttribute(c)
--tograve
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_PZONE)
e1:SetHintTiming(0,TIMING_MAIN_END)
e1:SetCountLimit(1,11185090)
e1:SetCondition(c11185090.tgcon)
e1:SetCost(c11185090.tgcost)
e1:SetTarget(c11185090.tgtg)
e1:SetOperation(c11185090.tgop)
c:RegisterEffect(e1)
--search
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(11185090,0))
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_HAND)
e2:SetCountLimit(1,11185090+1)
e2:SetCost(c11185090.tfcost)
e2:SetTarget(c11185090.tftg)
e2:SetOperation(c11185090.tfop)
c:RegisterEffect(e2)
--SpecialSummon
local e3=Effect.CreateEffect(c)
e3:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DESTROY)
e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_FREE_CHAIN)
e3:SetRange(LOCATION_GRAVE+LOCATION_REMOVED)
e3:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e3:SetCountLimit(1,11185090+2)
e3:SetTarget(c11185090.sptg2)
e3:SetOperation(c11185090.spop2)
c:RegisterEffect(e3)
Duel.AddCustomActivityCounter(11185090,ACTIVITY_SUMMON,c11185090.counterfilter)
Duel.AddCustomActivityCounter(11185090,ACTIVITY_SPSUMMON,c11185090.counterfilter)
end
function c11185090.counterfilter(c)
return c:IsSetCard(0x452) or c:IsType(TYPE_TUNER)
end
function c11185090.tgcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsMainPhase()
end
function c11185090.tgcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetCustomActivityCount(11185090,tp,ACTIVITY_SUMMON)==0
and Duel.GetCustomActivityCount(11185090,tp,ACTIVITY_SPSUMMON)==0 end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(c11185090.splimit)
Duel.RegisterEffect(e1,tp)
local e2=e1:Clone()
e2:SetCode(EFFECT_CANNOT_SUMMON)
Duel.RegisterEffect(e2,tp)
end
function c11185090.splimit(e,c)
return not (c:IsSetCard(0x452) or c:IsType(TYPE_TUNER))
end
function c11185090.tgfilter(c)
return c:IsSetCard(0x452) and c:IsType(0x6) and (c:IsAbleToGrave() or c:IsAbleToRemove())
end
function c11185090.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c11185090.tgfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,tp,LOCATION_DECK)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,1,tp,LOCATION_DECK)
end
function c11185090.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(11185090,1))
local g=Duel.SelectMatchingCard(tp,c11185090.tgfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
local tc=g:GetFirst()
if tc and tc:IsAbleToGrave() and (not tc:IsAbleToRemove() or Duel.SelectOption(tp,1191,1192)==0) then
Duel.SendtoGrave(tc,REASON_EFFECT)
else
Duel.Remove(tc,POS_FACEUP,REASON_EFFECT)
end
end
end
function c11185090.tfcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsDiscardable() end
Duel.SendtoGrave(c,REASON_COST+REASON_DISCARD)
end
function c11185090.tffilter(c)
return c:IsSetCard(0x452) and c:IsType(TYPE_MONSTER) and not c:IsForbidden() and c:IsFaceupEx()
end
function c11185090.tftg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c11185090.tffilter,tp,0x30,0,1,nil)
and Duel.GetLocationCount(tp,LOCATION_SZONE)>1 end
end
function c11185090.tfop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=1 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c11185090.tffilter),tp,0x30,0,2,2,nil)
local tc=g:GetFirst()
while tc do
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+RESETS_STANDARD-RESET_TURN_SET)
e1:SetValue(TYPE_SPELL+TYPE_CONTINUOUS)
tc:RegisterEffect(e1)
tc=g:GetNext()
end
end
function c11185090.tfilter(c,sc,tp)
return c:IsFaceup() and Duel.GetMZoneCount(tp,c)>0 and c:IsSetCard(0x452)
end
function c11185090.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsCanBeSpecialSummoned(e,0,tp,false,false)
and Duel.IsExistingMatchingCard(c11185090.tfilter,tp,LOCATION_ONFIELD,0,1,nil,c,tp) end
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,tp,LOCATION_ONFIELD)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,0)
end
function c11185090.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectMatchingCard(tp,c11185090.tfilter,tp,LOCATION_ONFIELD,0,1,1,nil,c,tp)
if #g>0 and Duel.Destroy(g,REASON_EFFECT)~=0 then
local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)>0 then
if c:IsCanAddCounter(0x452,1) and Duel.SelectYesNo(tp,aux.Stringid(11185090,1)) then
Duel.BreakEffect()
c:AddCounter(0x452,1)
end
end
end
end
\ No newline at end of file
--星绘·鄢暨
function c11185095.initial_effect(c)
c:EnableCounterPermit(0x452)
--pendulum summon
aux.EnablePendulumAttribute(c)
--pzone
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_PZONE)
e1:SetHintTiming(0,TIMING_MAIN_END)
e1:SetCountLimit(1,11185095)
e1:SetCondition(c11185095.pccon)
e1:SetTarget(c11185095.pctg)
e1:SetOperation(c11185095.pcop)
c:RegisterEffect(e1)
--search
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e2:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e2:SetCode(EVENT_SUMMON_SUCCESS)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCountLimit(1,11185095+1)
e2:SetTarget(c11185095.thtg)
e2:SetOperation(c11185095.thop)
c:RegisterEffect(e2)
local e22=e2:Clone()
e22:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e22)
--SpecialSummon
local e3=Effect.CreateEffect(c)
e3:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DESTROY)
e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_FREE_CHAIN)
e3:SetRange(LOCATION_GRAVE+LOCATION_REMOVED)
e3:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e3:SetCountLimit(1,11185095+2)
e3:SetTarget(c11185095.sptg2)
e3:SetOperation(c11185095.spop2)
c:RegisterEffect(e3)
end
function c11185095.pccon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsMainPhase()
end
function c11185095.pcfilter(c)
return c:GetOriginalType()&(TYPE_PENDULUM)>0 and not c:IsForbidden() and c:IsSetCard(0x452)
and not c:IsLocation(LOCATION_PZONE+LOCATION_FZONE)
end
function c11185095.pctg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return (Duel.CheckLocation(tp,LOCATION_PZONE,0) or Duel.CheckLocation(tp,LOCATION_PZONE,1))
and Duel.IsExistingMatchingCard(c11185095.pcfilter,tp,0x38,0,1,nil) end
end
function c11185095.pcop(e,tp,eg,ep,ev,re,r,rp)
if not Duel.CheckLocation(tp,LOCATION_PZONE,0) and not Duel.CheckLocation(tp,LOCATION_PZONE,1) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c11185095.pcfilter),tp,0x38,0,1,1,nil)
if g:GetCount()>0 then
Duel.MoveToField(g:GetFirst(),tp,tp,LOCATION_PZONE,POS_FACEUP,true)
end
end
function c11185095.thfilter(c)
return c:IsSetCard(0x452) and c:IsType(TYPE_TRAP) and c:IsAbleToHand()
end
function c11185095.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c11185095.thfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end
function c11185095.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,c11185095.thfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
end
end
function c11185095.tfilter(c,sc,tp)
return c:IsFaceup() and Duel.GetMZoneCount(tp,c)>0 and c:IsSetCard(0x452)
end
function c11185095.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsCanBeSpecialSummoned(e,0,tp,false,false)
and Duel.IsExistingMatchingCard(c11185095.tfilter,tp,LOCATION_ONFIELD,0,1,nil,c,tp) end
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,tp,LOCATION_ONFIELD)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,0)
end
function c11185095.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectMatchingCard(tp,c11185095.tfilter,tp,LOCATION_ONFIELD,0,1,1,nil,c,tp)
if #g>0 and Duel.Destroy(g,REASON_EFFECT)~=0 then
local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)>0 then
if c:IsCanAddCounter(0x452,1) and Duel.SelectYesNo(tp,aux.Stringid(11185095,0)) then
Duel.BreakEffect()
c:AddCounter(0x452,1)
end
end
end
end
\ No newline at end of file
--星绘·星谛
function c11185100.initial_effect(c)
c:EnableCounterPermit(0x452)
--pendulum summon
aux.EnablePendulumAttribute(c)
--tograve
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_PZONE)
e1:SetHintTiming(0,TIMING_MAIN_END)
e1:SetCountLimit(1,11185100)
e1:SetCondition(c11185100.tgcon)
e1:SetCost(c11185100.tgcost)
e1:SetTarget(c11185100.tgtg)
e1:SetOperation(c11185100.tgop)
c:RegisterEffect(e1)
--pzone
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(11185100,1))
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_HAND)
e2:SetCountLimit(1,11185100+1)
e2:SetCost(c11185100.tfcost)
e2:SetTarget(c11185100.tftg)
e2:SetOperation(c11185100.tfop)
c:RegisterEffect(e2)
--SpecialSummon
local e3=Effect.CreateEffect(c)
e3:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DESTROY)
e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_FREE_CHAIN)
e3:SetRange(LOCATION_GRAVE+LOCATION_REMOVED)
e3:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e3:SetCountLimit(1,11185100+2)
e3:SetTarget(c11185100.sptg2)
e3:SetOperation(c11185100.spop2)
c:RegisterEffect(e3)
Duel.AddCustomActivityCounter(11185100,ACTIVITY_SUMMON,c11185100.counterfilter)
Duel.AddCustomActivityCounter(11185100,ACTIVITY_SPSUMMON,c11185100.counterfilter)
end
function c11185100.counterfilter(c)
return c:IsSetCard(0x452) or c:IsType(TYPE_TUNER)
end
function c11185100.tgcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsMainPhase()
end
function c11185100.tgcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetCustomActivityCount(11185100,tp,ACTIVITY_SUMMON)==0
and Duel.GetCustomActivityCount(11185100,tp,ACTIVITY_SPSUMMON)==0 end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(c11185100.splimit)
Duel.RegisterEffect(e1,tp)
local e2=e1:Clone()
e2:SetCode(EFFECT_CANNOT_SUMMON)
Duel.RegisterEffect(e2,tp)
end
function c11185100.splimit(e,c)
return not (c:IsSetCard(0x452) or c:IsType(TYPE_TUNER))
end
function c11185100.tgfilter(c)
return c:IsSetCard(0x452) and c:IsType(0x1) and (c:IsAbleToGrave() or c:IsAbleToRemove())
end
function c11185100.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c11185100.tgfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,tp,LOCATION_DECK)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,1,tp,LOCATION_DECK)
end
function c11185100.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(11185100,1))
local g=Duel.SelectMatchingCard(tp,c11185100.tgfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
local tc=g:GetFirst()
if tc and tc:IsAbleToGrave() and (not tc:IsAbleToRemove() or Duel.SelectOption(tp,1191,1192)==0) then
Duel.SendtoGrave(tc,REASON_EFFECT)
else
Duel.Remove(tc,POS_FACEUP,REASON_EFFECT)
end
end
end
function c11185100.tfcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsDiscardable() end
Duel.SendtoGrave(c,REASON_COST+REASON_DISCARD)
end
function c11185100.tffilter(c)
return c:IsSetCard(0x452) and c:IsType(TYPE_MONSTER) and not c:IsForbidden()
end
function c11185100.tftg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c11185100.tffilter,tp,0x40,0,1,nil)
and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 end
end
function c11185100.ctfilter(c)
return c:IsSetCard(0x452) and c:IsFaceup() and c:IsCanAddCounter(0x452,1)
end
function c11185100.tfop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c11185100.tffilter),tp,0x40,0,1,1,nil)
local tc=g:GetFirst()
if tc then
if Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) then
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+RESETS_STANDARD-RESET_TURN_SET)
e1:SetValue(TYPE_SPELL+TYPE_CONTINUOUS)
tc:RegisterEffect(e1)
local cg=Duel.GetMatchingGroup(c11185100.ctfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil)
if #cg>0 and Duel.SelectYesNo(tp,aux.Stringid(11185100,0)) then
Duel.BreakEffect()
local sg=cg:Select(tp,1,1,nil)
sg:GetFirst():AddCounter(0x452,1)
end
end
end
end
function c11185100.tfilter(c,sc,tp)
return c:IsFaceup() and Duel.GetMZoneCount(tp,c)>0 and c:IsSetCard(0x452)
end
function c11185100.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsCanBeSpecialSummoned(e,0,tp,false,false)
and Duel.IsExistingMatchingCard(c11185100.tfilter,tp,LOCATION_ONFIELD,0,1,nil,c,tp) end
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,tp,LOCATION_ONFIELD)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,0)
end
function c11185100.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectMatchingCard(tp,c11185100.tfilter,tp,LOCATION_ONFIELD,0,1,1,nil,c,tp)
if #g>0 and Duel.Destroy(g,REASON_EFFECT)~=0 then
local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)>0 then
if c:IsCanAddCounter(0x452,1) and Duel.SelectYesNo(tp,aux.Stringid(11185100,0)) then
Duel.BreakEffect()
c:AddCounter(0x452,1)
end
end
end
end
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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