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
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
Vee4
ygopro-scripts-888
Commits
8202e96b
Commit
8202e96b
authored
Dec 11, 2022
by
Chrono-Genex
Committed by
GitHub
Dec 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Invoked Elysium (#2001)
* fix * fix
parent
7bfd325f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
c11270236.lua
c11270236.lua
+5
-7
No files found.
c11270236.lua
View file @
8202e96b
...
@@ -38,19 +38,17 @@ end
...
@@ -38,19 +38,17 @@ end
function
c11270236
.
splimit
(
e
,
se
,
sp
,
st
)
function
c11270236
.
splimit
(
e
,
se
,
sp
,
st
)
return
not
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
or
aux
.
fuslimit
(
e
,
se
,
sp
,
st
)
return
not
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
or
aux
.
fuslimit
(
e
,
se
,
sp
,
st
)
end
end
function
c11270236
.
rmfilter1
(
c
,
tp
)
function
c11270236
.
rmfilter1
(
c
)
local
att
=
c
:
GetAttribute
()
return
c
:
IsSetCard
(
0xf4
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceupEx
()
and
c
:
IsAbleToRemove
()
return
c
:
IsSetCard
(
0xf4
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
and
c
:
IsAbleToRemove
()
and
Duel
.
IsExistingMatchingCard
(
c11270236
.
rmfilter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
att
)
end
end
function
c11270236
.
rmfilter2
(
c
,
att
)
function
c11270236
.
rmfilter2
(
c
,
att
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
att
)
and
c
:
IsAbleToRemove
()
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
att
)
and
c
:
IsAbleToRemove
()
end
end
function
c11270236
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c11270236
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c11270236
.
rmfilter1
(
chkc
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c11270236
.
rmfilter1
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c11270236
.
rmfilter1
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c11270236
.
rmfilter1
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
c11270236
.
rmfilter1
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
tp
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
c11270236
.
rmfilter1
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c11270236
.
rmfilter2
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
g1
:
GetFirst
():
GetAttribute
())
local
g2
=
Duel
.
GetMatchingGroup
(
c11270236
.
rmfilter2
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
g1
:
GetFirst
():
GetAttribute
())
local
gr
=
false
local
gr
=
false
if
g1
:
GetFirst
():
IsLocation
(
LOCATION_GRAVE
)
then
gr
=
true
end
if
g1
:
GetFirst
():
IsLocation
(
LOCATION_GRAVE
)
then
gr
=
true
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