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

2022/10/1 bug修复,更新翻译

parent ef0ebed0
No preview for this file type
No preview for this file type
local m=120186010 local m=120186010
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="加速魔杖手·闪魔女" cm.name="加速魔杖手·闪魔女"
function cm.initial_effect(c) function cm.initial_effect(c)
--Damage --Damage
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -14,9 +14,6 @@ function cm.initial_effect(c) ...@@ -14,9 +14,6 @@ function cm.initial_effect(c)
end end
--Activate --Activate
cm.indval=RD.ValueEffectIndesType(0,TYPE_TRAP) cm.indval=RD.ValueEffectIndesType(0,TYPE_TRAP)
function cm.costfilter(c,tp)
return c:IsAbleToGraveAsCost() and Duel.GetMZoneCount(tp,c)>0
end
function cm.filter(c,e,tp) function cm.filter(c,e,tp)
return c:IsLevel(8) and RD.IsDefense(c,500) and RD.IsCanBeSpecialSummoned(c,e,tp,POS_FACEUP) return c:IsLevel(8) and RD.IsDefense(c,500) and RD.IsCanBeSpecialSummoned(c,e,tp,POS_FACEUP)
end end
...@@ -26,9 +23,9 @@ end ...@@ -26,9 +23,9 @@ 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)
RD.SetCostLabel(e) RD.SetCostLabel(e)
local g=Duel.GetMatchingGroup(Card.IsAbleToGraveAsCost,tp,LOCATION_MZONE,0,nil) local g=Duel.GetMatchingGroup(Card.IsAbleToGraveAsCost,tp,LOCATION_MZONE,0,nil)
if chk==0 then return g:CheckSubGroup(cm.costcheck,2,2,nil) end if chk==0 then return g:CheckSubGroup(cm.costcheck,2,2,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g:SelectSubGroup(tp,cm.costcheck,false,2,2,nil) local sg=g:SelectSubGroup(tp,cm.costcheck,false,2,2,tp)
Duel.SendtoGrave(sg,REASON_COST) Duel.SendtoGrave(sg,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)
......
...@@ -8,7 +8,7 @@ function cm.initial_effect(c) ...@@ -8,7 +8,7 @@ function cm.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_EQUIP) e1:SetType(EFFECT_TYPE_EQUIP)
e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetValue(800) e1:SetValue(900)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--Double Tribute --Double Tribute
local e2=Effect.CreateEffect(c) local e2=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