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
90dc5df7
Commit
90dc5df7
authored
Apr 12, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 特異点の悪魔
parent
8f8c6c7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
script/c100222201.lua
script/c100222201.lua
+2
-1
No files found.
script/c100222201.lua
View file @
90dc5df7
...
@@ -7,6 +7,7 @@ function s.initial_effect(c)
...
@@ -7,6 +7,7 @@ function s.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCondition
(
s
.
descon
)
e1
:
SetCondition
(
s
.
descon
)
e1
:
SetCost
(
s
.
descost
)
e1
:
SetCost
(
s
.
descost
)
e1
:
SetTarget
(
s
.
destg
)
e1
:
SetTarget
(
s
.
destg
)
...
@@ -33,7 +34,7 @@ function s.descost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -33,7 +34,7 @@ function s.descost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
s
.
desfilter
(
c
,
e
,
tp
)
function
s
.
desfilter
(
c
,
e
,
tp
)
return
c
:
IsSummonPlayer
(
1
-
tp
)
and
(
not
e
or
c
:
IsRelateToEffect
(
e
))
return
c
:
IsSummonPlayer
(
1
-
tp
)
and
(
not
e
or
c
:
IsRelateToEffect
(
e
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
end
end
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
s
.
desfilter
,
1
,
nil
,
nil
,
tp
)
end
if
chk
==
0
then
return
eg
:
IsExists
(
s
.
desfilter
,
1
,
nil
,
nil
,
tp
)
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