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

2022/5/18 新增:贪欲之壶,更新翻译

parent 2ee08003
Pipeline #12850 passed with stages
in 4 minutes and 27 seconds
No preview for this file type
local m=120217029
local cm=_G["c"..m]
cm.name="可能甜心速度-特:D"
cm.name="可能甜心-高速:D"
function cm.initial_effect(c)
--Atk up
local e1=Effect.CreateEffect(c)
......
local m=120217100
local cm=_G["c"..m]
cm.name="贪欲之壶"
function cm.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCost(cm.cost)
e1:SetTarget(cm.target)
e1:SetOperation(cm.activate)
c:RegisterEffect(e1)
end
--Activate
function cm.costfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsAbleToDeckOrExtraAsCost()
end
cm.cost=RD.CostSendGraveToDeck(cm.costfilter,5,5)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,2) end
RD.TargetDraw(tp,2)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
RD.Draw()
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