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
3d41002f
Commit
3d41002f
authored
Oct 23, 2024
by
mercury233
Committed by
GitHub
Oct 23, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Pendulum Encore (#2709)
broken since #2567
parent
77f4e031
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
c6992184.lua
c6992184.lua
+2
-4
No files found.
c6992184.lua
View file @
3d41002f
...
@@ -25,8 +25,7 @@ function c6992184.check(e,tp,exc)
...
@@ -25,8 +25,7 @@ function c6992184.check(e,tp,exc)
if
lpz
==
nil
then
return
false
end
if
lpz
==
nil
then
return
false
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsType
,
tp
,
LOCATION_HAND
+
LOCATION_EXTRA
,
0
,
exc
,
TYPE_PENDULUM
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsType
,
tp
,
LOCATION_HAND
+
LOCATION_EXTRA
,
0
,
exc
,
TYPE_PENDULUM
)
if
#
g
==
0
then
return
false
end
if
#
g
==
0
then
return
false
end
local
pcon
=
aux
.
PendCondition
()
return
aux
.
PendCondition
(
e
,
lpz
,
g
)
return
pcon
(
e
,
lpz
,
g
)
end
end
function
c6992184
.
cfilter
(
c
,
e
,
tp
)
function
c6992184
.
cfilter
(
c
,
e
,
tp
)
return
c
:
IsDiscardable
()
and
c6992184
.
check
(
e
,
tp
,
c
)
return
c
:
IsDiscardable
()
and
c6992184
.
check
(
e
,
tp
,
c
)
...
@@ -78,8 +77,7 @@ function c6992184.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -78,8 +77,7 @@ function c6992184.activate(e,tp,eg,ep,ev,re,r,rp)
if
#
g
==
0
then
return
end
if
#
g
==
0
then
return
end
--the summon should be done after the chain end
--the summon should be done after the chain end
local
sg
=
Group
.
CreateGroup
()
local
sg
=
Group
.
CreateGroup
()
local
pop
=
aux
.
PendOperation
()
aux
.
PendOperation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
lpz
,
sg
,
g
)
pop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
lpz
,
sg
,
g
)
Duel
.
RaiseEvent
(
sg
,
EVENT_SPSUMMON_SUCCESS_G_P
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
Duel
.
RaiseEvent
(
sg
,
EVENT_SPSUMMON_SUCCESS_G_P
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
Duel
.
SpecialSummon
(
sg
,
SUMMON_TYPE_PENDULUM
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
sg
,
SUMMON_TYPE_PENDULUM
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
end
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