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
6
Merge Requests
6
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
683d40b1
Commit
683d40b1
authored
Mar 03, 2023
by
mercury233
Committed by
GitHub
Mar 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert & fix 束ねられし力 (#2033)
parent
3e287437
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
c96239878.lua
c96239878.lua
+6
-4
No files found.
c96239878.lua
View file @
683d40b1
...
...
@@ -47,15 +47,17 @@ function c96239878.mtfilter2(c)
end
function
c96239878
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
c
:
IsSummonType
(
SUMMON_TYPE_RITUAL
)
and
g
:
IsExists
(
c96239878
.
mtfilter1
,
1
,
nil
)
then
c
:
RegisterFlagEffect
(
96239878
,
RESET_EVENT
+
0x4fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
elseif
c
:
IsSummonType
(
SUMMON_TYPE_FUSION
)
and
g
:
IsExists
(
c96239878
.
mtfilter2
,
1
,
nil
)
then
if
g
:
IsExists
(
c96239878
.
mtfilter1
,
1
,
nil
)
then
c
:
RegisterFlagEffect
(
96239878
,
RESET_EVENT
+
0x4fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
elseif
g
:
IsExists
(
c96239878
.
mtfilter2
,
1
,
nil
)
then
c
:
RegisterFlagEffect
(
96239879
,
RESET_EVENT
+
0x4fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c96239878
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
return
tc
:
IsSummonPlayer
(
tp
)
and
tc
:
GetFlagEffect
(
96239878
)
~=
0
return
tc
:
IsSummonPlayer
(
tp
)
and
(
tc
:
IsSummonType
(
SUMMON_TYPE_RITUAL
)
and
tc
:
GetFlagEffect
(
96239878
)
~=
0
or
tc
:
IsSummonType
(
SUMMON_TYPE_FUSION
)
and
tc
:
GetFlagEffect
(
96239879
)
~=
0
)
end
function
c96239878
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
(
chkc
:
IsOnField
()
or
chkc
:
IsLocation
(
LOCATION_GRAVE
))
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsAbleToRemove
()
end
...
...
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