Commit 059d443b authored by 未闻皂名's avatar 未闻皂名

2022/9/14 新增:暗黑的炽天使,更新翻译

parent 9be69900
No preview for this file type
local m=120228013
local cm=_G["c"..m]
cm.name="艺术天使·钻石"
cm.name="艺术天使·钻石唱针乐手"
function cm.initial_effect(c)
--Pierce
local e1=Effect.CreateEffect(c)
......
local m=120228014
local cm=_G["c"..m]
cm.name="艺术天使·金属姿势"
cm.name="艺术天使·金属磁带乐手"
function cm.initial_effect(c)
--Position
local e1=Effect.CreateEffect(c)
......
local m=120228029
local cm=_G["c"..m]
cm.name="大脑收割机"
cm.name="智能收获者"
function cm.initial_effect(c)
--Draw
local e1=Effect.CreateEffect(c)
......
local m=120228030
local cm=_G["c"..m]
cm.name="暗黑的炽天使"
function cm.initial_effect(c)
--Position
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_POSITION)
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
--Position
function cm.confilter(c)
return c:IsFaceup() and c:IsLevelAbove(5) and c:IsAttribute(ATTRIBUTE_DARK)
end
function cm.posfilter(c)
return c:IsFaceup() and c:IsLevelBelow(8) and RD.IsCanChangePosition(c)
and (not c:IsPosition(POS_FACEUP_ATTACK) or c:IsCanTurnSet())
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(cm.confilter,tp,LOCATION_MZONE,0,1,nil)
end
cm.cost=RD.CostPayLP(500)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.posfilter,tp,0,LOCATION_MZONE,1,nil) end
local g=Duel.GetMatchingGroup(cm.posfilter,tp,0,LOCATION_MZONE,nil)
Duel.SetOperationInfo(0,CATEGORY_POSITION,g,1,0,0)
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
RD.SelectAndDoAction(HINTMSG_POSCHANGE,cm.posfilter,tp,0,LOCATION_MZONE,1,1,nil,function(g)
local tc=g:GetFirst()
local pos=POS_FACEUP_ATTACK+POS_FACEDOWN_DEFENSE
if tc:IsPosition(POS_FACEUP_ATTACK) then
pos=POS_FACEDOWN_DEFENSE
elseif not tc:IsCanTurnSet() then
pos=POS_FACEUP_ATTACK
end
pos=Duel.SelectPosition(tp,tc,pos)
RD.ChangePosition(tc,pos)
end)
end
\ No newline at end of file
local m=120228045
local cm=_G["c"..m]
cm.name="自动反转"
cm.name="自动翻带"
function cm.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
......
local m=120228062
local cm=_G["c"..m]
cm.name="猛砍光环"
cm.name="割削光环"
function cm.initial_effect(c)
--Activate
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