Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
八宫一月
ygopro-scripts
Commits
9976c519
Commit
9976c519
authored
Mar 28, 2019
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
card names
parent
1eb8ca4a
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
16 additions
and
12 deletions
+16
-12
c11163040.lua
c11163040.lua
+4
-4
c11522979.lua
c11522979.lua
+1
-1
c14017402.lua
c14017402.lua
+1
-1
c20513882.lua
c20513882.lua
+3
-1
c20862918.lua
c20862918.lua
+3
-2
c2407234.lua
c2407234.lua
+1
-1
c44586426.lua
c44586426.lua
+1
-1
c6165656.lua
c6165656.lua
+2
-1
No files found.
c11163040.lua
View file @
9976c519
...
...
@@ -47,14 +47,14 @@ function c11163040.counter(e,tp,eg,ep,ev,re,r,rp)
end
function
c11163040
.
filter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xd3
)
and
Duel
.
IsExistingMatchingCard
(
c11163040
.
chkfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetControler
(),
c
:
GetOriginalCode
())
and
Duel
.
IsExistingMatchingCard
(
c11163040
.
chkfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetControler
(),
c
:
GetOriginalCode
Rule
())
end
function
c11163040
.
chkfilter
(
c
,
e
,
tp
,
cc
,
code
)
return
c
:
IsSetCard
(
0xd3
)
and
c
:
GetOriginalCode
()
~=
code
and
return
c
:
IsSetCard
(
0xd3
)
and
c
:
GetOriginalCode
Rule
()
~=
code
and
not
c
:
IsHasEffect
(
EFFECT_REVIVE_LIMIT
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
,
0
,
POS_FACEUP
,
cc
,
c
)
end
function
c11163040
.
spfilter
(
c
,
e
,
tp
,
cc
,
code
)
return
c
:
IsSetCard
(
0xd3
)
and
c
:
GetOriginalCode
()
~=
code
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
cc
)
return
c
:
IsSetCard
(
0xd3
)
and
c
:
GetOriginalCode
Rule
()
~=
code
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
cc
)
end
function
c11163040
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c11163040
.
filter
(
chkc
,
e
,
tp
)
end
...
...
@@ -73,7 +73,7 @@ function c11163040.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
local
cc
=
tc
:
GetControler
()
local
code
=
tc
:
GetOriginalCode
()
local
code
=
tc
:
GetOriginalCode
Rule
()
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
GetLocationCount
(
cc
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c11522979.lua
View file @
9976c519
...
...
@@ -60,7 +60,7 @@ function c11522979.operation(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
local
code
=
tc
:
Get
Original
Code
()
local
code
=
tc
:
GetCode
()
local
atk
=
tc
:
GetBaseAttack
()
if
atk
<
0
then
atk
=
0
end
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c14017402.lua
View file @
9976c519
...
...
@@ -59,7 +59,7 @@ function c14017402.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
if
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
~=
1
then
return
end
local
code
=
tc
:
Get
Original
Code
()
local
code
=
tc
:
GetCode
()
local
reset_flag
=
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
c
:
CopyEffect
(
code
,
reset_flag
,
1
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c20513882.lua
View file @
9976c519
...
...
@@ -20,11 +20,13 @@ function c20513882.cfilter(c,tp)
and
Duel
.
IsExistingMatchingCard
(
c20513882
.
thfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
c
)
end
function
c20513882
.
thfilter
(
c
,
tc
)
local
code1
,
code2
=
tc
:
GetOriginalCode
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
GetOriginalLevel
()
==
tc
:
GetOriginalLevel
()
and
c
:
GetOriginalRace
()
==
tc
:
GetOriginalRace
()
and
c
:
GetOriginalAttribute
()
==
tc
:
GetOriginalAttribute
()
and
c
:
GetOriginalCode
()
~=
tc
:
GetOriginalCode
()
and
c
:
IsAbleToHand
()
and
c
:
GetOriginalCode
()
~=
code1
and
c
:
GetOriginalCode
()
~=
code1
and
c
:
IsAbleToHand
()
end
function
c20513882
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
c20862918.lua
View file @
9976c519
...
...
@@ -22,12 +22,13 @@ function c20862918.costfilter1(c,tp)
end
function
c20862918
.
costfilter2
(
c
,
tc
,
tp
)
return
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
GetOriginalRace
()
==
tc
:
GetOriginalRace
()
and
c
:
GetOriginalAttribute
()
==
tc
:
GetOriginalAttribute
()
and
c
:
GetOriginalCode
()
~=
tc
:
GetOriginalCode
()
and
c
:
GetOriginalRace
()
==
tc
:
GetOriginalRace
()
and
c
:
GetOriginalAttribute
()
==
tc
:
GetOriginalAttribute
()
and
not
c
:
IsCode
(
tc
:
GetCode
())
and
Duel
.
IsExistingMatchingCard
(
c20862918
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
,
tc
)
end
function
c20862918
.
thfilter
(
c
,
tc1
,
tc2
)
return
c
:
GetOriginalRace
()
==
tc1
:
GetOriginalRace
()
and
c
:
GetOriginalAttribute
()
==
tc1
:
GetOriginalAttribute
()
and
c
:
GetOriginalCode
()
~=
tc1
:
GetOriginalCode
()
and
c
:
GetOriginalCode
()
~=
tc2
:
GetOriginalCode
(
)
and
not
c
:
IsCode
(
tc1
:
GetCode
())
and
not
c
:
IsCode
(
tc2
:
GetCode
()
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
c20862918
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c2407234.lua
View file @
9976c519
...
...
@@ -56,7 +56,7 @@ function c2407234.operation(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
local
code
=
tc
:
Get
Original
Code
()
local
code
=
tc
:
GetCode
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
...
...
c44586426.lua
View file @
9976c519
...
...
@@ -73,7 +73,7 @@ function c44586426.tkop(e,tp,eg,ep,ev,re,r,rp)
end
function
c44586426
.
nmfilter
(
c
,
cd
)
return
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
Is
OriginalSetCard
(
0x28
)
and
c
:
GetOriginalCode
()
~=
cd
and
c
:
Is
SetCard
(
0x28
)
and
not
c
:
IsCode
(
cd
)
end
function
c44586426
.
nmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
cd
=
e
:
GetHandler
():
GetCode
()
...
...
c6165656.lua
View file @
9976c519
...
...
@@ -43,7 +43,8 @@ end
c6165656
.
xyz_number
=
88
--target check is in RUM magic cards
function
c6165656
.
splimit
(
e
,
se
,
sp
,
st
)
return
se
:
GetHandler
():
IsSetCard
(
0x95
)
and
se
:
GetHandler
():
IsType
(
TYPE_SPELL
)
return
se
:
GetHandler
():
IsSetCard
(
0x95
)
and
se
:
GetHandler
():
IsType
(
TYPE_SPELL
)
and
se
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
end
function
c6165656
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
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