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
c3e56102
Commit
c3e56102
authored
Oct 19, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
54188
parent
e12ec93c
Pipeline
#30588
passed with stages
in 32 minutes and 21 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
16 deletions
+15
-16
expansions/script/c79250037.lua
expansions/script/c79250037.lua
+15
-16
No files found.
expansions/script/c79250037.lua
View file @
c3e56102
...
...
@@ -6,6 +6,14 @@ function s.initial_effect(c)
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
s
.
synfilter
,
aux
.
NonTuner
(
s
.
synfilter
),
1
)
c
:
EnableReviveLimit
()
--change effect type
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_FIELD
)
e0
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e0
:
SetCode
(
id
)
e0
:
SetRange
(
LOCATION_MZONE
)
e0
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e0
)
--handes
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
...
...
@@ -36,17 +44,6 @@ function s.initial_effect(c)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetOperation
(
s
.
op
)
c
:
RegisterEffect
(
e3
)
--sp
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e4
)
local
e5
=
e4
:
Clone
()
e5
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e5
)
end
s
.
combination2
=
{}
s
.
combination2
[
1
]
=
aux
.
CreateChecks
(
Card
.
IsCode
,{
79250029
,
79250031
})
...
...
@@ -146,6 +143,8 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetTarget
(
s
.
splimit
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Debug
.
Message
(
"没有什么,能比明确的事实更具欺骗性。"
)
Debug
.
Message
(
"翡翠般的道路依然闪烁着美丽的光芒。"
)
end
function
s
.
splimit
(
e
,
c
)
return
c
.
setcard
~=
"Abnormality"
...
...
@@ -160,13 +159,13 @@ function s.op(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetValue
(
math.ceil
(
tc
:
GetBaseAttack
()
/
2
))
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_CHAIN
)
e1
:
SetCondition
(
s
.
con
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
=
g
:
GetNext
()
end
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Debug
.
Message
(
"没有什么,能比明确的事实更具欺骗性。"
)
Debug
.
Message
(
"翡翠般的道路依然闪烁着美丽的光芒。"
)
function
s
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
id
)
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