Commit 502bb659 authored by wind2009's avatar wind2009

Fix 魔術師の弟子-ブラック・マジシャン・ガール

parent 606d533f
Pipeline #32674 passed with stages
in 2 minutes and 4 seconds
No preview for this file type
...@@ -15,7 +15,7 @@ function s.initial_effect(c) ...@@ -15,7 +15,7 @@ function s.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--search --search
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,0)) e2:SetDescription(aux.Stringid(id,1))
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_SUMMON_SUCCESS) e2:SetCode(EVENT_SUMMON_SUCCESS)
...@@ -77,6 +77,9 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -77,6 +77,9 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
end end
function s.atkcon(c)
return c.IsType(TYPE_MONSTER) and aux.IsCodeListed(c,79791878)
end
function s.atkval(e,c) function s.atkval(e,c)
return Duel.GetMatchingGroupCount(aux.IsCodeListed,c:GetControler(),LOCATION_GRAVE,LOCATION_GRAVE,nil,79791878)*300 return Duel.GetMatchingGroupCount(s.atkcon,c:GetControler(),LOCATION_GRAVE,LOCATION_GRAVE,nil)*300
end end
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