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

2022/5/16 新增:可能甜心速度-特:D,更新翻译

parent f866837c
Pipeline #12826 passed with stages
in 4 minutes and 37 seconds
No preview for this file type
local m=120217027
local list={120170002,120217037}
local cm=_G["c"..m]
cm.name="可能甜心:D 玩偶完全"
cm.name="可能甜心:D 万能玩偶"
function cm.initial_effect(c)
aux.AddCodeList(c,list[1],list[2])
--Fusion Material
......
local m=120217029
local cm=_G["c"..m]
cm.name="可能甜心速度-特:D"
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:SetCondition(cm.condition)
e1:SetCost(cm.cost)
e1:SetTarget(cm.target)
e1:SetOperation(cm.operation)
c:RegisterEffect(e1)
end
--Atk up
function cm.confilter(c)
return c:IsFaceup() and c:IsRace(RACE_PSYCHO+RACE_OMEGAPSYCHO)
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(cm.confilter,tp,LOCATION_MZONE,0,1,e:GetHandler())
end
cm.cost=RD.CostSendDeckTopToGrave(1)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,LOCATION_MZONE,0,1,nil) end
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
RD.SelectAndDoAction(aux.Stringid(m,1),Card.IsFaceup,tp,LOCATION_MZONE,0,1,1,nil,function(g)
local tc=g:GetFirst()
RD.AttachAtkDef(e,tc,200,0,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
RD.AttachAttackAnnounce(e,tc,cm.actlimit,aux.Stringid(m,2),RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
end)
end
function cm.actlimit(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,m)
Duel.SetChainLimitTillChainEnd(cm.chainlimit)
end
function cm.chainlimit(e,rp,tp)
return not (rp~=tp and e:IsHasType(EFFECT_TYPE_ACTIVATE) and e:IsActiveType(TYPE_TRAP))
end
\ No newline at end of file
local m=120217065
local cm=_G["c"..m]
cm.name="泡沫冲击!"
cm.name="泡沫雷曼冲击!"
function cm.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
......
local m=120217091
local cm=_G["c"..m]
cm.name="偷窥魔术师"
cm.name="高峰窥探魔术师"
function cm.initial_effect(c)
--Confirm Card
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