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
yxli
pre-release-database-cdb
Commits
140f5f54
Commit
140f5f54
authored
Dec 15, 2023
by
Tang Xinwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix --幻奏の歌姫クープレ
parent
0b1326a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
script/c101204010.lua
script/c101204010.lua
+5
-3
No files found.
script/c101204010.lua
View file @
140f5f54
--幻奏の歌姫クープレ
function
c101204010
.
initial_effect
(
c
)
function
c101204010
.
initial_effect
(
c
)
aux
.
EnablePendulumAttribute
(
c
)
aux
.
EnablePendulumAttribute
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
...
@@ -47,8 +46,11 @@ end
...
@@ -47,8 +46,11 @@ end
function
c101204010
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
function
c101204010
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
return
not
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
bit
.
band
(
sumtp
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
return
not
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
bit
.
band
(
sumtp
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
end
end
function
c101204010
.
thcfilter
()
return
c
:
IsFaceup
()
and
not
c
:
IsSetCard
(
0x9b
)
end
function
c101204010
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101204010
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
Duel
.
IsExistingMatchingCard
(
aux
.
NOT
(
aux
.
AND
(
Card
.
IsFaceup
,
Card
.
IsSetCard
)),
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
0x9b
)
return
not
Duel
.
IsExistingMatchingCard
(
c101204010
.
thcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
c101204010
.
thfilter
(
c
)
function
c101204010
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x9b
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x9b
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
...
@@ -98,7 +100,7 @@ function c101204010.pentg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -98,7 +100,7 @@ function c101204010.pentg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c101204010
.
penop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101204010
.
penop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
and
(
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
or
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
))
then
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
end
end
end
end
\ No newline at end of file
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