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
a6bd95a6
Commit
a6bd95a6
authored
Sep 24, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
89a2d427
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
+8
-6
script/c13959634.lua
script/c13959634.lua
+3
-2
script/c61344030.lua
script/c61344030.lua
+1
-1
script/c61468779.lua
script/c61468779.lua
+3
-2
script/c97617181.lua
script/c97617181.lua
+1
-1
No files found.
script/c13959634.lua
View file @
a6bd95a6
...
@@ -46,19 +46,20 @@ function c13959634.hdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,19 +46,20 @@ function c13959634.hdop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_DISCARD
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_DISCARD
)
end
end
function
c13959634
.
leaveop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c13959634
.
leaveop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
effp
=
e
:
GetHandler
():
GetPreviousControler
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SKIP_BP
)
e1
:
SetCode
(
EFFECT_SKIP_BP
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
if
Duel
.
GetTurnPlayer
()
==
t
p
then
if
Duel
.
GetTurnPlayer
()
==
eff
p
then
e1
:
SetLabel
(
Duel
.
GetTurnCount
())
e1
:
SetLabel
(
Duel
.
GetTurnCount
())
e1
:
SetCondition
(
c13959634
.
skipcon
)
e1
:
SetCondition
(
c13959634
.
skipcon
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
else
else
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
1
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
1
)
end
end
Duel
.
RegisterEffect
(
e1
,
t
p
)
Duel
.
RegisterEffect
(
e1
,
eff
p
)
end
end
function
c13959634
.
skipcon
(
e
)
function
c13959634
.
skipcon
(
e
)
return
Duel
.
GetTurnCount
()
~=
e
:
GetLabel
()
return
Duel
.
GetTurnCount
()
~=
e
:
GetLabel
()
...
...
script/c61344030.lua
View file @
a6bd95a6
...
@@ -46,7 +46,7 @@ end
...
@@ -46,7 +46,7 @@ end
function
c61344030
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c61344030
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
GetAttack
()
>
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
...
...
script/c61468779.lua
View file @
a6bd95a6
...
@@ -55,19 +55,20 @@ function c61468779.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,19 +55,20 @@ function c61468779.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c61468779
.
leaveop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c61468779
.
leaveop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
effp
=
e
:
GetHandler
():
GetPreviousControler
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SKIP_BP
)
e1
:
SetCode
(
EFFECT_SKIP_BP
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
if
Duel
.
GetTurnPlayer
()
==
t
p
then
if
Duel
.
GetTurnPlayer
()
==
eff
p
then
e1
:
SetLabel
(
Duel
.
GetTurnCount
())
e1
:
SetLabel
(
Duel
.
GetTurnCount
())
e1
:
SetCondition
(
c61468779
.
skipcon
)
e1
:
SetCondition
(
c61468779
.
skipcon
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
else
else
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
1
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
1
)
end
end
Duel
.
RegisterEffect
(
e1
,
t
p
)
Duel
.
RegisterEffect
(
e1
,
eff
p
)
end
end
function
c61468779
.
skipcon
(
e
)
function
c61468779
.
skipcon
(
e
)
return
Duel
.
GetTurnCount
()
~=
e
:
GetLabel
()
return
Duel
.
GetTurnCount
()
~=
e
:
GetLabel
()
...
...
script/c97617181.lua
View file @
a6bd95a6
...
@@ -73,7 +73,7 @@ end
...
@@ -73,7 +73,7 @@ end
function
c97617181
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c97617181
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
c
:
GetFirstCardTarget
()
local
tc
=
c
:
GetFirstCardTarget
()
if
tc
and
tc
:
IsLocation
(
LOCATION_MZONE
)
and
tc
:
IsFaceup
()
then
if
tc
and
tc
:
IsLocation
(
LOCATION_MZONE
)
and
tc
:
IsFaceup
()
and
not
c
:
IsLocation
(
LOCATION_DECK
)
then
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
tc
:
CreateEffectRelation
(
e
)
tc
:
CreateEffectRelation
(
e
)
return
true
return
true
...
...
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