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
9eb821d0
Commit
9eb821d0
authored
Jan 16, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert SUMMON_INFO_REASON_PLAYER
parent
7d8c6481
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
c24915933.lua
c24915933.lua
+3
-4
c95886782.lua
c95886782.lua
+4
-5
No files found.
c24915933.lua
View file @
9eb821d0
...
...
@@ -51,12 +51,11 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
function
s
.
cfilter
(
c
,
tp
)
local
typ
,
se
,
sp
=
c
:
GetSpecialSummonInfo
(
SUMMON_INFO_TYPE
,
SUMMON_INFO_REASON_EFFECT
,
SUMMON_INFO_REASON_PLAYER
)
return
typ
&
TYPE_MONSTER
~=
0
and
se
:
IsActivated
()
and
sp
==
1
-
tp
function
s
.
cfilter
(
c
,
tp
,
re
)
return
re
and
re
:
IsActivated
()
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
c
:
IsSummonPlayer
(
1
-
tp
)
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
tp
,
re
)
end
function
s
.
spfilter
(
c
,
e
,
tp
,
exc
)
local
b1
=
c
:
IsSetCard
(
0x145
)
and
c
:
IsLocation
(
LOCATION_DECK
)
...
...
c95886782.lua
View file @
9eb821d0
...
...
@@ -79,13 +79,12 @@ end
function
c95886782
.
eqlimit
(
e
,
c
)
return
c
==
e
:
GetLabelObject
()
end
function
c95886782
.
cfilter
(
c
,
e
,
tp
)
local
se
,
sp
=
c
:
GetSpecialSummonInfo
(
SUMMON_INFO_REASON_EFFECT
,
SUMMON_INFO_REASON_PLAYER
)
return
sp
==
1
-
tp
and
se
:
IsActivated
()
and
e
:
GetOwnerPlayer
()
==
1
-
se
:
GetOwnerPlayer
()
function
c95886782
.
cfilter
(
c
,
tp
)
return
c
:
IsSummonPlayer
(
1
-
tp
)
end
function
c95886782
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetEquipTarget
()
and
eg
:
IsExists
(
c95886782
.
cfilter
,
1
,
nil
,
e
,
tp
)
return
e
:
GetHandler
():
GetEquipTarget
()
and
re
and
re
:
IsActivated
()
and
e
:
GetOwnerPlayer
()
==
1
-
re
:
GetOwnerPlayer
()
and
eg
:
IsExists
(
c95886782
.
cfilter
,
1
,
nil
,
tp
)
end
function
c95886782
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
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