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
5286d53b
Commit
5286d53b
authored
Oct 26, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c64800193.lua
parent
13bc433d
Pipeline
#30728
canceled with stages
in 1 minute and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
16 deletions
+13
-16
expansions/script/c64800193.lua
expansions/script/c64800193.lua
+13
-16
No files found.
expansions/script/c64800193.lua
View file @
5286d53b
...
...
@@ -29,7 +29,6 @@ function s.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCountLimit
(
1
,
id
+
20000
)
e2
:
SetCondition
(
s
.
con
)
e2
:
SetTarget
(
s
.
seqtg
)
e2
:
SetOperation
(
s
.
seqop
)
c
:
RegisterEffect
(
e2
)
end
...
...
@@ -81,22 +80,20 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetEquipTarget
()
end
function
s
.
seqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
if
chk
==
0
then
return
ec
end
return
ec
and
ec
:
IsLevelAbove
(
1
)
and
not
ec
:
IsLevel
(
10
)
end
function
s
.
seqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
c
:
GetFirstCardTarget
()
if
tc
and
tc
:
IsLocation
(
LOCATION_MZONE
)
then
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_EQUIP
)
e3
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e3
:
SetValue
(
10
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e3
)
local
tc
=
c
:
GetEquipTarget
()
if
tc
and
tc
:
IsLocation
(
LOCATION_MZONE
)
and
not
tc
:
IsLevel
(
10
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e1
:
SetValue
(
10
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
--cannot be target
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -104,12 +101,12 @@ function s.seqop(e,tp,eg,ep,ev,re,r,rp)
e7
:
SetCode
(
EFFECT_CANNOT_BE_BATTLE_TARGET
)
e7
:
SetRange
(
LOCATION_MZONE
)
e7
:
SetValue
(
aux
.
imval1
)
e7
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e7
)
e7
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
t
c
:
RegisterEffect
(
e7
)
local
e8
=
e7
:
Clone
()
e8
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e8
:
SetValue
(
aux
.
tgoval
)
c
:
RegisterEffect
(
e8
)
t
c
:
RegisterEffect
(
e8
)
end
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