Commit 032c8082 authored by Tachibana's avatar Tachibana

ybb

parent 7b5cfda1
No preview for this file type
...@@ -20,7 +20,8 @@ function cm.initial_effect(c) ...@@ -20,7 +20,8 @@ function cm.initial_effect(c)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,1)) e2:SetDescription(aux.Stringid(m,1))
e2:SetCategory(CATEGORY_SUMMON) e2:SetCategory(CATEGORY_SUMMON)
e2:SetType(EFFECT_TYPE_IGNITION) e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_GRAVE) e2:SetRange(LOCATION_GRAVE)
e2:SetCountLimit(1,11819474) e2:SetCountLimit(1,11819474)
e2:SetCost(aux.bfgcost) e2:SetCost(aux.bfgcost)
......
...@@ -75,6 +75,7 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -75,6 +75,7 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,1,tp,LOCATION_GRAVE) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,1,tp,LOCATION_GRAVE)
end end
function cm.thop(e,tp,eg,ep,ev,re,r,rp) function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tg=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e) local tg=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e)
if tg:GetCount()<=0 or not e:GetHandler():IsAbleToExtra() then return end if tg:GetCount()<=0 or not e:GetHandler():IsAbleToExtra() then return end
if c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) then if c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) then
......
...@@ -4,7 +4,7 @@ local cm=_G["c"..m] ...@@ -4,7 +4,7 @@ local cm=_G["c"..m]
function cm.initial_effect(c) function cm.initial_effect(c)
--link summon --link summon
c:EnableReviveLimit() c:EnableReviveLimit()
aux.AddLinkProcedure(c,cm.matfilter,2,2) aux.AddLinkProcedure(c,cm.matfilter,1,1)
--cannot be link material --cannot be link material
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE) e3:SetType(EFFECT_TYPE_SINGLE)
...@@ -24,7 +24,7 @@ function cm.initial_effect(c) ...@@ -24,7 +24,7 @@ function cm.initial_effect(c)
end end
--link summon --link summon
function cm.matfilter(c) function cm.matfilter(c)
return c:IsLinkType(TYPE_PENDULUM) and c:IsLevelAbove(5) return c:IsLinkType(TYPE_PENDULUM) and c:IsLevelAbove(7)
end end
function cm.repfilter(c,tp) function cm.repfilter(c,tp)
return c:GetOwner()==tp and c:GetDestination()==LOCATION_GRAVE and not c:IsLocation(LOCATION_EXTRA) and c:GetOriginalType()&TYPE_PENDULUM~=0 return c:GetOwner()==tp and c:GetDestination()==LOCATION_GRAVE and not c:IsLocation(LOCATION_EXTRA) and c:GetOriginalType()&TYPE_PENDULUM~=0
......
...@@ -69,4 +69,4 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -69,4 +69,4 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
end end
function cm.splimit(e,c,sump,sumtype,sumpos,targetp,se) function cm.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return not c:IsRace(RACE_ZOMBIE) return not c:IsRace(RACE_ZOMBIE)
end end
\ No newline at end of file
...@@ -16,7 +16,7 @@ function c33711008.initial_effect(c) ...@@ -16,7 +16,7 @@ function c33711008.initial_effect(c)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(33711008,2)) e2:SetDescription(aux.Stringid(33711008,2))
e2:SetCategory(CATEGORY_TOHAND) e2:SetCategory(CATEGORY_TOHAND)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e2:SetCode(EVENT_BATTLED) e2:SetCode(EVENT_BATTLED)
e2:SetCountLimit(1) e2:SetCountLimit(1)
e2:SetCondition(c33711008.thcon) e2:SetCondition(c33711008.thcon)
......
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