Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
da23423e
Commit
da23423e
authored
Nov 02, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
54188
parent
51019ab5
Pipeline
#30899
failed with stages
in 21 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
10 deletions
+14
-10
expansions/script/c60159907.lua
expansions/script/c60159907.lua
+14
-10
No files found.
expansions/script/c60159907.lua
View file @
da23423e
--极夜的龙骑士
function
c60159907
.
initial_effect
(
c
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFun2
(
c
,
aux
.
FilterBoolFunction
(
c60159907
.
spfilter1
),
aux
.
FilterBoolFunction
(
c60159907
.
spfilter2
),
false
)
aux
.
AddContactFusionProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsReleasable
,
REASON_SPSUMMON
),
LOCATION_MZONE
,
0
,
Duel
.
Release
,
REASON_SPSUMMON
+
REASON_MATERIAL
)
--fusion material
c
:
EnableReviveLimit
()
--Attribute Dark
...
...
@@ -19,14 +23,14 @@ function c60159907.initial_effect(c)
e1
:
SetValue
(
c60159907
.
splimit
)
c
:
RegisterEffect
(
e1
)
--special summon rule
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetRange
(
LOCATION_EXTRA
)
e2
:
SetCondition
(
c60159907
.
spcon
)
e2
:
SetOperation
(
c60159907
.
spop
)
c
:
RegisterEffect
(
e2
)
--
local e2=Effect.CreateEffect(c)
--
e2:SetType(EFFECT_TYPE_FIELD)
--
e2:SetCode(EFFECT_SPSUMMON_PROC)
--
e2:SetProperty(EFFECT_FLAG_UNCOPYABLE)
--
e2:SetRange(LOCATION_EXTRA)
--
e2:SetCondition(c60159907.spcon)
--
e2:SetOperation(c60159907.spop)
--
c:RegisterEffect(e2)
--to hand
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
60159907
,
0
))
...
...
@@ -44,11 +48,11 @@ function c60159907.splimit(e,se,sp,st)
end
function
c60159907
.
spfilter1
(
c
,
tp
,
fc
)
return
(
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
or
c
:
IsAttribute
(
ATTRIBUTE_DARK
))
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeFusionMaterial
(
fc
)
and
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c60159907
.
spfilter2
,
1
,
c
,
fc
)
and
c
:
IsRace
(
RACE_DRAGON
)
end
function
c60159907
.
spfilter2
(
c
,
fc
)
return
(
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
or
c
:
IsAttribute
(
ATTRIBUTE_DARK
))
and
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsCanBeFusionMaterial
(
fc
)
and
c
:
IsRace
(
RACE_WARRIOR
)
end
function
c60159907
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
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