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

2020/8/1 KP02的卡片移动至正式卡,根据FAQ以及NW翻译更新部分卡片

parent 38441de3
No preview for this file type
No preview for this file type
...@@ -21,10 +21,10 @@ function cm.confilter(c) ...@@ -21,10 +21,10 @@ function cm.confilter(c)
return c:IsFaceup() and c:IsCode(list[1]) return c:IsFaceup() and c:IsCode(list[1])
end end
function cm.filter(c) function cm.filter(c)
return c:IsFaceup() and not c:IsHasEffect(EFFECT_PIERCE) return c:IsFaceup()
end end
function cm.condition(e,tp,eg,ep,ev,re,r,rp) function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(cm.confilter,tp,LOCATION_MZONE,0,1,nil) and Duel.IsAbleToEnterBP() return Duel.IsExistingMatchingCard(cm.confilter,tp,LOCATION_MZONE,0,1,nil)
end end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToGraveAsCost,tp,LOCATION_HAND,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToGraveAsCost,tp,LOCATION_HAND,0,1,nil) end
......
...@@ -21,7 +21,9 @@ function cm.condition(e) ...@@ -21,7 +21,9 @@ function cm.condition(e)
return c:IsReason(REASON_SUMMON) and c:IsStatus(STATUS_SUMMON_TURN) return c:IsReason(REASON_SUMMON) and c:IsStatus(STATUS_SUMMON_TURN)
end end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDiscardDeckAsCost(tp,1) end local ct=Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE)
if chk==0 then return Duel.IsPlayerCanDiscardDeckAsCost(tp,1)
and Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>=ct+1 end
Duel.DiscardDeck(tp,1,REASON_COST) Duel.DiscardDeck(tp,1,REASON_COST)
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
......
local m=120130025 local m=120130025
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="碎光之超能放松摇滚家" cm.name="碎光之慢半拍超能打手"
function cm.initial_effect(c) function cm.initial_effect(c)
--Destroy --Destroy
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -27,8 +27,9 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -27,8 +27,9 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDefensePos,tp,0,LOCATION_MZONE,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDefensePos,tp,0,LOCATION_MZONE,1,nil) end
local ct=e:GetLabel()
local g=Duel.GetMatchingGroup(Card.IsDefensePos,tp,0,LOCATION_MZONE,nil) local g=Duel.GetMatchingGroup(Card.IsDefensePos,tp,0,LOCATION_MZONE,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,ct,0,0)
end end
function cm.operation(e,tp,eg,ep,ev,re,r,rp) function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local ct=e:GetLabel() local ct=e:GetLabel()
......
local m=120130031 local m=120130031
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="王家魔族重金属歌手" cm.name="王家魔族·重金属歌手"
function cm.initial_effect(c) function cm.initial_effect(c)
--Destroy --Destroy
local e1=Effect.CreateEffect(c) 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