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