Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-rush-duel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
5
Issues
5
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
MyCard
ygopro-rush-duel
Commits
df09d701
Commit
df09d701
authored
Nov 11, 2020
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2020/11/11 修正bug
parent
272d2d97
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
script/c120105009.lua
script/c120105009.lua
+1
-1
script/c120130022.lua
script/c120130022.lua
+1
-1
script/c120140030.lua
script/c120140030.lua
+1
-1
No files found.
script/c120105009.lua
View file @
df09d701
...
...
@@ -15,7 +15,7 @@ function cm.initial_effect(c)
end
--Direct Attack
function
cm
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsAttackable
()
return
c
:
IsFaceup
()
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
not
c
:
IsHasEffect
(
EFFECT_DIRECT_ATTACK
)
and
not
c
:
IsHasEffect
(
EFFECT_CANNOT_ATTACK
)
and
not
c
:
IsHasEffect
(
EFFECT_CANNOT_DIRECT_ATTACK
)
...
...
script/c120130022.lua
View file @
df09d701
...
...
@@ -30,7 +30,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
ct
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
if
chk
==
0
then
return
ct
>
0
and
Duel
.
IsPlayerCanDraw
(
tp
,
ct
)
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
4
)
Duel
.
SetTargetParam
(
ct
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
ct
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
0
,
tp
,
ct
)
end
...
...
script/c120140030.lua
View file @
df09d701
...
...
@@ -18,7 +18,7 @@ function cm.costfilter(c)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
Duel
.
GetLP
(
1
-
tp
)
-
Duel
.
GetLP
(
tp
)
>=
1000
and
Duel
.
IsAbleToEnterBP
()
and
c
:
IsAttackable
()
return
Duel
.
GetLP
(
1
-
tp
)
-
Duel
.
GetLP
(
tp
)
>=
1000
and
Duel
.
IsAbleToEnterBP
()
and
not
c
:
IsHasEffect
(
EFFECT_DIRECT_ATTACK
)
and
not
c
:
IsHasEffect
(
EFFECT_CANNOT_ATTACK
)
and
not
c
:
IsHasEffect
(
EFFECT_CANNOT_DIRECT_ATTACK
)
...
...
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