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
Amiya
pre-release-database-cdb
Commits
68392a00
Commit
68392a00
authored
Jan 01, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 共界神淵体
parent
3b45ea54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
script/c101204069.lua
script/c101204069.lua
+3
-2
No files found.
script/c101204069.lua
View file @
68392a00
...
...
@@ -7,6 +7,7 @@ function s.initial_effect(c)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -17,8 +18,8 @@ function s.tgfilter(c,e,tp)
end
function
s
.
spfilter
(
c
,
e
,
tp
,
race
,
att
,
atk
)
local
res
=
0
if
c
:
GetRace
()
==
race
then
res
=
res
+
1
end
if
c
:
GetAttribute
()
==
att
then
res
=
res
+
1
end
if
bit
.
band
(
c
:
GetRace
(),
race
)
~=
0
then
res
=
res
+
1
end
if
bit
.
band
(
c
:
GetAttribute
(),
att
)
~=
0
then
res
=
res
+
1
end
if
c
:
GetAttack
()
==
atk
then
res
=
res
+
1
end
if
res
<
2
then
return
false
end
return
((
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
)
or
not
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetMZoneCount
(
tp
)
>
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