Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-scripts-888
Commits
1147556c
Commit
1147556c
authored
Sep 19, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/LEDE' into master
parents
17fd7605
9974b610
Changes
62
Hide whitespace changes
Inline
Side-by-side
Showing
62 changed files
with
73 additions
and
88 deletions
+73
-88
c18969888.lua
c18969888.lua
+1
-1
c19181420.lua
c19181420.lua
+1
-1
c21036656.lua
c21036656.lua
+1
-1
c23093373.lua
c23093373.lua
+1
-1
c2333466.lua
c2333466.lua
+1
-1
c24215921.lua
c24215921.lua
+1
-1
c25096909.lua
c25096909.lua
+1
-1
c25218587.lua
c25218587.lua
+1
-1
c26334139.lua
c26334139.lua
+1
-1
c26548709.lua
c26548709.lua
+1
-1
c27483935.lua
c27483935.lua
+1
-1
c28279365.lua
c28279365.lua
+1
-1
c31458630.lua
c31458630.lua
+1
-1
c32270212.lua
c32270212.lua
+1
-1
c38491852.lua
c38491852.lua
+1
-1
c38505587.lua
c38505587.lua
+1
-1
c39114494.lua
c39114494.lua
+1
-1
c39321065.lua
c39321065.lua
+1
-1
c39931513.lua
c39931513.lua
+3
-8
c43129357.lua
c43129357.lua
+1
-1
c45464587.lua
c45464587.lua
+1
-1
c4841383.lua
c4841383.lua
+1
-1
c52543404.lua
c52543404.lua
+1
-1
c52607696.lua
c52607696.lua
+1
-1
c53329234.lua
c53329234.lua
+1
-1
c53541822.lua
c53541822.lua
+1
-1
c53765052.lua
c53765052.lua
+1
-1
c56208713.lua
c56208713.lua
+1
-1
c57420265.lua
c57420265.lua
+1
-1
c5786513.lua
c5786513.lua
+1
-1
c58143852.lua
c58143852.lua
+1
-1
c59369430.lua
c59369430.lua
+1
-1
c59481082.lua
c59481082.lua
+1
-1
c60203670.lua
c60203670.lua
+1
-1
c64603182.lua
c64603182.lua
+1
-1
c64664373.lua
c64664373.lua
+1
-1
c64881644.lua
c64881644.lua
+1
-1
c65326118.lua
c65326118.lua
+5
-10
c65496951.lua
c65496951.lua
+1
-1
c65726770.lua
c65726770.lua
+1
-1
c67457739.lua
c67457739.lua
+1
-1
c6908161.lua
c6908161.lua
+1
-1
c7020743.lua
c7020743.lua
+1
-1
c70514456.lua
c70514456.lua
+1
-1
c71858682.lua
c71858682.lua
+1
-1
c74150658.lua
c74150658.lua
+1
-1
c78679226.lua
c78679226.lua
+1
-1
c79791878.lua
c79791878.lua
+1
-1
c82570174.lua
c82570174.lua
+1
-1
c83793721.lua
c83793721.lua
+1
-1
c84631951.lua
c84631951.lua
+1
-1
c85753549.lua
c85753549.lua
+1
-1
c89824842.lua
c89824842.lua
+1
-1
c90276649.lua
c90276649.lua
+1
-1
c90946420.lua
c90946420.lua
+1
-1
c91098230.lua
c91098230.lua
+1
-1
c91810826.lua
c91810826.lua
+6
-11
c91880660.lua
c91880660.lua
+1
-1
c92110878.lua
c92110878.lua
+1
-1
c92907248.lua
c92907248.lua
+1
-1
c96576187.lua
c96576187.lua
+1
-1
c97698279.lua
c97698279.lua
+1
-1
No files found.
c18969888.lua
View file @
1147556c
...
...
@@ -107,4 +107,4 @@ function c18969888.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
end
\ No newline at end of file
end
c19181420.lua
View file @
1147556c
...
...
@@ -88,4 +88,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
\ No newline at end of file
end
c21036656.lua
View file @
1147556c
...
...
@@ -74,4 +74,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e1
,
true
)
end
end
\ No newline at end of file
end
c23093373.lua
View file @
1147556c
...
...
@@ -69,4 +69,4 @@ function s.thop2(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
c
,
nil
,
REASON_EFFECT
)
end
end
\ No newline at end of file
end
c2333466.lua
View file @
1147556c
...
...
@@ -90,4 +90,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
end
end
end
\ No newline at end of file
end
c24215921.lua
View file @
1147556c
...
...
@@ -72,4 +72,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
if
tc
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
\ No newline at end of file
end
c25096909.lua
View file @
1147556c
...
...
@@ -59,4 +59,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
\ No newline at end of file
end
c25218587.lua
View file @
1147556c
...
...
@@ -77,4 +77,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SSet
(
tp
,
c
)
end
end
\ No newline at end of file
end
c26334139.lua
View file @
1147556c
...
...
@@ -84,4 +84,4 @@ function s.thop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SSet
(
tp
,
sg
,
tp
,
false
)
end
end
end
\ No newline at end of file
end
c26548709.lua
View file @
1147556c
...
...
@@ -59,4 +59,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
\ No newline at end of file
end
c27483935.lua
View file @
1147556c
...
...
@@ -99,4 +99,4 @@ function c27483935.tfop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c27483935
.
pfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
):
GetFirst
()
if
tc
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
end
end
\ No newline at end of file
end
c28279365.lua
View file @
1147556c
...
...
@@ -39,4 +39,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
\ No newline at end of file
end
c31458630.lua
View file @
1147556c
...
...
@@ -107,4 +107,4 @@ function c31458630.drop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
\ No newline at end of file
end
c32270212.lua
View file @
1147556c
...
...
@@ -55,4 +55,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
splimit
(
e
,
c
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
end
\ No newline at end of file
end
c38491852.lua
View file @
1147556c
...
...
@@ -78,4 +78,4 @@ end
function
s
.
aclimit
(
e
,
re
,
tp
)
local
c
=
re
:
GetHandler
()
return
not
c
:
IsSetCard
(
0x1a3
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
end
\ No newline at end of file
end
c38505587.lua
View file @
1147556c
...
...
@@ -87,4 +87,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
)
end
end
end
\ No newline at end of file
end
c39114494.lua
View file @
1147556c
...
...
@@ -106,4 +106,4 @@ function c39114494.riop(e,tp,eg,ep,ev,re,r,rp)
end
Duel
.
SpecialSummonComplete
()
end
end
\ No newline at end of file
end
c39321065.lua
View file @
1147556c
...
...
@@ -73,4 +73,4 @@ function s.negop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e1
)
end
end
\ No newline at end of file
end
c39931513.lua
View file @
1147556c
...
...
@@ -66,24 +66,19 @@ function s.sccon(e,tp,eg,ep,ev,re,r,rp)
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
end
function
s
.
mfilter
(
c
)
return
not
c
:
IsStatus
(
STATUS_SUMMONING
)
end
function
s
.
sctarg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
mg
=
Duel
.
GetMatchingGroup
(
s
.
mfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
c
,
mg
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
c
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
aux
.
Stringid
(
id
,
1
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
s
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsControler
(
1
-
tp
)
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
local
mg
=
Duel
.
GetMatchingGroup
(
s
.
mfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
c
,
mg
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
c
)
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SynchroSummon
(
tp
,
sg
:
GetFirst
(),
c
)
end
end
\ No newline at end of file
end
c43129357.lua
View file @
1147556c
...
...
@@ -87,4 +87,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
\ No newline at end of file
end
c45464587.lua
View file @
1147556c
...
...
@@ -79,4 +79,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
\ No newline at end of file
end
c4841383.lua
View file @
1147556c
...
...
@@ -79,4 +79,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
end
end
end
\ No newline at end of file
end
c52543404.lua
View file @
1147556c
...
...
@@ -64,4 +64,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsType
(
TYPE_MONSTER
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
\ No newline at end of file
end
c52607696.lua
View file @
1147556c
...
...
@@ -70,4 +70,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
\ No newline at end of file
end
c53329234.lua
View file @
1147556c
...
...
@@ -61,4 +61,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e1
)
end
end
\ No newline at end of file
end
c53541822.lua
View file @
1147556c
...
...
@@ -125,4 +125,4 @@ function c53541822.activate(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
,
true
)
end
aux
.
FCheckAdditional
=
nil
end
\ No newline at end of file
end
c53765052.lua
View file @
1147556c
...
...
@@ -58,4 +58,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if
tg
:
GetCount
()
>
0
then
Duel
.
Destroy
(
tg
,
REASON_EFFECT
)
end
end
\ No newline at end of file
end
c56208713.lua
View file @
1147556c
...
...
@@ -69,4 +69,4 @@ end
function
s
.
spop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetTargetsRelateToChain
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
\ No newline at end of file
end
c57420265.lua
View file @
1147556c
...
...
@@ -99,4 +99,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e3
)
end
end
end
\ No newline at end of file
end
c5786513.lua
View file @
1147556c
...
...
@@ -75,4 +75,4 @@ function s.baop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
RegisterEffect
(
e1
,
Duel
.
GetTurnPlayer
())
end
end
\ No newline at end of file
end
c58143852.lua
View file @
1147556c
...
...
@@ -64,4 +64,4 @@ end
function
s
.
indtg
(
e
,
c
)
local
tc
=
e
:
GetHandler
()
return
c
==
tc
or
c
==
tc
:
GetBattleTarget
()
end
\ No newline at end of file
end
c59369430.lua
View file @
1147556c
...
...
@@ -75,4 +75,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
\ No newline at end of file
end
c59481082.lua
View file @
1147556c
...
...
@@ -80,4 +80,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
\ No newline at end of file
end
c60203670.lua
View file @
1147556c
...
...
@@ -100,4 +100,4 @@ end
function
s
.
fsynlimit
(
e
,
c
,
sumtype
)
if
not
c
then
return
false
end
return
sumtype
==
SUMMON_TYPE_FUSION
and
not
c
:
IsSetCard
(
0x192
)
end
\ No newline at end of file
end
c64603182.lua
View file @
1147556c
...
...
@@ -70,4 +70,4 @@ function c64603182.aclimit(e,re,tp)
end
function
c64603182
.
actcon
(
e
)
return
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
end
\ No newline at end of file
end
c64664373.lua
View file @
1147556c
...
...
@@ -92,4 +92,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
\ No newline at end of file
end
c64881644.lua
View file @
1147556c
...
...
@@ -98,4 +98,4 @@ function c64881644.penop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
(
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
or
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
))
then
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
end
end
\ No newline at end of file
end
c65326118.lua
View file @
1147556c
--天盃龍ファドラ
function
c65326118
.
initial_effect
(
c
)
--
--
Special summon from grave
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
65326118
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -19,7 +19,7 @@ function c65326118.initial_effect(c)
e3
:
SetCode
(
EVENT_BATTLE_START
)
e3
:
SetRange
(
LOCATION_MZONE
)
c
:
RegisterEffect
(
e3
)
--
--
inde
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
...
...
@@ -28,7 +28,7 @@ function c65326118.initial_effect(c)
e4
:
SetTarget
(
c65326118
.
indtg
)
e4
:
SetValue
(
1
)
c
:
RegisterEffect
(
e4
)
--
--
synchro summon
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
65326118
,
2
))
e5
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -69,20 +69,15 @@ function c65326118.sccon(e,tp,eg,ep,ev,re,r,rp)
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
end
function
c65326118
.
mfilter
(
c
)
return
not
c
:
IsStatus
(
STATUS_SUMMONING
)
end
function
c65326118
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
mg
=
Duel
.
GetMatchingGroup
(
c65326118
.
mfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
:
GetHandler
(),
mg
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
:
GetHandler
())
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
aux
.
Stringid
(
65326118
,
2
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
c65326118
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c65326118
.
mfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
c
:
IsControler
(
1
-
tp
)
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
c
,
mg
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
c
)
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
...
...
c65496951.lua
View file @
1147556c
...
...
@@ -56,4 +56,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp,op)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
end
end
end
\ No newline at end of file
end
c65726770.lua
View file @
1147556c
...
...
@@ -78,4 +78,4 @@ function s.negop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e1
)
end
end
\ No newline at end of file
end
c67457739.lua
View file @
1147556c
...
...
@@ -98,4 +98,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
g
)
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
end
\ No newline at end of file
end
c6908161.lua
View file @
1147556c
...
...
@@ -77,4 +77,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
c
:
IsRace
(
RACE_INSECT
+
RACE_PLANT
+
RACE_REPTILE
)
end
\ No newline at end of file
end
c7020743.lua
View file @
1147556c
...
...
@@ -111,4 +111,4 @@ end
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
\ No newline at end of file
end
c70514456.lua
View file @
1147556c
...
...
@@ -85,4 +85,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
c
:
IsRace
(
RACE_INSECT
+
RACE_PLANT
+
RACE_REPTILE
)
end
\ No newline at end of file
end
c71858682.lua
View file @
1147556c
...
...
@@ -73,4 +73,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
TYPE_TRAP
+
TYPE_CONTINUOUS
)
tc
:
RegisterEffect
(
e1
)
end
end
\ No newline at end of file
end
c74150658.lua
View file @
1147556c
...
...
@@ -90,4 +90,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
end
\ No newline at end of file
end
c78679226.lua
View file @
1147556c
...
...
@@ -71,4 +71,4 @@ function s.dactivate(e,tp,eg,ep,ev,re,r,rp)
if
ct1
>
0
or
ct2
>
0
then
Duel
.
BreakEffect
()
end
if
ct1
>
0
then
Duel
.
Draw
(
tp
,
ct1
,
REASON_EFFECT
)
end
if
ct2
>
0
then
Duel
.
Draw
(
1
-
tp
,
ct2
,
REASON_EFFECT
)
end
end
\ No newline at end of file
end
c79791878.lua
View file @
1147556c
...
...
@@ -90,4 +90,4 @@ function s.gyop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
end
end
\ No newline at end of file
end
c82570174.lua
View file @
1147556c
...
...
@@ -98,4 +98,4 @@ function c82570174.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
end
\ No newline at end of file
end
c83793721.lua
View file @
1147556c
...
...
@@ -119,4 +119,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if
#
g
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
\ No newline at end of file
end
c84631951.lua
View file @
1147556c
...
...
@@ -89,4 +89,4 @@ function s.descon(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Destroy
(
e
:
GetLabelObject
(),
REASON_EFFECT
)
end
\ No newline at end of file
end
c85753549.lua
View file @
1147556c
...
...
@@ -60,4 +60,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
\ No newline at end of file
end
c89824842.lua
View file @
1147556c
...
...
@@ -65,4 +65,4 @@ function s.desop2(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
\ No newline at end of file
end
c90276649.lua
View file @
1147556c
...
...
@@ -107,4 +107,4 @@ function c90276649.penop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
(
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
or
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
))
then
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
end
end
\ No newline at end of file
end
c90946420.lua
View file @
1147556c
...
...
@@ -90,4 +90,4 @@ function s.matop(e,tp,eg,ep,ev,re,r,rp)
if
tc1
and
tc1
:
IsControler
(
tp
)
and
tc2
then
Duel
.
Overlay
(
tc1
,
tc2
)
end
end
\ No newline at end of file
end
c91098230.lua
View file @
1147556c
...
...
@@ -67,4 +67,4 @@ function c91098230.desop(e,tp,eg,ep,ev,re,r,rp)
end
function
c91098230
.
atktg
(
e
,
c
)
return
c
:
IsCode
(
83104731
)
or
aux
.
IsCodeListed
(
c
,
83104731
)
end
\ No newline at end of file
end
c91810826.lua
View file @
1147556c
--天盃龍チュンドラ
function
c91810826
.
initial_effect
(
c
)
--
--
Self special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
91810826
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -11,7 +11,7 @@ function c91810826.initial_effect(c)
e1
:
SetTarget
(
c91810826
.
sptg
)
e1
:
SetOperation
(
c91810826
.
spop
)
c
:
RegisterEffect
(
e1
)
--
--
Special summon from deck
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
91810826
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -23,7 +23,7 @@ function c91810826.initial_effect(c)
e2
:
SetTarget
(
c91810826
.
sptg2
)
e2
:
SetOperation
(
c91810826
.
spop2
)
c
:
RegisterEffect
(
e2
)
--
--
Synchro summon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
91810826
,
2
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -75,23 +75,18 @@ function c91810826.sccon(e,tp,eg,ep,ev,re,r,rp)
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
end
function
c91810826
.
mfilter
(
c
)
return
not
c
:
IsStatus
(
STATUS_SUMMONING
)
end
function
c91810826
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
mg
=
Duel
.
GetMatchingGroup
(
c91810826
.
mfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
:
GetHandler
(),
mg
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
:
GetHandler
())
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
aux
.
Stringid
(
91810826
,
2
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
c91810826
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsControler
(
1
-
tp
)
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
local
mg
=
Duel
.
GetMatchingGroup
(
c91810826
.
mfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
c
,
mg
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
c
)
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SynchroSummon
(
tp
,
sg
:
GetFirst
(),
c
)
end
end
\ No newline at end of file
end
c91880660.lua
View file @
1147556c
...
...
@@ -104,4 +104,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
end
\ No newline at end of file
end
c92110878.lua
View file @
1147556c
...
...
@@ -58,4 +58,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
)
end
end
\ No newline at end of file
end
c92907248.lua
View file @
1147556c
...
...
@@ -87,4 +87,4 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
\ No newline at end of file
end
c96576187.lua
View file @
1147556c
...
...
@@ -67,4 +67,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
\ No newline at end of file
end
c97698279.lua
View file @
1147556c
...
...
@@ -105,4 +105,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
-
4
)
c
:
RegisterEffect
(
e1
)
end
end
\ No newline at end of file
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment