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
Mr.Tan
pre-release-database-cdb
Commits
59f36674
Commit
59f36674
authored
Apr 20, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
371db337
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
75 additions
and
2 deletions
+75
-2
script/c101205037.lua
script/c101205037.lua
+1
-1
script/c101205049.lua
script/c101205049.lua
+73
-0
script/c101205077.lua
script/c101205077.lua
+1
-1
No files found.
script/c101205037.lua
View file @
59f36674
...
...
@@ -69,7 +69,7 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
g1
=
Duel
.
SelectTarget
(
tp
,
s
.
desfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
ct
,
nil
,
tp
)
local
ect
=
g1
:
GetCount
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
s
.
desfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
ect
,
ect
,
nil
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
ect
,
ect
,
nil
)
g1
:
Merge
(
g2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g1
,
g1
:
GetCount
(),
0
,
0
)
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_CHAIN
,
EFFECT_FLAG_OATH
,
1
)
...
...
script/c101205049.lua
0 → 100644
View file @
59f36674
--ヴァルモニカの神奏-ヴァーラル
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
aux
.
AddLinkProcedure
(
c
,
nil
,
2
,
2
,
s
.
lcheck
)
c
:
EnableReviveLimit
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
s
.
imcon
)
e1
:
SetValue
(
s
.
efilter
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_EXTRA_ATTACK
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetValue
(
s
.
atkval
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
7987191
,
0
))
e3
:
SetCategory
(
CATEGORY_DISABLE_SUMMON
+
CATEGORY_DESTROY
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EVENT_SPSUMMON
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
s
.
discon
)
e3
:
SetTarget
(
s
.
distg
)
e3
:
SetOperation
(
s
.
disop
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
lfilter
(
c
)
return
c
:
IsLinkType
(
TYPE_LINK
)
and
c
:
IsLinkSetCard
(
0x1a3
)
end
function
s
.
lcheck
(
g
)
return
g
:
IsExists
(
s
.
lfilter
,
1
,
nil
)
end
function
s
.
cfilter
(
c
)
return
c
:
GetCounter
(
0x6a
)
>
0
end
function
s
.
iee
(
c
)
return
c
:
GetCounter
(
0x6a
)
end
function
s
.
imcon
(
e
)
local
sg
=
Duel
.
GetMatchingGroup
(
s
.
cfilter
,
e
:
GetHandler
():
GetControler
(),
LOCATION_ONFIELD
,
0
,
nil
)
local
ct
=
sg
:
GetSum
(
s
.
iee
)
return
ct
>
5
end
function
s
.
efilter
(
e
,
te
)
return
not
te
:
GetOwner
():
IsSetCard
(
0x1a3
)
end
function
s
.
atkfilter
(
c
)
return
c
:
IsLevel
(
4
)
and
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1a3
)
end
function
s
.
atkval
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
s
.
atkfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
nil
)
end
function
s
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
tp
~=
ep
and
Duel
.
GetCurrentChain
()
==
0
end
function
s
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE_SUMMON
,
eg
,
eg
:
GetCount
(),
0
,
0
)
end
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
NegateSummon
(
eg
)
if
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x6a
,
3
,
REASON_EFFECT
)
then
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x6a
,
3
,
REASON_EFFECT
)
end
end
\ No newline at end of file
script/c101205077.lua
View file @
59f36674
...
...
@@ -36,7 +36,7 @@ end
function
s
.
spfilter
(
c
,
e
,
tp
,
atk
)
return
c
:
IsSetCard
(
0x71
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsAttackBelow
(
atk
)
and
(
c
:
IsLocation
(
LOCATION_
DECK
)
and
Duel
.
GetMZoneCount
(
tp
)
>
0
and
(
c
:
IsLocation
(
LOCATION_
HAND
)
and
Duel
.
GetMZoneCount
(
tp
)
>
0
or
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
)
end
function
s
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
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