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
2955ad94
Commit
2955ad94
authored
Jan 22, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
百夫长修复
parent
5ce2901d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
LEDE.cdb
LEDE.cdb
+0
-0
script/c101204021.lua
script/c101204021.lua
+3
-3
script/c101204064.lua
script/c101204064.lua
+1
-1
No files found.
LEDE.cdb
View file @
2955ad94
No preview for this file type
script/c101204021.lua
View file @
2955ad94
...
...
@@ -86,20 +86,20 @@ function s.spcon2(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
,
0x1a2
,
TYPE_MONSTER
+
TYPE_EFFECT
,
2000
,
2
000
,
8
,
RACE_DRAGON
,
ATTRIBUTE_DARK
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
,
0x1a2
,
TYPE_MONSTER
+
TYPE_EFFECT
,
2000
,
3
000
,
8
,
RACE_DRAGON
,
ATTRIBUTE_DARK
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
s
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
and
c
:
IsLevelAbove
(
5
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
Duel
.
BreakEffect
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
-
1
4
)
e1
:
SetValue
(
-
4
)
c
:
RegisterEffect
(
e1
)
end
end
\ No newline at end of file
script/c101204064.lua
View file @
2955ad94
...
...
@@ -37,7 +37,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
lv
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
id
,
2
),
aux
.
Stringid
(
id
,
3
))
+
1
e
:
SetLabel
(
lv
*
4
)
elseif
t1
then
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
id
,
2
)
,
aux
.
Stringid
(
id
,
3
)
)
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
id
,
2
))
e
:
SetLabel
(
4
)
elseif
t2
then
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
id
,
3
))
...
...
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