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
19d11b4f
Commit
19d11b4f
authored
Jul 02, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1429 from DailyShana/patch-6
fix
parents
4b1d77a3
f5031f49
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
script/c18326736.lua
script/c18326736.lua
+5
-1
script/c23846921.lua
script/c23846921.lua
+5
-2
No files found.
script/c18326736.lua
View file @
19d11b4f
...
...
@@ -21,6 +21,7 @@ function c18326736.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCost
(
c18326736
.
skipcost
)
e2
:
SetTarget
(
c18326736
.
skiptg
)
e2
:
SetOperation
(
c18326736
.
skipop
)
c
:
RegisterEffect
(
e2
)
--material
...
...
@@ -69,9 +70,12 @@ function c18326736.spop(e,tp,eg,ep,ev,re,r,rp)
end
function
c18326736
.
skipcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
CheckRemoveOverlayCard
(
tp
,
7
,
REASON_COST
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
1
-
tp
,
EFFECT_SKIP_TURN
)
end
if
chk
==
0
then
return
c
:
CheckRemoveOverlayCard
(
tp
,
7
,
REASON_COST
)
end
c
:
RemoveOverlayCard
(
tp
,
7
,
7
,
REASON_COST
)
end
function
c18326736
.
skiptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
1
-
tp
,
EFFECT_SKIP_TURN
)
end
end
function
c18326736
.
skipop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
script/c23846921.lua
View file @
19d11b4f
...
...
@@ -39,6 +39,7 @@ function c23846921.arcanareg(c,coin)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c23846921
.
skipcon
)
e1
:
SetCost
(
c23846921
.
skipcost
)
e1
:
SetTarget
(
c23846921
.
skiptg
)
e1
:
SetOperation
(
c23846921
.
skipop
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -61,12 +62,14 @@ function c23846921.skipcon(e,tp,eg,ep,ev,re,r,rp)
return
ep
==
tp
and
e
:
GetHandler
():
GetFlagEffectLabel
(
36690018
)
==
1
end
function
c23846921
.
skipcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGraveAsCost
,
tp
,
LOCATION_MZONE
,
0
,
2
,
nil
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
1
-
tp
,
EFFECT_SKIP_TURN
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGraveAsCost
,
tp
,
LOCATION_MZONE
,
0
,
2
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGraveAsCost
,
tp
,
LOCATION_MZONE
,
0
,
2
,
2
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
function
c23846921
.
skiptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
1
-
tp
,
EFFECT_SKIP_TURN
)
end
end
function
c23846921
.
skipop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
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