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
zengshangxing
pre-release-database-cdb
Commits
aa4105c8
Commit
aa4105c8
authored
Jan 15, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add EFFECT_FLAG_CARD_TARGET
parent
5249bbbf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
script/c101204012.lua
script/c101204012.lua
+1
-1
script/c101204044.lua
script/c101204044.lua
+2
-2
script/c101204051.lua
script/c101204051.lua
+1
-1
No files found.
script/c101204012.lua
View file @
aa4105c8
...
...
@@ -21,7 +21,7 @@ function s.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_SSET
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetTarget
(
s
.
destg
)
...
...
script/c101204044.lua
View file @
aa4105c8
...
...
@@ -19,7 +19,7 @@ function s.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_POSITION
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetTarget
(
s
.
postg
)
...
...
@@ -43,7 +43,7 @@ function s.dacon(e)
return
Duel
.
GetOverlayCount
(
0
,
1
,
1
)
>=
3
end
function
s
.
filter
(
c
,
e
)
return
c
:
IsCanChangePosition
()
and
(
not
e
or
c
:
IsRelateToEffect
(
e
)
)
return
c
:
IsCanChangePosition
()
and
c
:
IsCanBeEffectTarget
(
e
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
end
function
s
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
s
.
filter
,
1
,
nil
,
e
)
and
not
eg
:
IsContains
(
e
:
GetHandler
())
and
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
1
,
1
,
REASON_EFFECT
)
end
...
...
script/c101204051.lua
View file @
aa4105c8
...
...
@@ -29,7 +29,7 @@ function s.initial_effect(c)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e4
:
SetCode
(
EVENT_CUSTOM
+
id
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetCountLimit
(
1
,
id
+
o
)
...
...
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