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
9ba78e66
Commit
9ba78e66
authored
Jan 20, 2024
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
format
parent
5994e4a9
Changes
33
Show whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
58 additions
and
91 deletions
+58
-91
c12804701.lua
c12804701.lua
+7
-7
c24689197.lua
c24689197.lua
+1
-2
c25191307.lua
c25191307.lua
+2
-2
c25861589.lua
c25861589.lua
+1
-2
c26523337.lua
c26523337.lua
+1
-3
c26700718.lua
c26700718.lua
+1
-4
c26746975.lua
c26746975.lua
+1
-1
c2772337.lua
c2772337.lua
+2
-2
c30989084.lua
c30989084.lua
+0
-3
c38044854.lua
c38044854.lua
+1
-1
c39767432.lua
c39767432.lua
+1
-3
c48017189.lua
c48017189.lua
+0
-1
c49139666.lua
c49139666.lua
+1
-1
c50134646.lua
c50134646.lua
+1
-1
c52918032.lua
c52918032.lua
+2
-2
c53134520.lua
c53134520.lua
+1
-1
c53194323.lua
c53194323.lua
+1
-1
c64049553.lua
c64049553.lua
+1
-1
c64327901.lua
c64327901.lua
+7
-7
c71222868.lua
c71222868.lua
+1
-1
c72444406.lua
c72444406.lua
+1
-3
c73167098.lua
c73167098.lua
+0
-2
c74289646.lua
c74289646.lua
+1
-1
c85123771.lua
c85123771.lua
+1
-3
c85698115.lua
c85698115.lua
+0
-1
c8617563.lua
c8617563.lua
+1
-1
c87462901.lua
c87462901.lua
+3
-3
c87532344.lua
c87532344.lua
+1
-1
c90241276.lua
c90241276.lua
+0
-3
c90711610.lua
c90711610.lua
+15
-15
c9551692.lua
c9551692.lua
+0
-4
c99529628.lua
c99529628.lua
+0
-3
c99599062.lua
c99599062.lua
+2
-5
No files found.
c12804701.lua
View file @
9ba78e66
c24689197.lua
View file @
9ba78e66
...
...
@@ -51,7 +51,6 @@ function s.recop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Recover
(
tp
,
rec
,
REASON_EFFECT
)
end
end
--spsummon
function
s
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xc9
)
and
not
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
...
...
c25191307.lua
View file @
9ba78e66
c25861589.lua
View file @
9ba78e66
...
...
@@ -45,7 +45,6 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
end
end
--fusion
function
s
.
filter1
(
c
,
e
)
return
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
...
...
c26523337.lua
View file @
9ba78e66
...
...
@@ -27,7 +27,6 @@ function s.initial_effect(c)
e3
:
SetTarget
(
s
.
sptg
)
e3
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
filter
(
c
)
return
c
:
IsRace
(
RACE_FISH
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
id
)
...
...
@@ -52,7 +51,6 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
--spe
function
s
.
costfilter
(
c
)
return
c
:
IsRace
(
RACE_FISH
)
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsFaceupEx
()
and
not
c
:
IsCode
(
id
)
end
...
...
c26700718.lua
View file @
9ba78e66
...
...
@@ -25,9 +25,7 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
spstg
)
e2
:
SetOperation
(
s
.
spsop
)
c
:
RegisterEffect
(
e2
)
end
--spell
function
s
.
filter1
(
c
)
return
c
:
IsSetCard
(
0x19b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
...
...
@@ -55,7 +53,6 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
end
end
--special
function
s
.
sfilter
(
c
,
e
,
tp
)
return
c
:
GetOriginalType
()
&
TYPE_MONSTER
>
0
and
c
:
GetType
()
&
TYPE_CONTINUOUS
+
TYPE_SPELL
==
TYPE_CONTINUOUS
+
TYPE_SPELL
and
c
:
IsFaceup
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c26746975.lua
View file @
9ba78e66
c2772337.lua
View file @
9ba78e66
c30989084.lua
View file @
9ba78e66
...
...
@@ -41,7 +41,6 @@ function c30989084.initial_effect(c)
e3
:
SetOperation
(
s
.
rmop
)
c
:
RegisterEffect
(
e3
)
end
--to hand
function
s
.
filter
(
c
)
return
c
:
IsSetCard
(
0xc9
)
and
c
:
IsAbleToHand
()
end
...
...
@@ -58,7 +57,6 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
--special
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
==
tp
end
...
...
@@ -85,7 +83,6 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
,
zone
)
end
end
--remove
function
s
.
cfilter
(
c
,
g
)
return
g
:
IsContains
(
c
)
end
...
...
c38044854.lua
View file @
9ba78e66
c39767432.lua
View file @
9ba78e66
...
...
@@ -34,7 +34,6 @@ function s.initial_effect(c)
e3
:
SetOperation
(
s
.
damop
)
c
:
RegisterEffect
(
e3
)
end
--recover
function
s
.
recfilter
(
c
,
lg
)
return
lg
:
IsContains
(
c
)
end
...
...
@@ -55,7 +54,6 @@ function s.recop(e,tp,eg,ep,ev,re,r,rp)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Recover
(
p
,
d
,
REASON_EFFECT
)
end
--damage
function
s
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
==
tp
or
1
-
tp
end
...
...
@@ -64,7 +62,7 @@ function s.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetTargetPlayer
(
tp
and
1
-
tp
)
Duel
.
SetTargetParam
(
1000
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
1000
)
end
end
function
s
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
,
true
)
...
...
c48017189.lua
View file @
9ba78e66
...
...
@@ -36,7 +36,6 @@ function s.spcon(e,c)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
nil
,
TYPE_LINK
)
end
--to hand
function
s
.
cfilter
(
c
,
tp
,
se
)
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsLink
(
2
)
and
(
se
==
nil
or
c
:
GetReasonEffect
()
~=
se
)
and
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
(
c
:
IsLocation
(
LOCATION_REMOVED
)
and
c
:
IsFaceup
()))
and
c
:
IsPreviousControler
(
tp
)
...
...
c49139666.lua
View file @
9ba78e66
c50134646.lua
View file @
9ba78e66
c52918032.lua
View file @
9ba78e66
c53134520.lua
View file @
9ba78e66
c53194323.lua
View file @
9ba78e66
c64049553.lua
View file @
9ba78e66
c64327901.lua
View file @
9ba78e66
c71222868.lua
View file @
9ba78e66
c72444406.lua
View file @
9ba78e66
...
...
@@ -41,7 +41,6 @@ function s.initial_effect(c)
e3
:
SetOperation
(
s
.
spsop
)
c
:
RegisterEffect
(
e3
)
end
--move
function
s
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
...
...
@@ -76,7 +75,6 @@ function s.mvop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
end
end
--special
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetType
()
==
TYPE_TRAP
+
TYPE_CONTINUOUS
end
...
...
c73167098.lua
View file @
9ba78e66
...
...
@@ -46,7 +46,6 @@ end
function
s
.
indtg
(
e
,
c
)
return
e
:
GetHandler
()
==
c
or
c
:
IsRace
(
RACE_PLANT
)
end
--remove
function
s
.
rmcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
2000
)
end
Duel
.
PayLPCost
(
tp
,
2000
)
...
...
@@ -69,7 +68,6 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
--atk up
function
s
.
adcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
==
tp
and
e
:
GetHandler
():
IsFaceup
()
end
...
...
c74289646.lua
View file @
9ba78e66
c85123771.lua
View file @
9ba78e66
...
...
@@ -28,8 +28,6 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e2
)
end
--disable
function
s
.
disfilter
(
c
)
return
c
:
IsType
(
TYPE_EFFECT
)
and
not
c
:
IsDisabled
()
end
...
...
c85698115.lua
View file @
9ba78e66
...
...
@@ -60,7 +60,6 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
--todeck
function
s
.
rfilter
(
c
)
return
c
:
IsLevel
(
1
)
and
c
:
IsAbleToDeck
()
end
...
...
c8617563.lua
View file @
9ba78e66
c87462901.lua
View file @
9ba78e66
c87532344.lua
View file @
9ba78e66
c90241276.lua
View file @
9ba78e66
...
...
@@ -39,7 +39,6 @@ function s.initial_effect(c)
e4
:
SetOperation
(
s
.
mvop
)
c
:
RegisterEffect
(
e4
)
end
--sp
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
e
:
GetHandler
():
IsReason
(
REASON_DRAW
)
end
...
...
@@ -53,7 +52,6 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
--th
function
s
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x19c
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
end
...
...
@@ -69,7 +67,6 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
--move
function
s
.
filter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
...
...
c90711610.lua
View file @
9ba78e66
c9551692.lua
View file @
9ba78e66
...
...
@@ -29,8 +29,6 @@ function s.initial_effect(c)
e3
:
SetOperation
(
s
.
ssop
)
c
:
RegisterEffect
(
e3
)
end
--spsummon
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_FUSION
)
end
...
...
@@ -52,8 +50,6 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
--special summon
function
s
.
ssfilter
(
c
)
return
c
:
IsType
(
TYPE_FLIP
)
and
c
:
IsFaceupEx
()
and
c
:
IsAbleToRemoveAsCost
()
end
...
...
c99529628.lua
View file @
9ba78e66
...
...
@@ -44,7 +44,6 @@ function s.initial_effect(c)
e4
:
SetLabelObject
(
e3
)
c
:
RegisterEffect
(
e4
)
end
--sp
function
s
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FISH
)
end
...
...
@@ -62,7 +61,6 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
--remove
function
s
.
spfilter1
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLevelBelow
(
6
)
and
c
:
IsRace
(
RACE_FISH
)
and
e
:
GetHandler
():
IsAbleToRemove
()
end
...
...
@@ -101,7 +99,6 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
--spsummon
function
s
.
spreg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
GetTurnCount
()
e
:
SetLabel
(
ct
)
...
...
c99599062.lua
View file @
9ba78e66
...
...
@@ -23,9 +23,7 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
end
--to spsummon 0x21
function
s
.
condition1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
return
Duel
.
GetTurnPlayer
()
==
tp
and
(
ph
==
PHASE_MAIN1
or
ph
==
PHASE_MAIN2
)
...
...
@@ -59,7 +57,6 @@ end
function
s
.
splimit
(
e
,
c
)
return
not
(
c
:
IsType
(
TYPE_SYNCHRO
)
or
c
:
IsType
(
TYPE_FUSION
))
and
c
:
IsLocation
(
LOCATION_EXTRA
)
end
--fusion
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
return
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_FZONE
,
LOCATION_FZONE
,
1
,
nil
)
...
...
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