Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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-scripts
Commits
e75194ae
Commit
e75194ae
authored
Mar 21, 2019
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove POS_FACEDOWN_ATTACK
parent
25cfeeea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
c31305911.lua
c31305911.lua
+1
-2
constant.lua
constant.lua
+1
-1
No files found.
c31305911.lua
View file @
e75194ae
...
...
@@ -19,8 +19,7 @@ function c31305911.initial_effect(c)
end
function
c31305911
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
pos
=
c
:
GetBattlePosition
()
return
c
==
Duel
.
GetAttackTarget
()
and
(
pos
==
POS_FACEDOWN_DEFENSE
or
pos
==
POS_FACEDOWN_ATTACK
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
return
c
==
Duel
.
GetAttackTarget
()
and
bit
.
band
(
c
:
GetBattlePosition
(),
POS_FACEDOWN
)
~=
0
and
c
:
IsLocation
(
LOCATION_MZONE
)
end
function
c31305911
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
constant.lua
View file @
e75194ae
...
...
@@ -20,7 +20,7 @@ LOCATION_FZONE =0x100 --场地区
LOCATION_PZONE
=
0x200
--灵摆区
--Positions 表示形式
POS_FACEUP_ATTACK
=
0x1
--表侧攻击
POS_FACEDOWN_ATTACK
=
0x2
--
里侧攻击
POS_FACEDOWN_ATTACK
=
0x2
--
N/A
POS_FACEUP_DEFENSE
=
0x4
--表侧守备
POS_FACEDOWN_DEFENSE
=
0x8
--里侧守备
POS_FACEUP
=
0x5
--正面表示
...
...
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