Commit f725e5a6 authored by Tachibana's avatar Tachibana

nmbd

parent 1e189628
--天使-绝灭天使 日轮
function c33400451.initial_effect(c)
c:SetUniqueOnField(1,0,c33400451.uqfilter,LOCATION_ONFIELD)
--Activate
local e10=Effect.CreateEffect(c)
e10:SetType(EFFECT_TYPE_ACTIVATE)
e10:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e10)
--destory
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
......
--天使-绝灭天使 天翼
function c33400452.initial_effect(c)
c:SetUniqueOnField(1,0,c33400452.uqfilter,LOCATION_ONFIELD)
--Activate
local e10=Effect.CreateEffect(c)
e10:SetType(EFFECT_TYPE_ACTIVATE)
e10:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e10)
--move
local e4=Effect.CreateEffect(c)
e4:SetDescription(aux.Stringid(33400452,0))
......
--天使-绝灭天使 光剑
function c33400453.initial_effect(c)
--Activate
local e10=Effect.CreateEffect(c)
e10:SetType(EFFECT_TYPE_ACTIVATE)
e10:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e10)
--
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(33400453,0))
......
--天使-绝灭天使 炮冠
function c33400454.initial_effect(c)
--Activate
local e10=Effect.CreateEffect(c)
e10:SetType(EFFECT_TYPE_ACTIVATE)
e10:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e10)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(33400454,0))
......
......@@ -5,6 +5,11 @@ function cm.initial_effect(c)
c:SetUniqueOnField(1,0,m)
cm.dfc_front_side=33400651
cm.dfc_back_side=33400652
--Activate
local e10=Effect.CreateEffect(c)
e10:SetType(EFFECT_TYPE_ACTIVATE)
e10:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e10)
--
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,1))
......@@ -97,7 +102,7 @@ local c=e:GetHandler()
tc:RegisterEffect(e2)
Duel.RegisterFlagEffect(tp,m+80001,RESET_EVENT+RESET_PHASE+PHASE_END,0,0)
end
if op[op1]==2 then
if op[op1]==2 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local tdc=Duel.SelectMatchingCard(tp,cm.tdfilter,tp,LOCATION_REMOVED,0,4,4,nil)
Duel.SendtoDeck(tdc,tp,2,REASON_EFFECT)
......@@ -119,7 +124,7 @@ Duel.RegisterFlagEffect(tp,m+80001,RESET_EVENT+RESET_PHASE+PHASE_END,0,0)
tc:RegisterEffect(e2)
Duel.RegisterFlagEffect(tp,m+80002,RESET_EVENT+RESET_PHASE+PHASE_END,0,0)
end
if op[op1]==3 then
if op[op1]==3 then
c:SetEntityCode(33400651,true)
c:ReplaceEffect(33400651,0,0)
Duel.RegisterFlagEffect(tp,m+80003,RESET_EVENT+RESET_PHASE+PHASE_END,0,0)
......
......@@ -3,6 +3,11 @@ local m=33401051
local cm=_G["c"..m]
function cm.initial_effect(c)
c:SetUniqueOnField(1,0,m)
--Activate
local e10=Effect.CreateEffect(c)
e10:SetType(EFFECT_TYPE_ACTIVATE)
e10:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e10)
--destroy
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(m,0))
......@@ -58,9 +63,9 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
local dm1=Duel.Destroy(tg1,REASON_EFFECT)
if dm1~=0 then
Duel.Damage(1-tp,500*dm1,REASON_EFFECT)
Duel.Damage(tp,500*dm1,REASON_EFFECT)
Duel.Damage(tp,500*dm1,REASON_EFFECT)
end
if Duel.IsExistingMatchingCard(cm.filter2,tp,LOCATION_FZONE,0,1,nil) then
if Duel.IsExistingMatchingCard(cm.filter2,tp,LOCATION_FZONE,0,1,nil) then
if Duel.SelectYesNo(tp,aux.Stringid(m,1)) then
local seq=tc:GetSequence()
local dg=Duel.GetMatchingGroup(cm.desfilter2,tp,0,LOCATION_ONFIELD,nil,seq,tp)
......
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