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
5d7ec0fa
Commit
5d7ec0fa
authored
Jun 11, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6209072d
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
18 deletions
+5
-18
script/c100290002.lua
script/c100290002.lua
+1
-1
script/c100290029.lua
script/c100290029.lua
+0
-7
script/c100290030.lua
script/c100290030.lua
+0
-7
script/c100290037.lua
script/c100290037.lua
+1
-1
script/c101108089.lua
script/c101108089.lua
+2
-1
script/c101110042.lua
script/c101110042.lua
+1
-1
No files found.
script/c100290002.lua
View file @
5d7ec0fa
...
...
@@ -17,7 +17,7 @@ function s.tgfilter(c)
end
function
s
.
spfilter
(
c
,
e
,
tp
,
g
)
if
not
(
aux
.
IsCodeListed
(
c
,
25652259
)
and
aux
.
IsCodeListed
(
c
,
64788463
)
and
aux
.
IsCodeListed
(
c
,
90876561
))
then
return
false
end
local
proc
=
c
:
IsCode
(
100290001
)
local
proc
=
c
:
IsCode
(
100290001
)
and
e
:
GetHandler
():
IsCode
(
id
)
if
not
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
proc
,
proc
)
then
return
false
end
return
(
not
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetMZoneCount
(
tp
,
g
)
>
0
or
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
c
)
>
0
)
...
...
script/c100290029.lua
View file @
5d7ec0fa
...
...
@@ -79,13 +79,6 @@ function c100290029.ctop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCondition
(
c100290029
.
ctcon
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetValue
(
RESET_TURN_SET
)
e2
:
SetCondition
(
c100290029
.
ctcon
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
elseif
sel
==
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c100290029
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
...
...
script/c100290030.lua
View file @
5d7ec0fa
...
...
@@ -84,13 +84,6 @@ function c100290030.counterop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCondition
(
c100290030
.
ctcon
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetValue
(
RESET_TURN_SET
)
e2
:
SetCondition
(
c100290030
.
ctcon
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
end
end
end
script/c100290037.lua
View file @
5d7ec0fa
...
...
@@ -33,7 +33,7 @@ end
function
c100290037
.
damcon
(
e
)
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
return
not
bc
:
IsLevelAbove
(
0
)
return
bc
and
not
bc
:
IsLevelAbove
(
0
)
end
function
c100290037
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
script/c101108089.lua
View file @
5d7ec0fa
...
...
@@ -2,6 +2,7 @@
--Script by Lyris12
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
45001322
,
101108087
)
--ritual summon
aux
.
AddRitualProcGreater
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x17c
),
LOCATION_HAND
,
nil
,
nil
,
false
,
s
.
op
)
end
...
...
@@ -9,7 +10,7 @@ function s.filter(c)
return
c
:
IsCode
(
45001322
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
s
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
tc
,
g
)
if
not
(
g
:
IsExists
(
s
.
filter
,
1
,
nil
)
and
tc
:
IsCode
(
88106656
))
then
return
end
if
not
(
g
:
IsExists
(
s
.
filter
,
1
,
nil
)
and
tc
:
IsCode
(
101108087
))
then
return
end
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
...
...
script/c101110042.lua
View file @
5d7ec0fa
...
...
@@ -90,7 +90,7 @@ function c101110042.regop(e,tp,eg,ep,ev,re,r,rp)
end
function
c101110042
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
ep
~=
tp
and
c
:
GetFlagEffect
(
101110042
)
~=
0
return
ep
~=
tp
and
c
:
GetFlagEffect
(
101110042
)
~=
0
and
re
:
IsActiveType
(
TYPE_MONSTER
)
end
function
c101110042
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
AddCounter
(
0x10
,
1
)
...
...
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