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
REIKAI
ygopro-222DIY-cards
Commits
0c214a9e
Commit
0c214a9e
authored
Dec 28, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c52700538.lua
parent
c992a4c5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
7 deletions
+21
-7
expansions/script/c52700538.lua
expansions/script/c52700538.lua
+21
-7
No files found.
expansions/script/c52700538.lua
View file @
0c214a9e
--钢钉兄弟会=作业机器人= 达德利·皇帝
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
s
.
ex
(
c
)
--Synchro summon
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
nil
),
1
)
c
:
EnableReviveLimit
()
...
...
@@ -14,11 +15,11 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
2
)
e2
:
SetCategory
(
CATEGORY_
DESTROY
)
e2
:
SetDescription
(
1131
)
e2
:
SetCategory
(
CATEGORY_
SEARCH
+
CATEGORY_TOHAND
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e2
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_
TO_GRAVE
)
e2
:
SetCondition
(
s
.
thcon
)
e2
:
SetTarget
(
s
.
thtg
)
e2
:
SetOperation
(
s
.
thop
)
...
...
@@ -29,7 +30,7 @@ function s.initial_effect(c)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCode
(
EFFECT_LIMIT_SPECIAL_SUMMON_POSITION
)
e4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e4
:
SetTargetRange
(
1
,
1
)
e4
:
SetTargetRange
(
0
,
1
)
e4
:
SetCondition
(
s
.
sumcondition
)
e4
:
SetTarget
(
s
.
sumlimit
)
c
:
RegisterEffect
(
e4
)
...
...
@@ -38,7 +39,7 @@ function s.initial_effect(c)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
e5
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e5
:
SetTargetRange
(
1
,
1
)
e5
:
SetTargetRange
(
0
,
1
)
e5
:
SetCondition
(
s
.
sumcondition
)
e5
:
SetTarget
(
s
.
sumlimit
)
c
:
RegisterEffect
(
e5
)
...
...
@@ -47,7 +48,7 @@ function s.initial_effect(c)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetCode
(
EFFECT_CANNOT_FLIP_SUMMON
)
e6
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e6
:
SetTargetRange
(
1
,
1
)
e6
:
SetTargetRange
(
0
,
1
)
e6
:
SetCondition
(
s
.
sumcondition
)
e6
:
SetTarget
(
s
.
sumlimit
)
c
:
RegisterEffect
(
e6
)
...
...
@@ -103,3 +104,16 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Readjust
()
end
end
function
s
.
ex
(
c
)
--special summon rule
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_EXTRA
)
c
:
RegisterEffect
(
e1
)
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