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
55f26bb3
Commit
55f26bb3
authored
Jan 05, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into mc_master
parents
7a0f82bb
3e91874b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
9 deletions
+16
-9
c1490690.lua
c1490690.lua
+2
-1
c42193638.lua
c42193638.lua
+3
-1
c60883493.lua
c60883493.lua
+2
-1
c62161698.lua
c62161698.lua
+6
-3
c65046521.lua
c65046521.lua
+2
-2
c9113513.lua
c9113513.lua
+1
-1
No files found.
c1490690.lua
View file @
55f26bb3
...
...
@@ -59,7 +59,8 @@ function c1490690.op(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c1490690
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
e
:
GetHandler
()
==
se
:
GetHandler
()
and
c
:
IsOriginalCodeRule
(
e
:
GetLabel
())
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsCode
(
1490690
)
and
c
:
IsOriginalCodeRule
(
e
:
GetLabel
())
end
function
c1490690
.
stcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_HAND
+
LOCATION_ONFIELD
)
...
...
c42193638.lua
View file @
55f26bb3
...
...
@@ -19,7 +19,9 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp,op)
op
=
aux
.
SelectFromOptions
(
p
,{
true
,
aux
.
Stringid
(
id
,
1
)},{
true
,
aux
.
Stringid
(
id
,
2
)})
end
if
op
==
1
then
if
Duel
.
Recover
(
tp
,
500
,
REASON_EFFECT
)
<
1
or
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
return
end
if
Duel
.
Recover
(
tp
,
500
,
REASON_EFFECT
)
<
1
or
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
or
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
,
0
,
nil
,
0x1a3
)
local
dct
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
local
seq
=-
1
...
...
c60883493.lua
View file @
55f26bb3
...
...
@@ -47,7 +47,8 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
if
ct
>
1
then
Duel
.
BreakEffect
()
if
Duel
.
Damage
(
1
-
tp
,
600
,
REASON_EFFECT
)
>
0
and
Duel
.
GetLP
(
1
-
tp
)
>
0
then
Duel
.
Damage
(
1
-
tp
,
600
,
REASON_EFFECT
)
if
Duel
.
GetLP
(
1
-
tp
)
>
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
...
...
c62161698.lua
View file @
55f26bb3
...
...
@@ -2,6 +2,7 @@
function
c62161698
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
62161698
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
@@ -36,7 +37,8 @@ function c62161698.condition(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetFlagEffect
(
tp
,
62161698
)
~=
0
end
function
c62161698
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
4
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
4
end
end
function
c62161698
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x9f
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
@@ -44,9 +46,10 @@ end
function
c62161698
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
==
0
then
return
end
Duel
.
ConfirmDecktop
(
tp
,
5
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
5
):
Filter
(
c62161698
.
filter
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
62161698
,
0
))
then
if
g
:
GetCount
()
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
62161698
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
c65046521.lua
View file @
55f26bb3
...
...
@@ -41,11 +41,11 @@ function c65046521.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
+
POS_FACEDOWN_DEFENSE
)
~=
0
and
tc
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
local
mg
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
aux
.
ExceptThisCard
(
e
)
)
if
aux
.
GetAttributeCount
(
mg
)
>=
2
and
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65046521
,
1
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
aux
.
ExceptThisCard
(
e
)
)
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
...
...
c9113513.lua
View file @
55f26bb3
...
...
@@ -2,7 +2,7 @@
function
c9113513
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
+
CATEGORY_DECKDES
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
+
CATEGORY_DECKDES
+
CATEGORY_GRAVE_SPSUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCondition
(
c9113513
.
condition
)
...
...
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