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
1c6f48db
Commit
1c6f48db
authored
Apr 30, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
308fb8da
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
6 deletions
+6
-6
expansions/pre-release.cdb
expansions/pre-release.cdb
+0
-0
script/c101109006.lua
script/c101109006.lua
+1
-1
script/c101109007.lua
script/c101109007.lua
+1
-1
script/c101109027.lua
script/c101109027.lua
+1
-1
script/c101109031.lua
script/c101109031.lua
+1
-1
script/c101109038.lua
script/c101109038.lua
+1
-1
script/c101109059.lua
script/c101109059.lua
+1
-1
No files found.
expansions/pre-release.cdb
View file @
1c6f48db
No preview for this file type
script/c101109006.lua
View file @
1c6f48db
...
@@ -48,7 +48,7 @@ function c101109006.discost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -48,7 +48,7 @@ function c101109006.discost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
end
end
function
c101109006
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101109006
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
re
:
GetHandler
():
IsDisabled
()
end
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
eg
,
1
,
0
,
0
)
end
end
function
c101109006
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101109006
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c101109007.lua
View file @
1c6f48db
...
@@ -48,7 +48,7 @@ function c101109007.discost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -48,7 +48,7 @@ function c101109007.discost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
end
end
function
c101109007
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101109007
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
re
:
GetHandler
():
IsDisabled
()
end
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
eg
,
1
,
0
,
0
)
end
end
function
c101109007
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101109007
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c101109027.lua
View file @
1c6f48db
...
@@ -64,7 +64,7 @@ function c101109027.discost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -64,7 +64,7 @@ function c101109027.discost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c101109027
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101109027
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
re
:
GetHandler
():
IsDisabled
()
end
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
eg
,
1
,
0
,
0
)
end
end
function
c101109027
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101109027
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c101109031.lua
View file @
1c6f48db
...
@@ -45,7 +45,7 @@ function s.checkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +45,7 @@ function s.checkop(e,tp,eg,ep,ev,re,r,rp)
if
not
rc
:
IsRelateToEffect
(
re
)
or
not
re
:
IsActiveType
(
TYPE_MONSTER
)
then
return
end
if
not
rc
:
IsRelateToEffect
(
re
)
or
not
re
:
IsActiveType
(
TYPE_MONSTER
)
then
return
end
local
p
,
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_CONTROLER
,
CHAININFO_TRIGGERING_LOCATION
)
local
p
,
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_CONTROLER
,
CHAININFO_TRIGGERING_LOCATION
)
if
loc
==
LOCATION_MZONE
and
rc
:
GetFlagEffect
(
id
+
o
+
p
)
==
0
then
if
loc
==
LOCATION_MZONE
and
rc
:
GetFlagEffect
(
id
+
o
+
p
)
==
0
then
rc
:
RegisterFlagEffect
(
id
+
o
+
p
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
rc
:
RegisterFlagEffect
(
id
+
o
+
p
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
end
end
function
s
.
rfilter
(
c
,
p
)
function
s
.
rfilter
(
c
,
p
)
...
...
script/c101109038.lua
View file @
1c6f48db
...
@@ -26,7 +26,7 @@ end
...
@@ -26,7 +26,7 @@ end
function
c101109038
.
spfilter
(
c
,
mc
,
e
,
tp
)
function
c101109038
.
spfilter
(
c
,
mc
,
e
,
tp
)
return
c
:
IsLevel
(
mc
:
GetOriginalLevel
())
and
not
c
:
IsOriginalCodeRule
(
mc
:
GetOriginalCodeRule
())
return
c
:
IsLevel
(
mc
:
GetOriginalLevel
())
and
not
c
:
IsOriginalCodeRule
(
mc
:
GetOriginalCodeRule
())
and
c
:
IsRace
(
mc
:
GetOriginalRace
())
and
c
:
IsAttribute
(
mc
:
GetOriginalAttribute
())
and
c
:
IsRace
(
mc
:
GetOriginalRace
())
and
c
:
IsAttribute
(
mc
:
GetOriginalAttribute
())
and
c
:
IsAttack
(
mc
:
GetBaseAttack
())
and
c
:
IsDefense
(
mc
:
GetBaseDefense
()
)
and
c
:
GetTextAttack
()
==
mc
:
GetTextAttack
()
and
c
:
GetTextDefense
()
==
mc
:
GetTextDefense
(
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
(
not
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
(
not
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
or
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
mc
,
c
)
>
0
)
or
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
mc
,
c
)
>
0
)
...
...
script/c101109059.lua
View file @
1c6f48db
...
@@ -68,7 +68,7 @@ function c101109059.discon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,7 +68,7 @@ function c101109059.discon(e,tp,eg,ep,ev,re,r,rp)
return
g
and
g
:
IsExists
(
c101109059
.
disfilter
,
1
,
nil
,
tp
)
and
Duel
.
IsChainDisablable
(
ev
)
return
g
and
g
:
IsExists
(
c101109059
.
disfilter
,
1
,
nil
,
tp
)
and
Duel
.
IsChainDisablable
(
ev
)
end
end
function
c101109059
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101109059
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
re
:
GetHandler
():
IsDisabled
()
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
eg
,
1
,
0
,
0
)
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