Commit 563469b0 authored by 未闻皂名's avatar 未闻皂名

2022/4/29 七星道最上级魔术师bug修复

parent cb2f6748
Pipeline #12123 passed with stages
in 4 minutes and 7 seconds
......@@ -20,14 +20,8 @@ function cm.initial_effect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_PIERCE)
e2:SetProperty(EFFECT_FLAG_CLIENT_HINT)
--Hint
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_GRANT)
e3:SetRange(LOCATION_MZONE)
e3:SetTargetRange(LOCATION_MZONE,0)
e3:SetTarget(cm.prctg)
e3:SetLabelObject(e2)
c:RegisterEffect(e3)
e2:SetCondition(cm.prccon)
c:RegisterEffect(e2)
end
--Atk Up
function cm.filter(c)
......@@ -38,6 +32,6 @@ function cm.atkval(e,c)
return g:GetClassCount(Card.GetCode)*300
end
--Pierce
function cm.prctg(e,c)
return e:GetHandler()==c and Duel.IsExistingMatchingCard(cm.filter,e:GetHandlerPlayer(),LOCATION_GRAVE,0,7,nil)
function cm.prccon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_GRAVE,0,7,nil)
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