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
d2d14671
Commit
d2d14671
authored
May 22, 2013
by
argon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
43069627
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
script/c1149109.lua
script/c1149109.lua
+1
-1
script/c57103969.lua
script/c57103969.lua
+1
-1
script/c72892473.lua
script/c72892473.lua
+1
-1
No files found.
script/c1149109.lua
View file @
d2d14671
...
@@ -43,6 +43,6 @@ function c1149109.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,6 +43,6 @@ function c1149109.desop(e,tp,eg,ep,ev,re,r,rp)
ct
=
ct
+
1
ct
=
ct
+
1
c
:
SetTurnCounter
(
ct
)
c
:
SetTurnCounter
(
ct
)
if
ct
==
2
then
if
ct
==
2
then
Duel
.
Destroy
(
c
,
REASON_
EFFECT
)
Duel
.
Destroy
(
c
,
REASON_
RULE
)
end
end
end
end
script/c57103969.lua
View file @
d2d14671
...
@@ -19,7 +19,7 @@ function c57103969.initial_effect(c)
...
@@ -19,7 +19,7 @@ function c57103969.initial_effect(c)
end
end
function
c57103969
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c57103969
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
57103969
)
==
0
end
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
57103969
)
==
0
end
Duel
.
RegisterFlagEffect
(
tp
,
57103969
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
57103969
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
end
end
function
c57103969
.
filter
(
c
)
function
c57103969
.
filter
(
c
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsRace
(
RACE_BEASTWARRIOR
)
and
c
:
IsAbleToHand
()
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsRace
(
RACE_BEASTWARRIOR
)
and
c
:
IsAbleToHand
()
...
...
script/c72892473.lua
View file @
d2d14671
...
@@ -14,7 +14,7 @@ function c72892473.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -14,7 +14,7 @@ function c72892473.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
)
return
(
h1
>
0
or
h2
>
0
)
and
Duel
.
IsPlayerCanDraw
(
tp
,(
h1
>
0
)
and
h1
or
1
)
and
Duel
.
IsPlayerCanDraw
(
1
-
tp
,
1
)
return
h1
>
0
and
Duel
.
IsPlayerCanDraw
(
tp
,(
h1
>
0
)
and
h1
or
1
)
and
Duel
.
IsPlayerCanDraw
(
1
-
tp
,
1
)
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
PLAYER_ALL
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
PLAYER_ALL
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
PLAYER_ALL
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
PLAYER_ALL
,
1
)
...
...
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