Commit ce3dcf70 authored by GuGu's avatar GuGu

Update c27507.lua

parent bc10e847
Pipeline #40149 passed with stage
in 6 seconds
......@@ -18,6 +18,7 @@ function s.initial_effect(c)
c:RegisterEffect(e1)
local e4=e1:Clone()
e4:SetCode(EVENT_SPSUMMON_SUCCESS)
e4:SetTarget(s.lktg)
e4:SetCondition(s.lkcon)
c:RegisterEffect(e4)
-- Indestructible (②)
......@@ -46,6 +47,10 @@ end
function s.lcheck(g)
return g:IsExists(Card.IsLinkSetCard,1,nil,0x242)
end
function s.lktg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,2)
end
function s.lkcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end
......
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