Commit cb090cb0 authored by Nemo Ma's avatar Nemo Ma

fix

parent 8387ad3c
...@@ -52,13 +52,14 @@ ...@@ -52,13 +52,14 @@
#337 #337
33700036 0 --Protoform 咲夜 33700036 0 --Protoform 咲夜
33700058 1 --砂之星之奇迹 33700058 0 --砂之星之奇迹
33700081 1 --动物朋友 鲸头鹳 33700081 0 --动物朋友 鲸头鹳
33700082 0 --动物朋友 东之青龙
33700085 1 --动物朋友 西之白虎 33700085 1 --动物朋友 西之白虎
33700093 1 --动物朋友 土狼 33700093 0 --动物朋友 土狼
33700181 2 --动物朋友 狞猫 33700181 2 --动物朋友 狞猫
33700175 1 --朱雀的净化 33700175 1 --朱雀的净化
33700186 1 --动物朋友 九州长尾林鸮 33700186 0 --动物朋友 九州长尾林鸮
33700200 1 --天降妹抖 VIVIT 33700200 1 --天降妹抖 VIVIT
33700311 1 --慧心花姬 翠 33700311 1 --慧心花姬 翠
33700405 2 --切缘 33700405 2 --切缘
...@@ -72,6 +73,10 @@ ...@@ -72,6 +73,10 @@
33700901 1 --~希望的磷光~ Niko 33700901 1 --~希望的磷光~ Niko
33700388 1 --虚拟YouTuber 东北 切蒲英 33700388 1 --虚拟YouTuber 东北 切蒲英
#650
65010087 1 --星光歌剧 神乐光Revue
#BUGs #BUGs
......
No preview for this file type
...@@ -6,7 +6,7 @@ function cm.initial_effect(c) ...@@ -6,7 +6,7 @@ function cm.initial_effect(c)
local e1=rsef.ACT(c) local e1=rsef.ACT(c)
local e2=rsef.FV_CANNOT_BE_TARGET(c,"effect",aux.tgoval,aux.TargetBoolFunction(Card.IsSetCard,0xa336),{LOCATION_MZONE,0},cm.con) local e2=rsef.FV_CANNOT_BE_TARGET(c,"effect",aux.tgoval,aux.TargetBoolFunction(Card.IsSetCard,0xa336),{LOCATION_MZONE,0},cm.con)
local e3=rsef.FV_INDESTRUCTABLE(c,"effect",aux.indoval,cm.tg,{LOCATION_ONFIELD,0},cm.con) local e3=rsef.FV_INDESTRUCTABLE(c,"effect",aux.indoval,cm.tg,{LOCATION_ONFIELD,0},cm.con)
local e4=rsef.FV_IMMUNE_EFFECT(c,rsval.imoe,aux.TargetBoolFunction(Card.IsSetCard,0xa336),{LOCATION_MZONE,0},cm.con2) local e4=rsef.FV_IMMUNE_EFFECT(c,rsval.imoe,cm.imtg,{LOCATION_ONFIELD,0},cm.con2)
local e5=rsqd.ContinuousFun(c) local e5=rsqd.ContinuousFun(c)
end end
function cm.cfilter(c) function cm.cfilter(c)
...@@ -24,3 +24,6 @@ end ...@@ -24,3 +24,6 @@ end
function cm.tg(e,c) function cm.tg(e,c)
return c:IsSetCard(0xa336) or c:IsFacedown() return c:IsSetCard(0xa336) or c:IsFacedown()
end end
function cm.imtg(e,c)
return c:IsSetCard(0xa336) and c:IsType(TYPE_SPELL+TYPE_TRAP)
end
\ No newline at end of file
...@@ -87,12 +87,16 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -87,12 +87,16 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e1:SetCode(EVENT_CHAINING) e1:SetCode(EVENT_CHAINING)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetCountLimit(val) e1:SetCountLimit(val)
e1:SetCondition(cm.discon)
e1:SetOperation(cm.disop) e1:SetOperation(cm.disop)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function cm.discon(e,tp,eg,ep,ev,re,r,rp)
return ep~=tp
end
function cm.disop(e,tp,eg,ep,ev,re,r,rp) function cm.disop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if ep~=tp and eg:GetCount()>0 then if eg:GetCount()>0 then
local tc=eg:GetFirst() local tc=eg:GetFirst()
while tc do while tc do
if not tc:IsImmuneToEffect(e) then if not tc:IsImmuneToEffect(e) then
......
...@@ -57,7 +57,9 @@ function c9980770.cfilter(c) ...@@ -57,7 +57,9 @@ function c9980770.cfilter(c)
end end
function c9980770.spcost(e,tp,eg,ep,ev,re,r,rp,chk) function c9980770.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c9980770.cfilter,tp,LOCATION_ONFIELD,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c9980770.cfilter,tp,LOCATION_ONFIELD,0,1,nil) end
Duel.DiscardHand(tp,c9980770.cfilter,1,1,REASON_COST) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,c9980770.cfilter,tp,LOCATION_ONFIELD,0,1,1,nil)
Duel.SendtoGrave(g,REASON_COST)
end end
function c9980770.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c9980770.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -89,7 +89,7 @@ function c9980792.spcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -89,7 +89,7 @@ function c9980792.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c9980792.cfilter,tp,LOCATION_MZONE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c9980792.cfilter,tp,LOCATION_MZONE,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,c9980792.cfilter,tp,LOCATION_MZONE,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c9980792.cfilter,tp,LOCATION_MZONE,0,1,1,nil)
Duel.Remove(g,POS_FACEUP,REASON_COST)) Duel.Remove(g,POS_FACEUP,REASON_COST)
end end
function c9980792.spfilter(c,e,mc,tp) function c9980792.spfilter(c,e,mc,tp)
return c:IsSetCard(0xabc1) and c:IsType(TYPE_FUSION) and c:IsLevelBelow(8) and c:IsCanBeSpecialSummoned(e,0,tp,true,false) and Duel.GetLocationCountFromEx(tp,tp,Group.FromCards(c,mc))>0 return c:IsSetCard(0xabc1) and c:IsType(TYPE_FUSION) and c:IsLevelBelow(8) and c:IsCanBeSpecialSummoned(e,0,tp,true,false) and Duel.GetLocationCountFromEx(tp,tp,Group.FromCards(c,mc))>0
......
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