Commit 29b09a9c authored by 未闻皂名's avatar 未闻皂名

2025/12/27 新增:神风防护罩 -大气之力-

parent 5a72a487
Pipeline #42182 passed with stages
in 11 minutes and 8 seconds
No preview for this file type
......@@ -121,6 +121,7 @@ $legend_trap 1
120272064 $legend_trap 1 -- 第六感
120274084 $legend_trap 1 -- 波纹防护罩 -波浪之力-
120247065 $legend_trap 1 -- 神鸟攻击
120298058 $legend_trap 1 -- 神风防护罩 -大气之力-
120000000 1 -- 怪兽传说卡 (Legend Monster)
120000001 1 -- 魔法传说卡 (Legend Spell)
......@@ -138,15 +139,14 @@ $legend_trap 1
120257036 1 -- 七宝神-良财
120261058 1 -- 宇宙姬的嬉戏
120257057 1 -- 机器检查员
120260076 1 -- 天使的玉米
120246084 1 -- 魔导书弃却
120283032 1 -- 鹰身女郎1·2·3
120254018 1 -- 鹰身女郎 宠物主人
120247004 1 -- 鹰身女郎1
120247005 1 -- 鹰身女郎2
120277027 1 -- 魔力动物守卫者
120274065 1 -- 梦中的拥抱
120280006 1 -- 混沌之翼龙
120208053 1 -- 幽灵旋风
#Semi-Limit
120217035 2 -- 革新制壶陶艺家
......@@ -156,8 +156,10 @@ $legend_trap 1
120246081 2 -- 黑曜之魔导兵
120257021 2 -- 深渊杀戮者·提亚玛特女王
120247014 2 -- 万华镜-华丽的分身-
120263030 2 -- 元素循环
120208053 2 -- 幽灵旋风
120264028 2 -- 莓果新人·羞怯小莓
120280007 2 -- 进军的路易斯
120257066 2 -- 日落逆转
120277024 2 -- 卡片防御士
120235063 2 -- 传统税
120260076 2 -- 天使的玉米
120274065 2 -- 梦中的拥抱
......@@ -21,7 +21,7 @@ end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,0,LOCATION_MZONE,1,nil) end
local g=Duel.GetMatchingGroup(cm.filter,tp,0,LOCATION_MZONE,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,g:GetCount(),0,0)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(cm.filter,tp,0,LOCATION_MZONE,nil)
......
local cm,m=GetID()
cm.name="神风防护罩 -大气之力-"
function cm.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetCondition(cm.condition)
e1:SetTarget(cm.target)
e1:SetOperation(cm.activate)
c:RegisterEffect(e1)
end
--Activate
function cm.filter(c)
return c:IsAttackPos() and c:IsAbleToHand()
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetAttacker():IsControler(1-tp)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,0,LOCATION_MZONE,1,nil) end
local g=Duel.GetMatchingGroup(cm.filter,tp,0,LOCATION_MZONE,nil)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,g,g:GetCount(),0,0)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(cm.filter,tp,0,LOCATION_MZONE,nil)
if g:GetCount()>0 then
RD.SendToHandAndExists(g,e,tp,REASON_EFFECT)
end
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