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
fb66da53
Commit
fb66da53
authored
Jan 12, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f63e4108
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
7 deletions
+17
-7
script/c101012024.lua
script/c101012024.lua
+6
-2
script/c101012025.lua
script/c101012025.lua
+1
-0
script/c101012026.lua
script/c101012026.lua
+1
-0
script/c101012032.lua
script/c101012032.lua
+7
-0
script/c101012034.lua
script/c101012034.lua
+1
-4
script/c101012038.lua
script/c101012038.lua
+1
-1
No files found.
script/c101012024.lua
View file @
fb66da53
...
@@ -61,7 +61,10 @@ end
...
@@ -61,7 +61,10 @@ end
function
c101012024
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101012024
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ft1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft2
=
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
tp
)
local
ft2
=
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
tp
)
if
chk
==
0
then
return
ft1
>
0
and
ft2
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
101012124
,
0xfe
,
0x4011
,
0
,
0
,
1
,
RACE_MACHINE
,
ATTRIBUTE_DARK
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
end
if
chk
==
0
then
return
ft1
>
0
and
ft2
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
46647145
,
0xfe
,
0x4011
,
0
,
0
,
1
,
RACE_MACHINE
,
ATTRIBUTE_DARK
,
POS_FACEUP_DEFENSE
,
tp
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
46647145
,
0xfe
,
0x4011
,
0
,
0
,
1
,
RACE_MACHINE
,
ATTRIBUTE_DARK
,
POS_FACEUP_DEFENSE
,
1
-
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
2
,
0
,
0
)
end
end
...
@@ -69,7 +72,8 @@ function c101012024.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,7 +72,8 @@ function c101012024.spop(e,tp,eg,ep,ev,re,r,rp)
local
ft1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft2
=
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
tp
)
local
ft2
=
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
tp
)
if
ft1
<=
0
or
ft2
<=
0
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
return
end
if
ft1
<=
0
or
ft2
<=
0
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
return
end
if
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
101012124
,
0xfe
,
0x4011
,
0
,
0
,
1
,
RACE_MACHINE
,
ATTRIBUTE_DARK
)
then
if
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
46647145
,
0xfe
,
0x4011
,
0
,
0
,
1
,
RACE_MACHINE
,
ATTRIBUTE_DARK
,
POS_FACEUP_DEFENSE
,
tp
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
46647145
,
0xfe
,
0x4011
,
0
,
0
,
1
,
RACE_MACHINE
,
ATTRIBUTE_DARK
,
POS_FACEUP_DEFENSE
,
1
-
tp
)
then
local
token
=
Duel
.
CreateToken
(
tp
,
101012124
)
local
token
=
Duel
.
CreateToken
(
tp
,
101012124
)
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
local
token
=
Duel
.
CreateToken
(
tp
,
101012124
)
local
token
=
Duel
.
CreateToken
(
tp
,
101012124
)
...
...
script/c101012025.lua
View file @
fb66da53
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
--Scripted by mallu11
--Scripted by mallu11
function
c101012025
.
initial_effect
(
c
)
function
c101012025
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--special summon rule
--special summon rule
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
script/c101012026.lua
View file @
fb66da53
...
@@ -40,6 +40,7 @@ function c101012026.srop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,6 +40,7 @@ function c101012026.srop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101012026
.
srfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101012026
.
srfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
end
function
c101012026
.
spfilter
(
c
,
e
,
tp
)
function
c101012026
.
spfilter
(
c
,
e
,
tp
)
...
...
script/c101012032.lua
View file @
fb66da53
...
@@ -42,6 +42,13 @@ end
...
@@ -42,6 +42,13 @@ end
function
c101012032
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101012032
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
c
:
RegisterEffect
(
e1
,
true
)
local
ct
=
e
:
GetLabel
()
local
ct
=
e
:
GetLabel
()
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
(
ct
>=
2
and
g
:
GetCount
()
>
0
)
or
ct
==
3
then
if
(
ct
>=
2
and
g
:
GetCount
()
>
0
)
or
ct
==
3
then
...
...
script/c101012034.lua
View file @
fb66da53
...
@@ -44,7 +44,7 @@ function c101012034.initial_effect(c)
...
@@ -44,7 +44,7 @@ function c101012034.initial_effect(c)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e5
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e5
:
SetValue
(
c101012034
.
eqlimit
)
e5
:
SetValue
(
1
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c101012034
.
filter
(
c
)
function
c101012034
.
filter
(
c
)
...
@@ -114,6 +114,3 @@ function c101012034.reop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -114,6 +114,3 @@ function c101012034.reop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
function
c101012034
.
eqlimit
(
e
,
c
)
return
e
:
GetHandler
():
GetEquipTarget
()
==
c
end
script/c101012038.lua
View file @
fb66da53
...
@@ -32,7 +32,7 @@ function c101012038.initial_effect(c)
...
@@ -32,7 +32,7 @@ function c101012038.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c101012038
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101012038
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSequence
()
=
=
2
return
e
:
GetHandler
():
GetSequence
()
~
=
2
end
end
function
c101012038
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101012038
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
...
...
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