Commit b3789c3f authored by TanakaKotoha's avatar TanakaKotoha

fix and clean

parent ae39abbd
No preview for this file type
...@@ -69,7 +69,6 @@ ...@@ -69,7 +69,6 @@
09910379 2 --常陆茉子 09910379 2 --常陆茉子
09910380 1 --蕾娜·莉希特娜瓦 09910380 1 --蕾娜·莉希特娜瓦
09910381 1 --有地将臣 09910381 1 --有地将臣
#还会回来的,一定
#109 #109
10904000 1 --灵刻使 月魔女 10904000 1 --灵刻使 月魔女
...@@ -301,7 +300,6 @@ ...@@ -301,7 +300,6 @@
17060885 1 --圣夜型多莫维依 17060885 1 --圣夜型多莫维依
17050946 2 --迷你撒旦 17050946 2 --迷你撒旦
17060920 1 --交响型亚瑟 17060920 1 --交响型亚瑟
17010307 1 --宵之审问者 赫莱尔·本·夏蕾姆
17050923 0 --邪教化身 17050923 0 --邪教化身
17060814 1 --和战型富豪亚瑟 17060814 1 --和战型富豪亚瑟
17060942 0 --王者之席 君士坦丁 17060942 0 --王者之席 君士坦丁
...@@ -389,7 +387,7 @@ ...@@ -389,7 +387,7 @@
26810000 2 --如月千早 26810000 2 --如月千早
26810002 2 --苍蓝之声·如月千早 26810002 2 --苍蓝之声·如月千早
26810003 2 --游园地·如月千早 26810003 2 --游园地·如月千早
#26810005 1 --晨间特训·如月千早 #26810005 1 --欢迎世界·如月千早
#26810008 1 --初夏海岸线·如月千早 #26810008 1 --初夏海岸线·如月千早
26810009 1 --雪之花·如月千早 26810009 1 --雪之花·如月千早
26805008 2 --雨落树荫 26805008 2 --雨落树荫
...@@ -408,7 +406,7 @@ ...@@ -408,7 +406,7 @@
26806003 2 --彼此的世界·海伊 26806003 2 --彼此的世界·海伊
26806028 1 --好久不见·海伊 26806028 1 --好久不见·海伊
#26806045 1 --不思议之国·苍穹 #26806045 1 --不思议之国·苍穹
26806050 1 --鹊桥相会·ZERO 26806050 1 --洁净时间·海伊
26808008 1 --特别瞬间·白鹭千圣 26808008 1 --特别瞬间·白鹭千圣
26809025 0 --Despair of Infinite 26809025 0 --Despair of Infinite
26809026 0 --Precious Sword 26809026 0 --Precious Sword
...@@ -421,7 +419,7 @@ ...@@ -421,7 +419,7 @@
26818010 2 --小鸟游雏田 26818010 2 --小鸟游雏田
26806008 1 --黄昏灯塔·海伊 26806008 1 --黄昏灯塔·海伊
26806009 1 --亚特兰蒂斯的歌声 26806009 1 --亚特兰蒂斯的歌声
26806051 1 --花好月圆·ZERO 26806051 1 --海浪之舞·海伊
26807043 0 --燃烬的现实 26807043 0 --燃烬的现实
26809037 2 --人赐良机 26809037 2 --人赐良机
26807033 0 --小巷探秘 26807033 0 --小巷探秘
......
...@@ -62,12 +62,12 @@ function c10908004.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -62,12 +62,12 @@ function c10908004.activate(e,tp,eg,ep,ev,re,r,rp)
tc:RegisterEffect(e2) tc:RegisterEffect(e2)
end end
end end
function c10908004.filter(c,e,tp) function c10908004.filter2(c,e,tp)
return c:IsSetCard(0x23b) and (c:IsCanBeSpecialSummoned(e,0,tp,false,false) or c:IsSummonable(true,nil)) return c:IsSetCard(0x23b) and (c:IsCanBeSpecialSummoned(e,0,tp,false,false) or c:IsSummonable(true,nil))
end end
function c10908004.sumtg(e,tp,eg,ep,ev,re,r,rp,chk) function c10908004.sumtg(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
and Duel.IsExistingMatchingCard(c10908004.filter,tp,LOCATION_HAND+LOCATION_GRAVE,0,1,nil,e,tp) end and Duel.IsExistingMatchingCard(c10908004.filter2,tp,LOCATION_HAND+LOCATION_GRAVE,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_GRAVE) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_GRAVE)
Duel.SetOperationInfo(0,CATEGORY_SUMMON,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SUMMON,nil,1,0,0)
end end
...@@ -75,7 +75,7 @@ function c10908004.sumop(e,tp,eg,ep,ev,re,r,rp) ...@@ -75,7 +75,7 @@ function c10908004.sumop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SUMMON)
local g=Duel.SelectMatchingCard(tp,c10908004.filter,tp,LOCATION_HAND+LOCATION_GRAVE,0,1,1,nil,e,tp) local g=Duel.SelectMatchingCard(tp,c10908004.filter2,tp,LOCATION_HAND+LOCATION_GRAVE,0,1,1,nil,e,tp)
if g:GetCount()>0 then if g:GetCount()>0 then
if g:GetFirst():GetLocation()==LOCATION_GRAVE if g:GetFirst():GetLocation()==LOCATION_GRAVE
then then
......
--光辉星曜·圣芒 --光辉星曜·圣芒
function c66915005.initial_effect(c)
function c66915005.initial_effect(c) function c66915005.initial_effect(c)
c:SetUniqueOnField(1,0,66915005) c:SetUniqueOnField(1,0,66915005)
--Activate --Activate
......
...@@ -56,13 +56,13 @@ function cm.dfilter(c,code) ...@@ -56,13 +56,13 @@ function cm.dfilter(c,code)
end end
function cm.tftg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.tftg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0
and Duel.IsExistingMatchingCard(cm.tffilter,tp,LOCATION_DECK,0,1,nil,tp) end and Duel.IsExistingMatchingCard(cm.tffilter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil,tp) end
Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription()) Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
end end
function cm.tfop(e,tp,eg,ep,ev,re,r,rp) function cm.tfop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local tc=Duel.SelectMatchingCard(tp,cm.tffilter,tp,LOCATION_DECK,0,1,1,nil,tp):GetFirst() local tc=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(cm.tffilter),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil,tp):GetFirst()
if tc then if tc then
Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
......
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