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
c360bc66
Commit
c360bc66
authored
Jan 27, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Psychic Arsenal
可以选择不能除外的怪兽或者陷阱怪兽为对象,选择多种属性的怪兽时取交集。 修复对象转移函数名
parent
5c2f1890
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
script/c101203082.lua
script/c101203082.lua
+4
-4
No files found.
script/c101203082.lua
View file @
c360bc66
...
@@ -29,14 +29,14 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -29,14 +29,14 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
end
end
function
s
.
cfilter
(
c
,
tp
)
function
s
.
cfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_PSYCHO
)
and
c
:
IsAbleToRemove
()
and
c
:
GetOriginalType
()
&
TYPE_MONSTER
~=
0
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_PSYCHO
)
and
Duel
.
CheckLPCost
(
tp
,
c
:
GetLevel
()
*
200
)
and
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
:
GetLevel
(),
c
:
GetAttribute
())
and
Duel
.
CheckLPCost
(
tp
,
c
:
GetLevel
()
*
200
)
and
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
:
GetLevel
(),
c
:
GetAttribute
())
end
end
function
s
.
thfilter
(
c
,
lv
,
att
)
function
s
.
thfilter
(
c
,
lv
,
att
)
return
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
GetAttribute
()
==
att
and
c
:
GetLevel
()
>
lv
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_MACHINE
)
and
bit
.
band
(
c
:
GetAttribute
(),
att
)
~=
0
and
c
:
GetLevel
()
>
lv
and
c
:
IsAbleToHand
()
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
rm
filter
(
chkc
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
c
filter
(
chkc
,
tp
)
end
if
chk
==
0
then
if
chk
==
0
then
if
e
:
GetLabel
()
~=
100
then
return
false
end
if
e
:
GetLabel
()
~=
100
then
return
false
end
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
...
...
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