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

2022/9/2 新增:风碎之体育海盗,更新翻译

parent 6b2e66e9
No preview for this file type
local m=120228020 local m=120228020
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="抽卡小偷·梅露" cm.name="鼠小僧盗贼·梅尔"
function cm.initial_effect(c) function cm.initial_effect(c)
--Draw --Draw
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
local m=120228024 local m=120228024
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="风彩之短语预言家" cm.name="风彩之预言乐句盗贼"
function cm.initial_effect(c) function cm.initial_effect(c)
--To Grave --To Grave
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
local m=120228025
local cm=_G["c"..m]
cm.name="风碎之体育海盗"
function cm.initial_effect(c)
--To Hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_GRAVE_ACTION+CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(cm.condition)
e1:SetCost(cm.cost)
e1:SetTarget(cm.target)
e1:SetOperation(cm.operation)
c:RegisterEffect(e1)
end
--To Deck
function cm.confilter(c)
return c:IsRace(RACE_PSYCHO)
end
function cm.filter(c)
return c:IsLevelBelow(4) and c:IsAbleToHand()
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(cm.confilter,tp,LOCATION_GRAVE,0,3,nil)
end
cm.cost=RD.CostPayLP(1000)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,0,LOCATION_MZONE,1,nil)
and Duel.IsExistingMatchingCard(cm.filter,tp,0,LOCATION_GRAVE,1,nil) end
local g=Duel.GetMatchingGroup(cm.filter,tp,0,LOCATION_GRAVE,nil)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,1-tp,LOCATION_GRAVE)
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local ct=Duel.GetMatchingGroupCount(Card.IsFaceup,tp,0,LOCATION_MZONE,nil)
if ct==0 then return end
RD.SelectAndDoAction(HINTMSG_RTOHAND,aux.NecroValleyFilter(cm.filter),tp,0,LOCATION_GRAVE,1,ct,nil,function(g)
if Duel.SendtoHand(g,nil,REASON_EFFECT)~=0 then
local c=e:GetHandler()
local atk=Duel.GetFieldGroupCount(tp,LOCATION_HAND,LOCATION_HAND)*100
if atk~=0 and c:IsFaceup() and c:IsRelateToEffect(e) then
Duel.BreakEffect()
RD.AttachAtkDef(e,c,atk,0,RESET_EVENT+RESETS_STANDARD+RESET_DISABLE+RESET_PHASE+PHASE_END)
end
end
end)
end
\ No newline at end of file
local m=120228026 local m=120228026
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="斗奏之潘迪乔" cm.name="斗奏之班卓琴盗贼"
function cm.initial_effect(c) function cm.initial_effect(c)
--To Hand --To Hand
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
local m=120228044 local m=120228044
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="虚空噬骸兵·巨剑" cm.name="虚空噬骸兵斩裂剑"
function cm.initial_effect(c) function cm.initial_effect(c)
--Activate --Activate
RD.RegisterEquipEffect(c,nil,nil,cm.target) RD.RegisterEquipEffect(c,nil,nil,cm.target)
......
local m=120228052 local m=120228052
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="重装双重圣剑" cm.name="重装双颈吉他断钢剑"
function cm.initial_effect(c) function cm.initial_effect(c)
--Activate --Activate
RD.RegisterEquipEffect(c,nil,cm.cost,cm.target) RD.RegisterEquipEffect(c,nil,cm.cost,cm.target)
......
local m=120228056 local m=120228056
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="吹穿之风" cm.name="吹之风"
function cm.initial_effect(c) function cm.initial_effect(c)
--Activate --Activate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
local m=120228064 local m=120228064
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="卡基巴盗贼之力" cm.name="火场盗贼怪力"
function cm.initial_effect(c) function cm.initial_effect(c)
--Activate --Activate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
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