Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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
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-2pick
Commits
76f90cdf
Commit
76f90cdf
authored
Mar 12, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
234a80bb
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
script/c10178757.lua
script/c10178757.lua
+1
-0
script/c16227556.lua
script/c16227556.lua
+1
-1
script/c27337596.lua
script/c27337596.lua
+2
-1
script/c61650133.lua
script/c61650133.lua
+1
-1
script/c74519184.lua
script/c74519184.lua
+1
-3
system.conf
system.conf
+1
-1
No files found.
script/c10178757.lua
View file @
76f90cdf
...
@@ -5,6 +5,7 @@ function c10178757.initial_effect(c)
...
@@ -5,6 +5,7 @@ function c10178757.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
10178757
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
10178757
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_TO_HAND
)
e1
:
SetCode
(
EVENT_TO_HAND
)
e1
:
SetCondition
(
c10178757
.
condition
)
e1
:
SetCondition
(
c10178757
.
condition
)
e1
:
SetTarget
(
c10178757
.
target
)
e1
:
SetTarget
(
c10178757
.
target
)
...
...
script/c16227556.lua
View file @
76f90cdf
...
@@ -17,7 +17,7 @@ function c16227556.initial_effect(c)
...
@@ -17,7 +17,7 @@ function c16227556.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c16227556
.
cfcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c16227556
.
cfcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
=
=
tp
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
~=
0
return
Duel
.
GetTurnPlayer
()
~
=
tp
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
~=
0
end
end
function
c16227556
.
cfcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c16227556
.
cfcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
500
)
end
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
500
)
end
...
...
script/c27337596.lua
View file @
76f90cdf
...
@@ -33,7 +33,8 @@ function c27337596.spfilter(c,e,tp)
...
@@ -33,7 +33,8 @@ function c27337596.spfilter(c,e,tp)
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c27337596
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c27337596
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
c27337596
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
c27337596
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c27337596
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c61650133.lua
View file @
76f90cdf
...
@@ -55,7 +55,7 @@ function c61650133.rmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,7 +55,7 @@ function c61650133.rmop(e,tp,eg,ep,ev,re,r,rp)
end
end
if
rm2
then
if
rm2
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_REMOVE
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
local
g2
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
Card
.
IsAbleToRemove
,
1
-
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
g
:
Merge
(
g2
)
g
:
Merge
(
g2
)
end
end
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
...
...
script/c74519184.lua
View file @
76f90cdf
...
@@ -14,9 +14,7 @@ function c74519184.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -14,9 +14,7 @@ function c74519184.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
h1
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
local
h1
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
if
e
:
GetHandler
():
IsLocation
(
LOCATION_HAND
)
then
h1
=
h1
-
1
end
if
e
:
GetHandler
():
IsLocation
(
LOCATION_HAND
)
then
h1
=
h1
-
1
end
local
h2
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
local
h2
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
local
d1
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
return
h1
>
1
and
h2
>
1
and
Duel
.
IsPlayerCanDraw
(
tp
,
2
)
and
Duel
.
IsPlayerCanDraw
(
1
-
tp
,
2
)
local
d2
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_DECK
)
return
h1
>
1
and
h2
>
1
and
d1
>
1
and
d2
>
1
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
PLAYER_ALL
,
2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
PLAYER_ALL
,
2
)
end
end
...
...
system.conf
View file @
76f90cdf
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
antialias
=
2
antialias
=
2
nickname
=
Player
nickname
=
Player
gamename
=
Game
gamename
=
Game
lastdeck
=
test
lastdeck
=
sample
textfont
=
c
:/
windows
/
fonts
/
simsun
.
ttc
14
textfont
=
c
:/
windows
/
fonts
/
simsun
.
ttc
14
numfont
=
c
:/
windows
/
fonts
/
arialbd
.
ttf
numfont
=
c
:/
windows
/
fonts
/
arialbd
.
ttf
serverport
=
7911
serverport
=
7911
...
...
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