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
5f4e8054
Commit
5f4e8054
authored
Dec 24, 2022
by
REIKAI
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update lua
parent
6aa17a19
Pipeline
#18817
passed with stage
in 24 minutes
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
expansions/script/c10100000.lua
expansions/script/c10100000.lua
+2
-2
expansions/script/c60152902.lua
expansions/script/c60152902.lua
+3
-3
expansions/script/c60152906.lua
expansions/script/c60152906.lua
+3
-3
expansions/script/c60152927.lua
expansions/script/c60152927.lua
+1
-1
No files found.
expansions/script/c10100000.lua
View file @
5f4e8054
...
@@ -2646,7 +2646,7 @@ function Scl.CreateFieldTriggerContinousEffect_PhaseOpearte(reg_obj, op_obj, tim
...
@@ -2646,7 +2646,7 @@ function Scl.CreateFieldTriggerContinousEffect_PhaseOpearte(reg_obj, op_obj, tim
tc
:
RegisterFlagEffect
(
FLAG_PHASE_OPERATE_SCL
,
RESETS_SCL
,
EFFECT_FLAG_CLIENT_HINT
,
0
,
fid
,
desc
)
tc
:
RegisterFlagEffect
(
FLAG_PHASE_OPERATE_SCL
,
RESETS_SCL
,
EFFECT_FLAG_CLIENT_HINT
,
0
,
fid
,
desc
)
end
end
sg
:
KeepAlive
()
sg
:
KeepAlive
()
local
e1
=
Scl
.
CreateFieldTriggerContinousEffect
(
reg_obj
,
EVENT_PHASE
+
phase
,
DESC_PHASE_OPERATION_SCL
,
1
,
"Ignore
Immune
"
,
nil
,
s
.
phase_opearte_con
(
phase
,
atct
,
whos
,
fid
,
times
,
ex_con
),
s
.
phase_opearte_op
(
fun_obj
,
fid
))
local
e1
=
Scl
.
CreateFieldTriggerContinousEffect
(
reg_obj
,
EVENT_PHASE
+
phase
,
DESC_PHASE_OPERATION_SCL
,
1
,
"Ignore
Unaffected
"
,
nil
,
s
.
phase_opearte_con
(
phase
,
atct
,
whos
,
fid
,
times
,
ex_con
),
s
.
phase_opearte_op
(
fun_obj
,
fid
))
Scl
.
Operation_Info
[
e1
]
=
{
sg
,
0
,
0
}
Scl
.
Operation_Info
[
e1
]
=
{
sg
,
0
,
0
}
return
e1
return
e1
end
end
...
@@ -3277,7 +3277,7 @@ function scl.list_format_cost_or_target_or_operation(obj)
...
@@ -3277,7 +3277,7 @@ function scl.list_format_cost_or_target_or_operation(obj)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
Scl
.
Card_Target_Count_Check
=
0
Scl
.
Card_Target_Count_Check
=
0
Scl
.
Player_Cost_And_Target_Value
=
{
}
Scl
.
Player_Cost_And_Target_Value
=
{
}
local
arr
=
Scl
.
CloneArray
(
obj
)
local
arr
=
obj
arr
=
type
(
arr
[
1
])
~=
"table"
and
{
arr
}
or
arr
arr
=
type
(
arr
[
1
])
~=
"table"
and
{
arr
}
or
arr
local
used_arr
=
{
}
local
used_arr
=
{
}
if
chkc
or
chk
==
0
then
if
chkc
or
chk
==
0
then
...
...
expansions/script/c60152902.lua
View file @
5f4e8054
...
@@ -9,14 +9,14 @@ function s.initial_effect(c)
...
@@ -9,14 +9,14 @@ function s.initial_effect(c)
"Damage,NegateEffect"
,
nil
,
"MonsterZone"
,
nil
,
nil
,
{
"Damage,NegateEffect"
,
nil
,
"MonsterZone"
,
nil
,
nil
,
{
{
"PlayerTarget"
,
"Damage"
,
1000
,
1000
},
{
"PlayerTarget"
,
"Damage"
,
1000
,
1000
},
{
"~Target"
,
aux
.
NegateAnyFilter
,
"NegateEffect"
,
{
"~Target"
,
aux
.
NegateAnyFilter
,
"NegateEffect"
,
0
,
"Field"
,
B2Sayaka
.
LPDifferentChk
}
},
s
.
damop
)
0
,
"
On
Field"
,
B2Sayaka
.
LPDifferentChk
}
},
s
.
damop
)
B2Sayaka
.
Effect2Condition
(
id
,
e2
,
EVENT_SUMMON_SUCCESS
,
s
.
regop
,
B2Sayaka
.
Effect2Condition
(
id
,
e2
,
EVENT_SUMMON_SUCCESS
,
s
.
regop
,
EVENT_FLIP_SUMMON_SUCCESS
,
EVENT_SPSUMMON_SUCCESS
)
EVENT_FLIP_SUMMON_SUCCESS
,
EVENT_SPSUMMON_SUCCESS
)
local
e3
=
Scl
.
CreateSingleTriggerOptionalEffect
(
c
,
EVENT_RELEASE
,
local
e3
=
Scl
.
CreateSingleTriggerOptionalEffect
(
c
,
EVENT_RELEASE
,
"ShuffleIn2Deck"
,
{
1
,
id
+
200
},
"ShuffleIn2Deck"
,
{
1
,
id
+
200
},
"ShuffleIn2Deck"
,
"Delay"
,
B2Sayaka
.
ExtraLimit
,
nil
,
{
"ShuffleIn2Deck"
,
"Delay"
,
B2Sayaka
.
ExtraLimit
,
nil
,
{
"~Target"
,
Card
.
IsAbleToDeck
,
"ShuffleIn2Deck"
,
"~Target"
,
Card
.
IsAbleToDeck
,
"ShuffleIn2Deck"
,
0
,
"Field"
,
B2Sayaka
.
LPDifferent2Chk
},
s
.
tdop
)
0
,
"
On
Field"
,
B2Sayaka
.
LPDifferent2Chk
},
s
.
tdop
)
end
end
function
s
.
damop
(
e
,
tp
)
function
s
.
damop
(
e
,
tp
)
if
not
B2Sayaka
.
Damage
(
tp
)
then
return
end
if
not
B2Sayaka
.
Damage
(
tp
)
then
return
end
...
@@ -30,5 +30,5 @@ function s.regop(e,tp,eg)
...
@@ -30,5 +30,5 @@ function s.regop(e,tp,eg)
end
end
function
s
.
tdop
(
e
,
tp
)
function
s
.
tdop
(
e
,
tp
)
local
ct
=
B2Sayaka
.
LPDifferent2
()
local
ct
=
B2Sayaka
.
LPDifferent2
()
Scl
.
SelectAndOperateCards
(
"ShuffleIn2Deck"
,
tp
,
Card
.
IsAbleToDeck
,
tp
,
0
,
"Field"
,
1
,
ct
,
nil
)()
Scl
.
SelectAndOperateCards
(
"ShuffleIn2Deck"
,
tp
,
Card
.
IsAbleToDeck
,
tp
,
0
,
"
On
Field"
,
1
,
ct
,
nil
)()
end
end
\ No newline at end of file
expansions/script/c60152906.lua
View file @
5f4e8054
...
@@ -9,7 +9,7 @@ function s.initial_effect(c)
...
@@ -9,7 +9,7 @@ function s.initial_effect(c)
"GainLP,Send2GY"
,
nil
,
"MonsterZone"
,
nil
,
nil
,
{
"GainLP,Send2GY"
,
nil
,
"MonsterZone"
,
nil
,
nil
,
{
{
"PlayerTarget"
,
"GainLP"
,
1000
},
{
"PlayerTarget"
,
"GainLP"
,
1000
},
{
"~Target"
,
Card
.
IsAbleToGrave
,
"Send2GY"
,
{
"~Target"
,
Card
.
IsAbleToGrave
,
"Send2GY"
,
0
,
"Field"
,
B2Sayaka
.
LPDifferentAdd1000Chk
}
},
s
.
damop
)
0
,
"
On
Field"
,
B2Sayaka
.
LPDifferentAdd1000Chk
}
},
s
.
damop
)
B2Sayaka
.
Effect2Condition
(
id
,
e2
,
EVENT_DAMAGE
,
s
.
regop
)
B2Sayaka
.
Effect2Condition
(
id
,
e2
,
EVENT_DAMAGE
,
s
.
regop
)
local
e3
=
Scl
.
CreateSingleTriggerOptionalEffect
(
c
,
EVENT_RELEASE
,
local
e3
=
Scl
.
CreateSingleTriggerOptionalEffect
(
c
,
EVENT_RELEASE
,
"ShuffleIn2Deck"
,
{
1
,
id
+
200
},
"ShuffleIn2Deck"
,
{
1
,
id
+
200
},
...
@@ -20,11 +20,11 @@ end
...
@@ -20,11 +20,11 @@ end
function
s
.
damop
(
e
,
tp
)
function
s
.
damop
(
e
,
tp
)
if
Duel
.
Recover
(
tp
,
1000
,
REASON_EFFECT
)
<=
0
then
return
end
if
Duel
.
Recover
(
tp
,
1000
,
REASON_EFFECT
)
<=
0
then
return
end
local
ct
=
B2Sayaka
.
LPDifferent
()
local
ct
=
B2Sayaka
.
LPDifferent
()
Scl
.
SelectAndOperateCards
(
"Send2GY"
,
tp
,
Card
.
IsAbleToGrave
,
tp
,
0
,
"Field"
,
1
,
ct
,
nil
)()
Scl
.
SelectAndOperateCards
(
"Send2GY"
,
tp
,
Card
.
IsAbleToGrave
,
tp
,
0
,
"
On
Field"
,
1
,
ct
,
nil
)()
end
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
)
function
s
.
regop
(
e
,
tp
,
eg
,
ep
)
Duel
.
RegisterFlagEffect
(
ep
,
id
,
RESET_EP_SCL
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
ep
,
id
,
RESET_EP_SCL
,
0
,
1
)
end
end
function
s
.
drop
(
e
,
tp
)
function
s
.
drop
(
e
,
tp
)
Scl
.
SelectAndOperateCards
(
"ShuffleIn2Deck&Draw"
,
tp
,
Card
.
IsAbleToDeck
,
tp
,
"Banish,GY"
,
0
,
1
,
3
,
nil
)(
nil
,
2
,
tp
,
1
)
Scl
.
SelectAndOperateCards
(
"ShuffleIn2Deck&Draw"
,
tp
,
Card
.
IsAbleToDeck
,
tp
,
"Banish
ed
,GY"
,
0
,
1
,
3
,
nil
)(
nil
,
2
,
tp
,
1
)
end
end
\ No newline at end of file
expansions/script/c60152927.lua
View file @
5f4e8054
...
@@ -6,7 +6,7 @@ function s.initial_effect(c)
...
@@ -6,7 +6,7 @@ function s.initial_effect(c)
e1
:
SetCondition
(
B2Sayaka
.
ExtraLimit
)
e1
:
SetCondition
(
B2Sayaka
.
ExtraLimit
)
local
e2
=
Scl
.
CreateFieldBuffEffect
(
c
,
"!BeEffectTarget"
,
1
,
s
.
tg
,
local
e2
=
Scl
.
CreateFieldBuffEffect
(
c
,
"!BeEffectTarget"
,
1
,
s
.
tg
,
{
"MonsterZone"
,
0
},
"FieldZone"
)
{
"MonsterZone"
,
0
},
"FieldZone"
)
local
e3
=
Scl
.
CreateFieldBuffEffect
(
c
,
"!BeDestroyedByEffect"
,
1
,
s
.
tg
,
local
e3
=
Scl
.
CreateFieldBuffEffect
(
c
,
"!BeDestroyedByEffect
s
"
,
1
,
s
.
tg
,
{
"MonsterZone"
,
0
},
"FieldZone"
)
{
"MonsterZone"
,
0
},
"FieldZone"
)
local
e4
=
Scl
.
CreateIgnitionEffect
(
c
,
"ChangeLevel"
,
1
,
"ChangeLevel"
,
nil
,
local
e4
=
Scl
.
CreateIgnitionEffect
(
c
,
"ChangeLevel"
,
1
,
"ChangeLevel"
,
nil
,
"FieldZone"
,
nil
,
nil
,
{
"FieldZone"
,
nil
,
nil
,
{
...
...
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