Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
0
Merge Requests
0
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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
0f9305e3
Commit
0f9305e3
authored
Sep 02, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
f48e0f29
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
13 deletions
+10
-13
expansions/script/c16138001.lua
expansions/script/c16138001.lua
+2
-2
expansions/script/c16138007.lua
expansions/script/c16138007.lua
+3
-10
expansions/script/c16138025.lua
expansions/script/c16138025.lua
+5
-1
No files found.
expansions/script/c16138001.lua
View file @
0f9305e3
...
...
@@ -205,8 +205,8 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabelObject
(
fg
)
Duel
.
ConfirmCards
(
1
-
tp
,
fg
)
end
function
s
.
cfilter
(
c
,
e
)
return
not
c
:
IsPublic
()
and
c
:
IsSetCard
(
0x3cc3
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
fals
e
,
false
)
function
s
.
cfilter
(
c
,
e
,
tp
)
return
not
c
:
IsPublic
()
and
c
:
IsSetCard
(
0x3cc3
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
tru
e
,
false
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
e
:
IsCostChecked
()
end
...
...
expansions/script/c16138007.lua
View file @
0f9305e3
...
...
@@ -98,14 +98,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
end
Duel
.
SkipPhase
(
tp
,
PHASE_MAIN2
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
tp
,
PHASE_END
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
tp
,
PHASE_DRAW
,
RESET_PHASE
+
PHASE_END
,
2
)
Duel
.
SkipPhase
(
tp
,
PHASE_STANDBY
,
RESET_PHASE
+
PHASE_END
,
2
)
Duel
.
SkipPhase
(
tp
,
PHASE_MAIN1
,
RESET_PHASE
+
PHASE_END
,
2
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_EP
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_MAIN1
+
RESET_SELF_TURN
)
Duel
.
RegisterEffect
(
e2
,
1
-
tp
)
Duel
.
SkipPhase
(
1
-
tp
,
PHASE_DRAW
,
RESET_PHASE
+
PHASE_END
,
2
)
Duel
.
SkipPhase
(
1
-
tp
,
PHASE_STANDBY
,
RESET_PHASE
+
PHASE_END
,
2
)
Duel
.
SkipPhase
(
1
-
tp
,
PHASE_MAIN1
,
RESET_PHASE
+
PHASE_END
,
2
)
end
\ No newline at end of file
expansions/script/c16138025.lua
View file @
0f9305e3
...
...
@@ -93,7 +93,11 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
local
og
=
Duel
.
GetOperatedGroup
()
local
tc
=
og
:
GetFirst
()
while
tc
do
val
=
val
|
aux
.
SequenceToGlobal
(
tc
:
GetPreviousControler
(),
LOCATION_MZONE
,
tc
:
GetPreviousSequence
())
if
tc
:
IsPreviousLocation
(
LOCATION_MZONE
)
then
val
=
val
|
aux
.
SequenceToGlobal
(
tc
:
GetPreviousControler
(),
LOCATION_MZONE
,
tc
:
GetPreviousSequence
())
else
val
=
val
|
aux
.
SequenceToGlobal
(
tc
:
GetPreviousControler
(),
LOCATION_SZONE
,
tc
:
GetPreviousSequence
())
end
tc
=
og
:
GetNext
()
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
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