Commit 86ecb441 authored by TanakaKotoha's avatar TanakaKotoha

y1s1qs

parent c6b95c00
......@@ -21,9 +21,10 @@ function c72410100.tkcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) and e:GetHandler():GetLinkedGroup():FilterCount(Card.IsRace,nil,RACE_CYBERSE)~=0
end
function c72410100.tktg(e,tp,eg,ep,ev,re,r,rp,chk)
local lg=e:GetHandler():GetLinkedGroupCount()
local mg=e:GetHandler():GetMaterial()
if mg:GetCount()~=1 then return false end
if chk==0 then return mg:IsExists(Card.IsType,1,nil,TYPE_LINK) end
if chk==0 then return mg:IsExists(Card.IsType,1,nil,TYPE_LINK) and lg~=0 end
e:SetLabel(mg:GetFirst():GetLink())
end
function c72410100.tkop(e,tp,eg,ep,ev,re,r,rp)
......@@ -68,7 +69,7 @@ function c72410100.tkop(e,tp,eg,ep,ev,re,r,rp)
tg:RegisterFlagEffect(72410106,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(72410100,2))
end
if not tg:IsType(TYPE_EFFECT) then
local e4=Effect.CreateEffect(c)
local e4=Effect.CreateEffect(tg)
e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetCode(EFFECT_ADD_TYPE)
e4:SetValue(TYPE_EFFECT)
......
......@@ -17,8 +17,8 @@ function c72410110.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) and e:GetHandler():GetLinkedGroup()~=0
end
function c72410110.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
local lg=e:GetHandler():GetLinkedGroup()
local lg=e:GetHandler():GetLinkedGroupCount()
if chk==0 then return lg~=0 end
end
function c72410110.operation(e,tp,eg,ep,ev,re,r,rp)
local lg=e:GetHandler():GetLinkedGroup()
......@@ -37,7 +37,7 @@ function c72410110.operation(e,tp,eg,ep,ev,re,r,rp)
tg:RegisterEffect(e1)
tg:RegisterFlagEffect(72410110,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(72410110,0))
if not tg:IsType(TYPE_EFFECT) then
local e3=Effect.CreateEffect(c)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetCode(EFFECT_ADD_TYPE)
e3:SetValue(TYPE_EFFECT)
......@@ -47,7 +47,7 @@ function c72410110.operation(e,tp,eg,ep,ev,re,r,rp)
end
tg=lg:GetNext()
end
local e2=Effect.CreateEffect(e:GetHandler())
local e2=Effect.CreateEffect(tg)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
......
......@@ -17,8 +17,8 @@ function c72410120.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) and e:GetHandler():GetLinkedGroup()~=0
end
function c72410120.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
local lg=e:GetHandler():GetLinkedGroup()
local lg=e:GetHandler():GetLinkedGroupCount()
if chk==0 then return lg~=0 end
end
function c72410120.operation(e,tp,eg,ep,ev,re,r,rp)
local lg=e:GetHandler():GetLinkedGroup()
......@@ -47,7 +47,7 @@ function c72410120.operation(e,tp,eg,ep,ev,re,r,rp)
end
tg=lg:GetNext()
end
local e2=Effect.CreateEffect(e:GetHandler())
local e2=Effect.CreateEffect(tg)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
......
......@@ -20,8 +20,8 @@ function c72410130.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) and e:GetHandler():GetLinkedGroup()~=0
end
function c72410130.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
local lg=e:GetHandler():GetLinkedGroup()
local lg=e:GetHandler():GetLinkedGroupCount()
if chk==0 then return lg~=0 end
end
function c72410130.operation(e,tp,eg,ep,ev,re,r,rp)
local lg=e:GetHandler():GetLinkedGroup()
......@@ -40,7 +40,7 @@ function c72410130.operation(e,tp,eg,ep,ev,re,r,rp)
tg:RegisterEffect(e1)
tg:RegisterFlagEffect(72410130,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(72410130,0))
if not tg:IsType(TYPE_EFFECT) then
local e3=Effect.CreateEffect(c)
local e3=Effect.CreateEffect(tg)
e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetCode(EFFECT_ADD_TYPE)
e3:SetValue(TYPE_EFFECT)
......
......@@ -20,8 +20,8 @@ function c72410140.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) and e:GetHandler():GetLinkedGroup()~=0
end
function c72410140.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
local lg=e:GetHandler():GetLinkedGroup()
local lg=e:GetHandler():GetLinkedGroupCount()
if chk==0 then return lg~=0 end
end
function c72410140.operation(e,tp,eg,ep,ev,re,r,rp)
local lg=e:GetHandler():GetLinkedGroup()
......@@ -40,7 +40,7 @@ function c72410140.operation(e,tp,eg,ep,ev,re,r,rp)
tg:RegisterEffect(e1)
tg:RegisterFlagEffect(72410140,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(72410140,0))
if not tg:IsType(TYPE_EFFECT) then
local e3=Effect.CreateEffect(c)
local e3=Effect.CreateEffect(tg)
e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetCode(EFFECT_ADD_TYPE)
e3:SetValue(TYPE_EFFECT)
......
......@@ -11,7 +11,8 @@ function c72410220.initial_effect(c)
end
function c72410220.target(e,tp,eg,ep,ev,re,r,rp,chk)
local zone=aux.GetMultiLinkedZone(tp)
if chk==0 then return zone~=0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE,nil,nil,zone)
if chk==0 then return ft~=0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsPlayerCanSpecialSummonMonster(tp,72410221,0,0x4011,0,0,1,RACE_CYBERSE,ATTRIBUTE_LIGHT,POS_FACEUP) end
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0)
......
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