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
14509870
Commit
14509870
authored
Oct 22, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix トラゴエディア
parent
0a980de0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
c98777036.lua
c98777036.lua
+7
-6
No files found.
c98777036.lua
View file @
14509870
...
...
@@ -93,14 +93,15 @@ function c98777036.ctop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
GetControl
(
tc
,
tp
)
end
end
function
c98777036
.
lvfilter
(
c
)
return
c
:
GetLevel
()
>
0
function
c98777036
.
lvfilter
(
c
,
lv
)
return
c
:
IsLevelAbove
(
0
)
and
not
c
:
IsLevel
(
lv
)
end
function
c98777036
.
lvtar
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsType
(
TYPE_MONSTER
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c98777036
.
lvfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
local
lv
=
e
:
GetHandler
():
GetLevel
()
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c98777036
.
lvfilter
(
chkc
,
lv
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c98777036
.
lvfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
lv
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
c98777036
.
lvfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
c98777036
.
lvfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
lv
)
end
function
c98777036
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
...
...
@@ -110,7 +111,7 @@ function c98777036.lvop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e1
:
SetValue
(
tc
:
GetLevel
())
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_
DISABLE
+
RESET_
PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
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