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
40833b4e
Commit
40833b4e
authored
Apr 15, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d8e4f98e
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
7 deletions
+13
-7
script/c14289852.lua
script/c14289852.lua
+5
-0
script/c16556849.lua
script/c16556849.lua
+1
-0
script/c51435705.lua
script/c51435705.lua
+1
-1
script/c65301952.lua
script/c65301952.lua
+1
-1
script/c86585274.lua
script/c86585274.lua
+2
-2
script/c99050989.lua
script/c99050989.lua
+2
-2
script/utility.lua
script/utility.lua
+1
-1
No files found.
script/c14289852.lua
View file @
40833b4e
--岩投げエリア
function
c14289852
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e1
)
--destroy replace
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
...
...
script/c16556849.lua
View file @
40833b4e
...
...
@@ -32,6 +32,7 @@ function c16556849.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
end
function
c16556849
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
GetAttack
()
>
c
:
GetAttack
()
then
...
...
script/c51435705.lua
View file @
40833b4e
...
...
@@ -23,7 +23,7 @@ function c51435705.shcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_DISCARD
+
REASON_COST
)
end
function
c51435705
.
filter
(
c
)
return
c
:
IsSetCard
(
0x70
)
and
c
:
GetCode
()
~=
51435705
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x70
)
and
c
:
GetCode
()
~=
51435705
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
end
function
c51435705
.
shtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c65301952.lua
View file @
40833b4e
...
...
@@ -40,7 +40,7 @@ function c65301952.setcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
DiscardHand
(
tp
,
Card
.
IsAbleToGraveAsCost
,
1
,
1
,
REASON_COST
)
end
function
c65301952
.
filter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSSetable
()
return
c
:
IsType
(
TYPE_SPELL
)
and
not
c
:
IsType
(
TYPE_FIELD
)
and
c
:
IsSSetable
()
end
function
c65301952
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
script/c86585274.lua
View file @
40833b4e
...
...
@@ -27,9 +27,9 @@ function c86585274.cffilter(c)
return
c
:
IsSetCard
(
0x106e
)
and
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsPublic
()
end
function
c86585274
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c
40213117
.
cffilter
,
tp
,
LOCATION_HAND
,
0
,
3
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c
86585274
.
cffilter
,
tp
,
LOCATION_HAND
,
0
,
3
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c
40213117
.
cffilter
,
tp
,
LOCATION_HAND
,
0
,
3
,
3
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c
86585274
.
cffilter
,
tp
,
LOCATION_HAND
,
0
,
3
,
3
,
nil
)
g
:
AddCard
(
e
:
GetHandler
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
...
...
script/c99050989.lua
View file @
40833b4e
...
...
@@ -8,10 +8,10 @@ function c99050989.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c99050989
.
filter
(
c
)
return
c
:
IsAttackBelow
(
1600
)
or
c
:
IsFacedown
()
return
c
:
GetAttack
()
<
1600
or
c
:
IsFacedown
()
end
function
c99050989
.
dircon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_SZONE
)
==
0
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_SZONE
)
==
0
and
not
Duel
.
IsExistingMatchingCard
(
c99050989
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
script/utility.lua
View file @
40833b4e
...
...
@@ -794,7 +794,7 @@ function Auxiliary.RPEOperation(filter)
local
tc
=
tg
:
GetFirst
()
mg
:
RemoveCard
(
tc
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
mat
=
mg
:
SelectWithSumEqual
(
tp
,
Card
.
GetRitualLevel
,
tc
:
GetLevel
(),
1
,
tc
)
local
mat
=
mg
:
SelectWithSumEqual
(
tp
,
Card
.
GetRitualLevel
,
tc
:
GetLevel
(),
1
,
99
,
tc
)
tc
:
SetMaterial
(
mat
)
Duel
.
ReleaseRitualMaterial
(
mat
)
Duel
.
BreakEffect
()
...
...
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