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
Ai
ygopro-222DIY-cards
Commits
6912d820
Commit
6912d820
authored
Aug 08, 2023
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Supreme King Gate Magician
parent
522101f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
expansions/script/c101202001.lua
expansions/script/c101202001.lua
+8
-9
No files found.
expansions/script/c101202001.lua
View file @
6912d820
...
...
@@ -11,9 +11,9 @@ function s.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_REMOVE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
Set
TargetRange
(
LOCATION_ONFIELD
,
0
)
e1
:
SetTarget
(
s
.
indtg
)
e1
:
Set
Value
(
s
.
indval
)
e1
:
Set
Property
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTarget
Range
(
1
,
1
)
e1
:
Set
Target
(
s
.
rmlimit
)
c
:
RegisterEffect
(
e1
)
--pendulum set
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -47,11 +47,10 @@ function s.initial_effect(c)
e4
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e4
)
end
function
s
.
indtg
(
e
,
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
13331639
)
end
function
s
.
indval
(
e
,
re
,
tp
)
return
e
:
GetHandler
():
GetControler
()
~=
tp
function
s
.
rmlimit
(
e
,
c
,
rp
,
r
,
re
)
local
tp
=
e
:
GetHandlerPlayer
()
return
c
:
IsControler
(
tp
)
and
c
:
IsOnField
()
and
c
:
IsCode
(
13331639
)
and
c
:
IsFaceup
()
and
r
&
REASON_EFFECT
~=
0
and
re
:
GetOwnerPlayer
()
~=
tp
end
function
s
.
penfilter
(
c
)
return
c
:
IsSetCard
(
0x10f8
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
not
c
:
IsCode
(
id
)
and
not
c
:
IsForbidden
()
...
...
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