Commit c1906e05 authored by Tachibana's avatar Tachibana

nmbd

parent 1a4416a4
...@@ -27,7 +27,7 @@ function cm.initial_effect(c) ...@@ -27,7 +27,7 @@ function cm.initial_effect(c)
--destroy --destroy
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(m,1)) e3:SetDescription(aux.Stringid(m,1))
e3:SetCategory(CATEGORY_DESTROY+CATEGORY_NEGATE) e3:SetCategory(CATEGORY_DESTROY+CATEGORY_DISABLE)
e3:SetType(EFFECT_TYPE_QUICK_O) e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_CHAINING) e3:SetCode(EVENT_CHAINING)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
...@@ -89,6 +89,9 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -89,6 +89,9 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
e2:SetValue(RESET_TURN_SET) e2:SetValue(RESET_TURN_SET)
e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END) e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e2) tc:RegisterEffect(e2)
Duel.Destroy(tc,REASON_EFFECT) Duel.BreakEffect()
if tc:IsDisabled() then
Duel.Destroy(tc,REASON_EFFECT)
end
end end
end end
\ No newline at end of file
...@@ -20,8 +20,8 @@ function c71400014.initial_effect(c) ...@@ -20,8 +20,8 @@ function c71400014.initial_effect(c)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(71400014,1)) e2:SetDescription(aux.Stringid(71400014,1))
e2:SetCategory(CATEGORY_TOGRAVE) e2:SetCategory(CATEGORY_TOGRAVE)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_SPSUMMON_SUCCESS) e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_FZONE) e2:SetRange(LOCATION_FZONE)
e2:SetCountLimit(1) e2:SetCountLimit(1)
e2:SetCost(c71400014.cost2) e2:SetCost(c71400014.cost2)
......
...@@ -12,6 +12,7 @@ function c71400016.initial_effect(c) ...@@ -12,6 +12,7 @@ function c71400016.initial_effect(c)
e1:SetCategory(CATEGORY_SUMMON) e1:SetCategory(CATEGORY_SUMMON)
e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetRange(LOCATION_FZONE) e1:SetRange(LOCATION_FZONE)
e2:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1) e1:SetCountLimit(1)
e1:SetCondition(c71400016.con1) e1:SetCondition(c71400016.con1)
e1:SetTarget(c71400016.tg1) e1:SetTarget(c71400016.tg1)
......
...@@ -42,7 +42,7 @@ function c71400033.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -42,7 +42,7 @@ function c71400033.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.SetLP(tp,Duel.GetLP(tp)-1500) Duel.SetLP(tp,Duel.GetLP(tp)-1500)
local fc=Duel.GetFieldCard(tp,LOCATION_FZONE,0) local fc=Duel.GetFieldCard(tp,LOCATION_FZONE,0)
if fc and yume.YumeCheckFilter(fc) then if fc and yume.YumeCheckFilter(fc) then
Duel.SendtoDeck(c,nil,2,REASON_EFFECT) Duel.SendtoDeck(fc,nil,2,REASON_EFFECT)
end end
end end
if c:IsRelateToEffect(e) and c:IsCanTurnSet() then if c:IsRelateToEffect(e) and c:IsCanTurnSet() then
......
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