Commit b0f8415d authored by Tachibana's avatar Tachibana

得得得得得

parent 08bc8e31
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
local m=16110026 local m=16110026
local cm=_G["c"..m] local cm=_G["c"..m]
function cm.initial_effect(c) function cm.initial_effect(c)
c:EnableReviveLimit() c:EnableReviveLimit()
aux.AddFusionProcFunRep(c,cm.fuscheck,3,true,true)
--attribute change --attribute change
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0)) e1:SetDescription(aux.Stringid(m,0))
...@@ -23,6 +24,9 @@ function cm.initial_effect(c) ...@@ -23,6 +24,9 @@ function cm.initial_effect(c)
e2:SetTargetRange(1,0) e2:SetTargetRange(1,0)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.fuscheck(c)
return c:IsRace(RACE_DRAGON) and c:IsSummonType(SUMMON_TYPE_ADVANCE)
end
function cm.attg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.attg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RACE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RACE)
......
...@@ -12,6 +12,7 @@ function cm.initial_effect(c) ...@@ -12,6 +12,7 @@ function cm.initial_effect(c)
e3:SetRange(LOCATION_HAND) e3:SetRange(LOCATION_HAND)
e3:SetCountLimit(1,m+1) e3:SetCountLimit(1,m+1)
e3:SetCondition(cm.spcon) e3:SetCondition(cm.spcon)
e3:SetValue(POS_ATTACK)
c:RegisterEffect(e3) c:RegisterEffect(e3)
--nontuner --nontuner
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