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
MyCard
pre-release-database-cdb
Commits
903875d3
Commit
903875d3
authored
Apr 08, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
895ecbe4
Pipeline
#26297
passed with stages
in 54 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
script/c100221000.lua
script/c100221000.lua
+6
-2
script/c101205028.lua
script/c101205028.lua
+1
-1
No files found.
script/c100221000.lua
View file @
903875d3
...
@@ -14,9 +14,10 @@ function s.initial_effect(c)
...
@@ -14,9 +14,10 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e0
)
c
:
RegisterEffect
(
e0
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
SINGLE_RANGE
+
EFFECT_FLAG_
CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
aux
.
fuslimit
)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetValue
(
s
.
splimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
...
@@ -41,6 +42,9 @@ function s.initial_effect(c)
...
@@ -41,6 +42,9 @@ function s.initial_effect(c)
e4
:
SetOperation
(
s
.
tgop
)
e4
:
SetOperation
(
s
.
tgop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
s
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
s
.
Alba_System_Drugmata_Fusion_Filter
(
c
,
mg
,
fc
,
tp
,
chkf
,
gc
)
function
s
.
Alba_System_Drugmata_Fusion_Filter
(
c
,
mg
,
fc
,
tp
,
chkf
,
gc
)
if
not
c
:
IsFusionCode
(
68468459
)
and
not
c
:
IsHasEffect
(
EFFECT_FUSION_SUBSTITUTE
)
then
return
false
end
if
not
c
:
IsFusionCode
(
68468459
)
and
not
c
:
IsHasEffect
(
EFFECT_FUSION_SUBSTITUTE
)
then
return
false
end
local
g
=
mg
:
Filter
(
s
.
matfilter
,
c
,
tp
)
local
g
=
mg
:
Filter
(
s
.
matfilter
,
c
,
tp
)
...
...
script/c101205028.lua
View file @
903875d3
...
@@ -50,7 +50,7 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,7 +50,7 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
:
IsRace
(
RACE_DRAGON
)
and
tc
:
IsAttribute
(
ATTRIBUTE_FIRE
)
then
if
tc
:
IsRace
(
RACE_DRAGON
)
and
tc
:
IsAttribute
(
ATTRIBUTE_FIRE
)
then
Duel
.
DisableShuffleCheck
()
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_REVEAL
)
if
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_REVEAL
)
==
0
and
not
tc
:
IsLocation
(
LOCATION_GRAVE
)
then
return
end
local
atk
=
Duel
.
GetMatchingGroupCount
(
s
.
cfilter
,
c
:
GetControler
(),
LOCATION_ONFIELD
,
0
,
nil
)
*
1000
local
atk
=
Duel
.
GetMatchingGroupCount
(
s
.
cfilter
,
c
:
GetControler
(),
LOCATION_ONFIELD
,
0
,
nil
)
*
1000
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
atk
>
0
then
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
atk
>
0
then
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
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