Commit cc297c93 authored by Tachibana's avatar Tachibana

E

parent b395a2eb
......@@ -22,9 +22,7 @@ function cm.initial_effect(c)
e2:SetRange(LOCATION_EXTRA)
e2:SetCondition(function(e,c)
if c==nil then return true end
if Duel.GetLP(tp)==1 then return false end
return Duel.GetFieldGroupCount(c:GetControler(),LOCATION_MZONE,0)==0 and
Duel.CheckLPCost(c:GetControler(),math.floor(Duel.GetLP(tp)/2))
return Duel.GetFieldGroupCount(c:GetControler(),LOCATION_MZONE,0)==0
end)
e2:SetOperation(function(e,tp,eg,ep,ev,re,r,rp,c)
Duel.PayLPCost(tp,math.floor(Duel.GetLP(tp)/2))
......
......@@ -41,7 +41,7 @@ function cm.con4(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroup(tp,LOCATION_MZONE,0):Filter(Card.IsFaceup,nil):IsExists(Card.IsType,1,nil,TYPE_EFFECT)
end
function cm.tgf1(c,tc)
return c:IsLinkSummonable(nil) and c:IsLinkAbove(2)
return c:IsLinkSummonable(nil) and c:IsLinkAbove(2) and c:IsSetCard(0x6282)
end
function cm.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.tgf1,tp,LOCATION_EXTRA,0,1,nil,e:GetHandler()) end
......@@ -53,6 +53,6 @@ function cm.op1(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,cm.tgf1,tp,LOCATION_EXTRA,0,1,1,nil,e:GetHandler())
local tc=g:GetFirst()
if tc then
Duel.LinkSummon(tp,tc,nil)
Duel.LinkSummon(tp,tc,nil,e:GetHandler())
end
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