Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
39962577
Commit
39962577
authored
Feb 24, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fad0f88f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
script/c100287037.lua
script/c100287037.lua
+1
-2
script/c100287046.lua
script/c100287046.lua
+2
-2
script/c100418035.lua
script/c100418035.lua
+1
-1
No files found.
script/c100287037.lua
View file @
39962577
...
...
@@ -47,13 +47,12 @@ function c100287037.activate(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
Set
Value
(
RESET_TURN_SET
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
script/c100287046.lua
View file @
39962577
...
...
@@ -8,7 +8,7 @@ function c100287046.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
100287046
)
e1
:
SetCountLimit
(
1
,
100287046
+
EFFECT_COUNT_CODE_OATH
)
c
:
RegisterEffect
(
e1
)
--counter
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -29,7 +29,7 @@ function c100287046.condition(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
c100287046
.
cfilter
,
1
,
nil
,
tp
)
end
function
c100287046
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanAddCounter
(
0x161
,
1
)
end
if
chk
==
0
then
return
Duel
.
IsCanAddCounter
(
tp
,
0x161
,
1
,
e
:
GetHandler
()
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
1
,
0
,
0x161
)
end
function
c100287046
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c100418035.lua
View file @
39962577
...
...
@@ -24,7 +24,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
1
-
tp
,
1
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
1
-
tp
,
1
)
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_DECK
)
>=
5
and
Duel
.
GetDecktopGroup
(
1
-
tp
,
4
):
FilterCount
(
Card
.
IsAbleToRemove
,
nil
)
==
4
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
1
-
tp
,
1
)
...
...
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