Commit eef74803 authored by 未闻皂名's avatar 未闻皂名

2022/8/18 新增:NS游戏的3张附赠卡,更新卡密

parent 332d296f
No preview for this file type
No preview for this file type
local m=120228001
local m=120223101
local cm=_G["c"..m]
cm.name="双管手枪龙"
function cm.initial_effect(c)
......
local m=120228002
local m=120223102
local cm=_G["c"..m]
cm.name="幻影之龙"
function cm.initial_effect(c)
......
local m=120228003
local m=120223103
local cm=_G["c"..m]
cm.name="火焰支配者"
function cm.initial_effect(c)
......
local m=120228005
local m=120223105
local cm=_G["c"..m]
cm.name="激流葬"
function cm.initial_effect(c)
......
local m=120229041
local m=120228041
local cm=_G["c"..m]
cm.name="接合科技超速角枪"
function cm.initial_effect(c)
......
local m=120229042
local m=120228042
local cm=_G["c"..m]
cm.name="查询键刃"
cm.name="QWERTY键盘刃"
function cm.initial_effect(c)
--Activate
RD.RegisterEquipEffect(c,nil,nil,cm.target)
......
local m=120229043
local m=120228043
local cm=_G["c"..m]
cm.name="化学武器·红"
cm.name="化学化弹·红"
function cm.initial_effect(c)
--Activate
RD.RegisterEquipEffect(c,nil,nil,cm.target)
......
local m=120229050
local m=120228050
local list={120105001}
local cm=_G["c"..m]
cm.name="大道武装-七星枪"
cm.name="大道武器-七魔导枪"
function cm.initial_effect(c)
aux.AddCodeList(c,list[1])
--Activate
......
local m=120229059
local m=120228059
local cm=_G["c"..m]
cm.name="升阵的装备品"
function cm.initial_effect(c)
......
local m=120229001
local cm=_G["c"..m]
cm.name="银线暴空想龙"
function cm.initial_effect(c)
--Atk Up
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(cm.cost)
e1:SetOperation(cm.operation)
c:RegisterEffect(e1)
end
--Atk Up
function cm.costfilter(c)
return c:IsAbleToGraveAsCost()
end
function cm.exfilter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP)
end
cm.cost=RD.CostSendOnFieldToGrave(cm.costfilter,1,1,true)
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsFaceup() and c:IsRelateToEffect(e) then
local reset=RESET_EVENT+RESETS_STANDARD+RESET_DISABLE+RESET_PHASE+PHASE_END
RD.AttachAtkDef(e,c,500,0,reset)
if not Duel.IsExistingMatchingCard(cm.exfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) then
RD.AttachExtraAttackMonster(e,c,1,aux.Stringid(m,1),reset)
end
end
end
\ No newline at end of file
local m=120229002
local cm=_G["c"..m]
cm.name="魔术女武神"
function cm.initial_effect(c)
--Cannot Be Battle Target
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(0,LOCATION_MZONE)
e1:SetValue(cm.target)
c:RegisterEffect(e1)
end
--Cannot Be Battle Target
function cm.target(e,c)
return c~=e:GetHandler() and c:IsFaceup() and c:IsRace(RACE_SPELLCASTER)
end
\ No newline at end of file
local m=120229003
local cm=_G["c"..m]
cm.name="大风暴"
function cm.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(cm.target)
e1:SetOperation(cm.activate)
c:RegisterEffect(e1)
end
--Activate
function cm.filter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,c) end
local sg=Duel.GetMatchingGroup(cm.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,c)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,sg,sg:GetCount(),0,0)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local sg=Duel.GetMatchingGroup(cm.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,aux.ExceptThisCard(e))
Duel.Destroy(sg,REASON_EFFECT)
end
\ No newline at end of file
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