Commit 868d56a3 authored by Tachibana's avatar Tachibana

ndyd

parent 2aed48fd
...@@ -16,6 +16,7 @@ function cm.initial_effect(c) ...@@ -16,6 +16,7 @@ function cm.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_DIRECT_ATTACK) e1:SetCode(EFFECT_CANNOT_DIRECT_ATTACK)
e1:SetCondition(cm.dircon)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--ATK Gain --ATK Gain
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
...@@ -42,6 +43,9 @@ end ...@@ -42,6 +43,9 @@ end
function cm.ffilter(c) function cm.ffilter(c)
return c:IsLevelBelow(6) and (c:IsFusionType(TYPE_FUSION) or bit.band(c:GetFusionType(),0x81)==0x81) return c:IsLevelBelow(6) and (c:IsFusionType(TYPE_FUSION) or bit.band(c:GetFusionType(),0x81)==0x81)
end end
function cm.dircon(e)
return e:GetHandler():GetFlagEffect(26801001)>0
end
function cm.val(e,c) function cm.val(e,c)
return Duel.GetMatchingGroupCount(cm.filter,c:GetControler(),LOCATION_GRAVE+LOCATION_MZONE,0,nil)*300 return Duel.GetMatchingGroupCount(cm.filter,c:GetControler(),LOCATION_GRAVE+LOCATION_MZONE,0,nil)*300
end end
......
...@@ -3,6 +3,7 @@ local m=81081999 ...@@ -3,6 +3,7 @@ local m=81081999
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua") Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c) function cm.initial_effect(c)
aux.AddCodeList(c,81081000)
--Activate --Activate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON)
......
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