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
80952ea3
Commit
80952ea3
authored
Dec 27, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7d2b4c98
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
7 deletions
+8
-7
script/c18988391.lua
script/c18988391.lua
+1
-1
script/c69832741.lua
script/c69832741.lua
+1
-0
script/c81146288.lua
script/c81146288.lua
+1
-1
script/c9012916.lua
script/c9012916.lua
+1
-0
script/c95561280.lua
script/c95561280.lua
+1
-4
script/c98012938.lua
script/c98012938.lua
+3
-1
No files found.
script/c18988391.lua
View file @
80952ea3
...
@@ -12,7 +12,7 @@ end
...
@@ -12,7 +12,7 @@ end
function
c18988391
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c18988391
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
18988391
)
==
0
and
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
18988391
)
==
0
and
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
Duel
.
RegisterFlagEffect
(
tp
,
18988391
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
18988391
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c18988391
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c18988391
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
script/c69832741.lua
View file @
80952ea3
...
@@ -14,6 +14,7 @@ function c69832741.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -14,6 +14,7 @@ function c69832741.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_SEND_REPLACE
)
e1
:
SetCode
(
EFFECT_SEND_REPLACE
)
e1
:
SetTarget
(
c69832741
.
reptg
)
e1
:
SetTarget
(
c69832741
.
reptg
)
e1
:
SetValue
(
c69832741
.
repval
)
e1
:
SetValue
(
c69832741
.
repval
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c69832741
.
repfilter
(
c
)
function
c69832741
.
repfilter
(
c
)
...
...
script/c81146288.lua
View file @
80952ea3
...
@@ -44,7 +44,7 @@ function c81146288.distg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -44,7 +44,7 @@ function c81146288.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c81146288
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c81146288
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_
MZONE
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_
ONFIELD
,
c
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
while
tc
do
while
tc
do
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c9012916.lua
View file @
80952ea3
...
@@ -26,6 +26,7 @@ function c9012916.initial_effect(c)
...
@@ -26,6 +26,7 @@ function c9012916.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCost
(
c9012916
.
cost
)
e3
:
SetCost
(
c9012916
.
cost
)
e3
:
SetTarget
(
c9012916
.
target
)
e3
:
SetTarget
(
c9012916
.
target
)
e3
:
SetOperation
(
c9012916
.
operation
)
e3
:
SetOperation
(
c9012916
.
operation
)
...
...
script/c95561280.lua
View file @
80952ea3
...
@@ -18,14 +18,11 @@ function c95561280.initial_effect(c)
...
@@ -18,14 +18,11 @@ function c95561280.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
e3
:
SetCode
(
EFFECT_CANNOT_S
PECIAL_S
UMMON
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetTargetRange
(
1
,
1
)
e3
:
SetTargetRange
(
1
,
1
)
e3
:
SetTarget
(
c95561280
.
tg
)
e3
:
SetTarget
(
c95561280
.
tg
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
c
:
RegisterEffect
(
e4
)
end
end
function
c95561280
.
tg
(
e
,
c
)
function
c95561280
.
tg
(
e
,
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_WIND
)
return
c
:
IsAttribute
(
ATTRIBUTE_WIND
)
...
...
script/c98012938.lua
View file @
80952ea3
...
@@ -44,7 +44,9 @@ function c98012938.hfilter(c,e)
...
@@ -44,7 +44,9 @@ function c98012938.hfilter(c,e)
end
end
function
c98012938
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98012938
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
c98012938
.
hfilter
,
nil
,
e
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
if
not
g
then
return
end
g
=
g
:
Filter
(
c98012938
.
hfilter
,
nil
,
e
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
...
...
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