Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
80f67a50
Commit
80f67a50
authored
Apr 06, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c7edebf2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
script/c101009008.lua
script/c101009008.lua
+1
-1
script/c101009038.lua
script/c101009038.lua
+1
-1
No files found.
script/c101009008.lua
View file @
80f67a50
...
@@ -79,7 +79,7 @@ function c101009008.rmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -79,7 +79,7 @@ function c101009008.rmop(e,tp,eg,ep,ev,re,r,rp)
local
lv
=
rg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_REMOVED
)
local
lv
=
rg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_REMOVED
)
if
lv
>
0
and
tc
:
IsRelateToEffect
(
e
)
then
if
lv
>
0
and
tc
:
IsRelateToEffect
(
e
)
then
local
op
=
0
local
op
=
0
if
c
:
IsLevelBelow
(
lv
)
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
101009008
,
2
))
if
t
c
:
IsLevelBelow
(
lv
)
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
101009008
,
2
))
else
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
101009008
,
2
),
aux
.
Stringid
(
101009008
,
3
))
end
else
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
101009008
,
2
),
aux
.
Stringid
(
101009008
,
3
))
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c101009038.lua
View file @
80f67a50
...
@@ -34,7 +34,7 @@ function c101009038.initial_effect(c)
...
@@ -34,7 +34,7 @@ function c101009038.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e4
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e4
:
SetRange
(
LOCATION_GRAVE
)
e4
:
SetRange
(
LOCATION_GRAVE
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCountLimit
(
1
,
101009038
)
e4
:
SetCondition
(
c101009038
.
spcon
)
e4
:
SetCondition
(
c101009038
.
spcon
)
e4
:
SetCost
(
c101009038
.
spcost
)
e4
:
SetCost
(
c101009038
.
spcost
)
e4
:
SetTarget
(
c101009038
.
sptg
)
e4
:
SetTarget
(
c101009038
.
sptg
)
...
...
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