Commit 2d1a685b authored by Tachibana's avatar Tachibana

nmbd

parent b84ee26e
...@@ -397,6 +397,7 @@ ...@@ -397,6 +397,7 @@
16107102 0 --G-神智的天导 16107102 0 --G-神智的天导
16107113 0 --G-神智的戒封 16107113 0 --G-神智的戒封
16107116 0 --G-神智龙 弗尔布雷·多雷克斯 16107116 0 --G-神智龙 弗尔布雷·多雷克斯
16130004 0 --B.O.W.多乳怪
16130008 1 --B.O.W.尖啸者 16130008 1 --B.O.W.尖啸者
16160004 1 --憎恶的狂战士 兰斯洛特 16160004 1 --憎恶的狂战士 兰斯洛特
16161010 0 --卡多克·泽姆露普斯 16161010 0 --卡多克·泽姆露普斯
...@@ -616,7 +617,7 @@ ...@@ -616,7 +617,7 @@
30005000 1 --误召异神 30005000 1 --误召异神
30005005 1 --恶染侵覆 30005005 1 --恶染侵覆
30005020 1 --心哀想 30005020 1 --心哀想
30013020 1 --深土看守者 花鸟龙 普拉库利 30013020 2 --深土看守者 花鸟龙 普拉库利
#305 #305
30553001 0 --异械教国 护卫兵械 30553001 0 --异械教国 护卫兵械
30553003 0 --异械教国 运输兵械 30553003 0 --异械教国 运输兵械
...@@ -923,10 +924,13 @@ ...@@ -923,10 +924,13 @@
40009199 0 --时机龙骑·原点巡廻 40009199 0 --时机龙骑·原点巡廻
40009207 1 --时机冲击 40009207 1 --时机冲击
40009208 1 --时机超越 40009208 1 --时机超越
40009526 0 --晓天之剑圣 格吉特·赫利俄斯
#440 #440
44000017 0 --骰娘之主 古 44000017 0 --骰娘之主 古
44000018 0 --骰娘之主 追仙 44000018 0 --骰娘之主 追仙
44000019 0 --骰娘之主 多多 44000019 0 --骰娘之主 多多
#457
45746851 0 --营地
#465 #465
46564044 0 --半分虚幻的庭师 46564044 0 --半分虚幻的庭师
#475 #475
...@@ -1221,7 +1225,7 @@ ...@@ -1221,7 +1225,7 @@
72411120 1 --魔法学院·马纳历亚 72411120 1 --魔法学院·马纳历亚
72411740 0 --乱无章法的嵌合 72411740 0 --乱无章法的嵌合
72412110 0 --蘑仔 72412110 0 --蘑仔
72412350 1 --镜月花 72412350 0 --镜月花
72499010 2 --妖樱火 72499010 2 --妖樱火
#756 #756
75640052 0 --旅人 伊蕾娜 75640052 0 --旅人 伊蕾娜
......
...@@ -87,7 +87,7 @@ function cm.xfilters(c) ...@@ -87,7 +87,7 @@ function cm.xfilters(c)
return c:GetSequence()<5 return c:GetSequence()<5
end end
function cm.spcon1(e,tp,eg,ep,ev,re,r,rp) function cm.spcon1(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetMatchingGroupCount(cm.xfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)>0 and not Duel.IsExistingMatchingCard(cm.xfilters,tp,LOCATION_MZONE,0,1,nil) return Duel.GetMatchingGroupCount(cm.xfilter,tp,LOCATION_MZONE,0,nil)>0 and not Duel.IsExistingMatchingCard(cm.xfilters,tp,LOCATION_MZONE,0,1,nil)
end end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToHand() end if chk==0 then return e:GetHandler():IsAbleToHand() end
......
...@@ -91,7 +91,7 @@ function c12051011.xfilters(c) ...@@ -91,7 +91,7 @@ function c12051011.xfilters(c)
return c:GetSequence()<5 return c:GetSequence()<5
end end
function c12051011.spcon1(e,tp,eg,ep,ev,re,r,rp) function c12051011.spcon1(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetMatchingGroupCount(c12051011.xfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)>0 and not Duel.IsExistingMatchingCard(c12051011.xfilters,tp,LOCATION_MZONE,0,1,nil) return Duel.GetMatchingGroupCount(c12051011.xfilter,tp,LOCATION_MZONE,0,nil)>0 and not Duel.IsExistingMatchingCard(c12051011.xfilters,tp,LOCATION_MZONE,0,1,nil)
end end
function c12051011.target(e,tp,eg,ep,ev,re,r,rp,chk) function c12051011.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c12051011.filter,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,nil) and e:GetHandler():IsAbleToRemove() end if chk==0 then return Duel.IsExistingMatchingCard(c12051011.filter,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,nil) and e:GetHandler():IsAbleToRemove() end
......
...@@ -87,7 +87,7 @@ function c12051012.xfilters(c) ...@@ -87,7 +87,7 @@ function c12051012.xfilters(c)
return c:GetSequence()<5 return c:GetSequence()<5
end end
function c12051012.spcon1(e,tp,eg,ep,ev,re,r,rp) function c12051012.spcon1(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetMatchingGroupCount(c12051012.xfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)>0 and not Duel.IsExistingMatchingCard(c12051012.xfilters,tp,LOCATION_MZONE,0,1,nil) or (Duel.GetFlagEffect(tp,12051012)==0 and e:GetHandler():GetLocation(LOCATION_GRAVE) and Duel.GetMatchingGroupCount(c12051012.xfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)>0 and not Duel.IsExistingMatchingCard(c12051012.xfilters,tp,LOCATION_MZONE,0,1,nil) ) return Duel.GetMatchingGroupCount(c12051012.xfilter,tp,LOCATION_MZONE,0,nil)>0 and not Duel.IsExistingMatchingCard(c12051012.xfilters,tp,LOCATION_MZONE,0,1,nil) and ( Duel.GetFlagEffect(tp,12051012)==0 or e:GetHandler():GetLocation(LOCATION_HAND) )
end end
function c12051012.target(e,tp,eg,ep,ev,re,r,rp,chk) function c12051012.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(aux.TRUE,tp,0,LOCATION_ONFIELD,1,nil) and e:GetHandler():IsAbleToRemove() end if chk==0 then return Duel.IsExistingMatchingCard(aux.TRUE,tp,0,LOCATION_ONFIELD,1,nil) and e:GetHandler():IsAbleToRemove() end
......
...@@ -83,7 +83,7 @@ function c12051020.xfilters(c) ...@@ -83,7 +83,7 @@ function c12051020.xfilters(c)
end end
function c12051020.condition(e,tp,eg,ep,ev,re,r,rp) function c12051020.condition(e,tp,eg,ep,ev,re,r,rp)
local ct=re:GetHandler() local ct=re:GetHandler()
return re:GetHandler():IsRace(RACE_WINDBEAST) and Duel.GetFlagEffect(tp,m)==0 and Duel.GetMatchingGroupCount(c12051020.xfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)>0 and not Duel.IsExistingMatchingCard(c12051020.xfilters,tp,LOCATION_MZONE,0,1,nil) return re:GetHandler():IsRace(RACE_WINDBEAST) and Duel.GetFlagEffect(tp,m)==0 and Duel.GetMatchingGroupCount(c12051020.xfilter,tp,LOCATION_MZONE,0,nil)>0 and not Duel.IsExistingMatchingCard(c12051020.xfilters,tp,LOCATION_MZONE,0,1,nil)
end end
function c12051020.disop(e,tp,eg,ep,ev,re,r,rp) function c12051020.disop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -90,7 +90,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -90,7 +90,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,cm.thfilter,tp,LOCATION_SZONE,LOCATION_SZONE,1,1,nil) local g=Duel.SelectMatchingCard(tp,cm.thfilter,tp,LOCATION_SZONE,LOCATION_SZONE,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.HintSelection(g) Duel.HintSelection(g)
if Duel.SendtoDeck(g,nil,REASON_EFFECT)~=0 then if Duel.SendtoDeck(g,nil,2,REASON_EFFECT)~=0 then
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) then
Duel.SendtoHand(c,nil,REASON_EFFECT) Duel.SendtoHand(c,nil,REASON_EFFECT)
......
...@@ -10,7 +10,7 @@ function cm.initial_effect(c) ...@@ -10,7 +10,7 @@ function cm.initial_effect(c)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(cm.condition) e1:SetCondition(cm.condition)
e1:SetTarget(cm.target) e1:SetTarget(cm.target)
e1:SetOperation(cm.activate) e1:SetOperation(cm.operation)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--recover --recover
local e4=Effect.CreateEffect(c) local e4=Effect.CreateEffect(c)
...@@ -31,7 +31,7 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -31,7 +31,7 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_MZONE,0,1,nil)
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 chkc:IsLocation(LOCATION_ONFIELD+LOCATION_GRAVE) and chkc:IsControler(1-tp) and aux.disfilter1(chkc) and chkc:IsAbleToRemove() end if chkc then return chkc:IsLocation(LOCATION_ONFIELD+LOCATION_GRAVE) and chkc:IsControler(1-tp) and chkc:IsAbleToRemove() end
if chk==0 then return Duel.IsExistingTarget( cm.filter,tp,0,LOCATION_ONFIELD+LOCATION_GRAVE,1,nil) end if chk==0 then return Duel.IsExistingTarget( cm.filter,tp,0,LOCATION_ONFIELD+LOCATION_GRAVE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectTarget(tp,cm.filter,tp,0,LOCATION_ONFIELD+LOCATION_GRAVE,1,1,nil) local g=Duel.SelectTarget(tp,cm.filter,tp,0,LOCATION_ONFIELD+LOCATION_GRAVE,1,1,nil)
......
...@@ -91,7 +91,7 @@ function c71400016.checkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -91,7 +91,7 @@ function c71400016.checkop(e,tp,eg,ep,ev,re,r,rp)
e2:SetLabel(1) e2:SetLabel(1)
end end
function c71400016.reccon(e,tp,eg,ep,ev,re,r,rp) function c71400016.reccon(e,tp,eg,ep,ev,re,r,rp)
return e:GetLabel()==1 and c:IsPreviousLocation(LOCATION_MZONE) return e:GetLabel()==1 and e:GetHandler():IsPreviousLocation(LOCATION_MZONE)
end end
function c71400016.recop(e,tp,eg,ep,ev,re,r,rp) function c71400016.recop(e,tp,eg,ep,ev,re,r,rp)
Duel.Recover(tp,e:GetLabelObject():GetBaseAttack(),REASON_EFFECT) Duel.Recover(tp,e:GetLabelObject():GetBaseAttack(),REASON_EFFECT)
......
...@@ -9,6 +9,7 @@ function c71400032.initial_effect(c) ...@@ -9,6 +9,7 @@ function c71400032.initial_effect(c)
e1:SetRange(LOCATION_FZONE) e1:SetRange(LOCATION_FZONE)
e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE) e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e1:SetCode(EFFECT_CHANGE_RACE) e1:SetCode(EFFECT_CHANGE_RACE)
e1:SetTarget(c71400032.tg1)
e1:SetValue(RACE_PLANT) e1:SetValue(RACE_PLANT)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--disable --disable
...@@ -27,6 +28,9 @@ function c71400032.initial_effect(c) ...@@ -27,6 +28,9 @@ function c71400032.initial_effect(c)
--self to deck & activate field --self to deck & activate field
yume.AddYumeFieldGlobal(c,71400032,2) yume.AddYumeFieldGlobal(c,71400032,2)
end end
function c71400032.con1(e,c)
return not c71400032.filter2b(c)
end
function c71400032.con2(e,tp,eg,ep,ev,re,r,rp) function c71400032.con2(e,tp,eg,ep,ev,re,r,rp)
local ph=Duel.GetCurrentPhase() local ph=Duel.GetCurrentPhase()
return ph==PHASE_MAIN1 or ph==PHASE_MAIN2 return ph==PHASE_MAIN1 or ph==PHASE_MAIN2
......
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