Commit 17c0bf64 authored by 未闻皂名's avatar 未闻皂名

2022/9/25 新增:高跟鞋治愈师,异画真红眼黑龙

parent 36a91645
No preview for this file type
...@@ -3,7 +3,7 @@ RushDuel = RushDuel or {} ...@@ -3,7 +3,7 @@ RushDuel = RushDuel or {}
LEGEND_DARK_MAGICIAN = {120130000, 120203015} LEGEND_DARK_MAGICIAN = {120130000, 120203015}
LEGEND_BLUE_EYES_WHITE_DRAGON = {120120000, 120198001, 120230001} LEGEND_BLUE_EYES_WHITE_DRAGON = {120120000, 120198001, 120230001}
LEGEND_RED_EYES_BLACK_DRAGON = {120125001, 120203016} LEGEND_RED_EYES_BLACK_DRAGON = {120125001, 120203016, 120229101}
-- 添加记述卡牌列表 -- 添加记述卡牌列表
function RushDuel.AddCodeList(card, ...) function RushDuel.AddCodeList(card, ...)
......
local m=120228023
local cm=_G["c"..m]
cm.name="高跟鞋治愈师"
function cm.initial_effect(c)
--Recover
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_RECOVER)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(cm.cost)
e1:SetTarget(cm.target)
e1:SetOperation(cm.operation)
c:RegisterEffect(e1)
end
--Recover
function cm.costfilter(c)
return c:IsType(TYPE_SPELL) and c:IsAbleToDeckOrExtraAsCost()
end
cm.cost=RD.CostSendGraveToDeck(cm.costfilter,1,1)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
RD.TargetRecover(tp,1000)
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
RD.Recover()
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