Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
YGOPRO-520DIY
ygopro
Commits
8fee3bc8
Commit
8fee3bc8
authored
Nov 03, 2013
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b39228cc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
6 deletions
+2
-6
script/c24096228.lua
script/c24096228.lua
+1
-2
script/c58775978.lua
script/c58775978.lua
+0
-2
script/c65824822.lua
script/c65824822.lua
+1
-0
script/c72302403.lua
script/c72302403.lua
+0
-2
No files found.
script/c24096228.lua
View file @
8fee3bc8
...
...
@@ -35,7 +35,6 @@ function c24096228.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e
:
SetCategory
(
0
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
then
Duel
.
SelectTarget
(
tp
,
c24096228
.
filter1
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
1
,
nil
)
...
...
@@ -54,7 +53,7 @@ function c24096228.operation(e,tp,eg,ep,ev,re,r,rp)
e
:
SetCategory
(
te
:
GetCategory
())
e
:
SetProperty
(
te
:
GetProperty
())
Duel
.
ClearTargetCard
()
if
bit
.
band
(
tpe
,
TYPE_EQUIP
+
TYPE_CONTINUOUS
)
~=
0
then
if
bit
.
band
(
tpe
,
TYPE_EQUIP
+
TYPE_CONTINUOUS
)
~=
0
or
tc
:
IsHasEffect
(
EFFECT_REMAIN_FIELD
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
tc
:
CreateEffectRelation
(
te
)
...
...
script/c58775978.lua
View file @
8fee3bc8
...
...
@@ -18,8 +18,6 @@ function c58775978.initial_effect(c)
--remain field
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCode
(
EFFECT_REMAIN_FIELD
)
c
:
RegisterEffect
(
e3
)
end
...
...
script/c65824822.lua
View file @
8fee3bc8
...
...
@@ -10,6 +10,7 @@ function c65824822.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c65824822
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
CancelToGrave
(
false
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
)
if
g
:
GetCount
()
>
0
then
local
sg
=
g
:
RandomSelect
(
1
-
tp
,
1
,
nil
)
...
...
script/c72302403.lua
View file @
8fee3bc8
...
...
@@ -18,8 +18,6 @@ function c72302403.initial_effect(c)
--remain field
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCode
(
EFFECT_REMAIN_FIELD
)
c
:
RegisterEffect
(
e3
)
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