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
Mr.Tan
pre-release-database-cdb
Commits
3de8904f
Commit
3de8904f
authored
Apr 20, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
04ebb27e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
script/c100222204.lua
script/c100222204.lua
+1
-1
script/c101205010.lua
script/c101205010.lua
+1
-1
script/c101205011.lua
script/c101205011.lua
+2
-1
No files found.
script/c100222204.lua
View file @
3de8904f
...
...
@@ -66,7 +66,7 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
immval
(
e
,
re
)
local
qc
=
e
:
GetHandler
():
GetEquipTarget
()
return
qc
and
qc
:
IsCode
(
70902743
)
and
re
:
IsActivated
()
and
re
:
GetOwnerPlayer
()
~=
e
:
GetHandl
erPlayer
()
return
qc
and
qc
:
IsCode
(
70902743
)
and
re
:
IsActivated
()
and
e
:
GetHandlerPlayer
()
~=
re
:
GetOwn
erPlayer
()
end
function
s
.
atkfilter
(
c
,
atk
)
return
c
:
IsFaceup
()
and
c
:
GetAttack
()
~=
atk
...
...
script/c101205010.lua
View file @
3de8904f
...
...
@@ -127,7 +127,7 @@ function s.atkcon(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsAttackAbove
(
500
)
end
if
chk
==
0
then
return
c
:
IsAttackAbove
(
500
)
and
c
:
IsDefenseAbove
(
500
)
end
end
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
script/c101205011.lua
View file @
3de8904f
...
...
@@ -125,8 +125,9 @@ function s.atkfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsPosition
(
POS_ATTACK
)
end
function
s
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
s
.
atkfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
c
:
IsAttackAbove
(
500
)
and
c
:
IsDefenseAbove
(
500
)
Duel
.
IsExistingTarget
(
s
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
s
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
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