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
4
Merge Requests
4
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
4becfe8d
Commit
4becfe8d
authored
Jan 17, 2024
by
mercury233
Committed by
GitHub
Jan 17, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix null SUMMON_INFO_REASON_EFFECT (#2356)
parent
90f7fbba
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
c13735899.lua
c13735899.lua
+1
-0
c24915933.lua
c24915933.lua
+1
-1
c95886782.lua
c95886782.lua
+1
-1
No files found.
c13735899.lua
View file @
4becfe8d
...
...
@@ -37,6 +37,7 @@ function c13735899.atkval(e)
end
function
c13735899
.
cfilter
(
c
,
e
)
local
typ
,
se
=
c
:
GetSpecialSummonInfo
(
SUMMON_INFO_TYPE
,
SUMMON_INFO_REASON_EFFECT
)
if
not
se
then
return
false
end
local
sc
=
se
:
GetHandler
()
return
typ
&
TYPE_MONSTER
~=
0
and
se
:
IsActivated
()
and
c
:
IsFaceup
()
and
(
c
:
GetOriginalRace
()
==
sc
:
GetOriginalRace
()
or
c
==
sc
)
...
...
c24915933.lua
View file @
4becfe8d
...
...
@@ -53,7 +53,7 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
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
return
se
and
typ
&
TYPE_MONSTER
~=
0
and
se
:
IsActivated
()
and
sp
==
1
-
tp
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
tp
)
...
...
c95886782.lua
View file @
4becfe8d
...
...
@@ -81,7 +81,7 @@ function c95886782.eqlimit(e,c)
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
()
return
s
e
and
s
p
==
1
-
tp
and
se
:
IsActivated
()
and
e
:
GetOwnerPlayer
()
==
1
-
se
:
GetOwnerPlayer
()
end
function
c95886782
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetEquipTarget
()
...
...
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