Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
List
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
yks
pre-release-database-cdb
Commits
f54c67ae
Commit
f54c67ae
authored
Jul 11, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update SelectPosition
parent
e457a34a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
script/c101205090.lua
script/c101205090.lua
+1
-1
script/c101205093.lua
script/c101205093.lua
+1
-1
script/c101205095.lua
script/c101205095.lua
+1
-1
No files found.
script/c101205090.lua
View file @
f54c67ae
...
...
@@ -86,7 +86,7 @@ function s.posop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
HintSelection
(
g
)
local
pos
=
Duel
.
SelectPosition
(
tp
,
tc
,
POS_FACEUP
_ATTACK
+
POS_FACEUP_DEFENSE
)
local
pos
=
Duel
.
SelectPosition
(
tp
,
tc
,
POS_FACEUP
)
Duel
.
ChangePosition
(
tc
,
pos
)
end
end
script/c101205093.lua
View file @
f54c67ae
...
...
@@ -84,7 +84,7 @@ function s.posop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
HintSelection
(
g
)
local
pos
=
Duel
.
SelectPosition
(
tp
,
tc
,
POS_FACEUP
_ATTACK
+
POS_FACEUP_DEFENSE
)
local
pos
=
Duel
.
SelectPosition
(
tp
,
tc
,
POS_FACEUP
)
Duel
.
ChangePosition
(
tc
,
pos
)
end
end
\ No newline at end of file
script/c101205095.lua
View file @
f54c67ae
...
...
@@ -89,7 +89,7 @@ function s.posop(e,tp,eg,ep,ev,re,r,rp)
elseif
tc
:
IsPosition
(
POS_FACEUP_DEFENCE
)
and
tc
:
IsCanChangePosition
()
then
Duel
.
ChangePosition
(
tc
,
POS_FACEUP_ATTACK
)
else
local
pos
=
Duel
.
SelectPosition
(
tp
,
tc
,
POS_FACEUP
_ATTACK
+
POS_FACEUP_DEFENSE
)
local
pos
=
Duel
.
SelectPosition
(
tp
,
tc
,
POS_FACEUP
)
Duel
.
ChangePosition
(
tc
,
pos
)
end
end
...
...
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