Commit 63dda55c authored by 未闻皂名's avatar 未闻皂名

2023/2/21 新增:退货,更新翻译

parent a5e29dd0
No preview for this file type
local m=120238003
local cm=_G["c"..m]
cm.name="巨型号角 猛犸"
cm.name="大巨角猛犸"
function cm.initial_effect(c)
--Cannot Activate
local e1=Effect.CreateEffect(c)
......
local m=120238016
local cm=_G["c"..m]
cm.name="钢铁马 马赫圣毒"
cm.name="钢铁马 鞅论倍赌马"
function cm.initial_effect(c)
--Coin
local e1=Effect.CreateEffect(c)
......
local m=120238027
local cm=_G["c"..m]
cm.name="退货"
function cm.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_TO_HAND)
e1:SetCondition(cm.condition)
e1:SetTarget(cm.target)
e1:SetOperation(cm.activate)
c:RegisterEffect(e1)
end
--Activate
function cm.confilter(c,tp)
return c:IsControler(tp) and c:IsPreviousLocation(LOCATION_GRAVE)
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(cm.confilter,1,nil,1-tp) and rp==1-tp
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_HAND,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TODECK,nil,1,tp,LOCATION_HAND)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(Card.IsAbleToDeck,tp,LOCATION_HAND,0,nil)
if g:GetCount()>0 then
local sg=g:RandomSelect(1-tp,1)
Duel.SendtoDeck(sg,nil,2,REASON_EFFECT)
end
end
\ No newline at end of file
local m=120238033
local list={120196048,120150019}
local cm=_G["c"..m]
cm.name="哥布林掘穴队长"
cm.name="哥布林掘穴队长"
function cm.initial_effect(c)
RD.AddCodeList(c,list)
--Atk Down
......
local m=120238039
local list={120150019}
local cm=_G["c"..m]
cm.name="陷阱地鼠"
cm.name="陷穴鼹鼠"
function cm.initial_effect(c)
RD.AddCodeList(c,list)
--Set
......
local m=120238040
local list={120238028}
local cm=_G["c"..m]
cm.name="邪神官 塞拉"
cm.name="邪神之卖棺者"
function cm.initial_effect(c)
RD.AddCodeList(c,list)
--Destroy
......
local m=120238045
local list={120238036}
local cm=_G["c"..m]
cm.name="名匠的头盔"
cm.name="名匠之兜"
function cm.initial_effect(c)
RD.AddCodeList(c,list)
--Activate
......
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