Commit 8ef9dc40 authored by 未闻皂名's avatar 未闻皂名

2022/5/25 新增:影之食尸鬼

parent d4ce5f0c
Pipeline #13227 passed with stages
in 3 minutes and 57 seconds
No preview for this file type
local m=120217089
local cm=_G["c"..m]
cm.name="影之食尸鬼"
function cm.initial_effect(c)
--Atk Up
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetValue(cm.atkval)
c:RegisterEffect(e1)
end
--Atk Up
function cm.filter(c)
return c:IsType(TYPE_MONSTER)
end
function cm.atkval(e,c)
return Duel.GetMatchingGroupCount(cm.filter,c:GetControler(),0,LOCATION_GRAVE,nil)*100
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