Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
99553e48
Commit
99553e48
authored
Feb 19, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e52a26fc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
7 deletions
+14
-7
script/c100287012.lua
script/c100287012.lua
+4
-1
script/c100287044.lua
script/c100287044.lua
+1
-1
script/c100418028.lua
script/c100418028.lua
+1
-1
script/c101109002.lua
script/c101109002.lua
+6
-4
script/c101109041.lua
script/c101109041.lua
+2
-0
No files found.
script/c100287012.lua
View file @
99553e48
...
...
@@ -3,7 +3,7 @@
function
c100287012
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--fusion material
aux
.
AddFusionProcFunFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x3008
)
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_WARRIOR
),
1
,
63
,
true
)
aux
.
AddFusionProcFunFunRep
(
c
,
c100287012
.
mfilter1
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_WARRIOR
),
1
,
63
,
true
)
--spsummon condition
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -45,6 +45,9 @@ function c100287012.initial_effect(c)
e4
:
SetOperation
(
c100287012
.
spop
)
c
:
RegisterEffect
(
e4
)
end
function
c100287012
.
mfilter1
(
c
)
return
c
:
IsFusionSetCard
(
0x3008
)
and
c
:
IsFusionType
(
TYPE_FUSION
)
end
function
c100287012
.
valcheck
(
e
,
c
)
local
ct1
=
c
:
GetMaterialCount
()
local
ct2
=
c
:
GetMaterial
():
FilterCount
(
Card
.
IsFusionType
,
nil
,
TYPE_FUSION
)
...
...
script/c100287044.lua
View file @
99553e48
...
...
@@ -8,7 +8,7 @@ function s.initial_effect(c)
--disable
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_MONE
)
e1
:
SetRange
(
LOCATION_M
Z
ONE
)
e1
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e1
:
SetOperation
(
s
.
disop
)
c
:
RegisterEffect
(
e1
)
...
...
script/c100418028.lua
View file @
99553e48
...
...
@@ -19,7 +19,7 @@ function c100418028.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c100418028
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
IsActiveType
(
TYPE_QUICKPLAY
)
return
re
:
IsActiveType
(
TYPE_QUICKPLAY
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
end
function
c100418028
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
script/c101109002.lua
View file @
99553e48
...
...
@@ -74,11 +74,13 @@ function s.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
s
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
p
,
LOCATION_HAND
,
0
,
nil
)
if
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
==
2
and
g
:
GetCount
()
>
0
then
if
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
==
2
then
Duel
.
ShuffleHand
(
p
)
Duel
.
Hint
(
HINT_SELECTMSG
,
p
,
HINTMSG_TODECK
)
local
sg
=
g
:
Select
(
p
,
1
,
1
,
nil
)
Duel
.
SendtoDeck
(
sg
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
local
sg
=
Duel
.
SelectMatchingCard
(
p
,
Card
.
IsAbleToDeck
,
p
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
if
#
sg
>
0
then
Duel
.
BreakEffect
()
Duel
.
SendtoDeck
(
sg
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
end
end
end
script/c101109041.lua
View file @
99553e48
...
...
@@ -51,6 +51,8 @@ function s.initial_effect(c)
e4
:
SetOperation
(
s
.
damop
)
c
:
RegisterEffect
(
e4
)
end
s
.
material_setcode
=
0x8
s
.
neos_fusion
=
true
function
s
.
mfilter
(
c
)
return
c
:
IsFusionSetCard
(
0x27f
)
and
c
:
IsFusionType
(
TYPE_FUSION
)
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