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
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-scripts
Commits
f565e3cb
Commit
f565e3cb
authored
Dec 31, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typo
parent
d45b24da
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
c14386013.lua
c14386013.lua
+1
-1
c40771118.lua
c40771118.lua
+2
-2
c94212438.lua
c94212438.lua
+3
-3
No files found.
c14386013.lua
View file @
f565e3cb
...
...
@@ -45,7 +45,7 @@ function c14386013.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c14386013
.
drfilter
(
c
)
return
(
c
:
IsCode
(
94212438
)
or
c
:
IsSetC
ode
(
0x1c
))
and
c
:
IsAbleToDeck
()
return
(
c
:
IsCode
(
94212438
)
or
c
:
IsSetC
ard
(
0x1c
))
and
c
:
IsAbleToDeck
()
end
function
c14386013
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
)
...
...
c40771118.lua
View file @
f565e3cb
...
...
@@ -35,7 +35,7 @@ function c40771118.thfilter(c)
return
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
and
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsAbleToHand
()
end
function
c40771118
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsCode
(
94212438
)
or
c
:
IsSetC
ode
(
0x1c
))
return
c
:
IsFaceup
()
and
(
c
:
IsCode
(
94212438
)
or
c
:
IsSetC
ard
(
0x1c
))
end
function
c40771118
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c40771118
.
thfilter
(
chkc
)
end
...
...
@@ -59,7 +59,7 @@ function c40771118.plcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
function
c40771118
.
plfilter
(
c
,
tp
,
mc
)
if
not
c
:
IsSetC
ode
(
0x1c
)
then
return
false
end
if
not
c
:
IsSetC
ard
(
0x1c
)
then
return
false
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
16625614
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
c
:
GetCode
(),
0
,
0x11
,
0
,
0
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
,
POS_FACEUP
,
tp
,
SUMMON_VALUE_DARK_SANCTUARY
)
then
return
true
end
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
...
...
c94212438.lua
View file @
f565e3cb
...
...
@@ -83,10 +83,10 @@ function c94212438.plop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c94212438
.
cfilter1
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
(
c
:
IsCode
(
94212438
)
or
c
:
IsSetC
ode
(
0x1c
))
return
c
:
IsControler
(
tp
)
and
(
c
:
IsCode
(
94212438
)
or
c
:
IsSetC
ard
(
0x1c
))
end
function
c94212438
.
cfilter2
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsCode
(
94212438
)
or
c
:
IsSetC
ode
(
0x1c
))
return
c
:
IsFaceup
()
and
(
c
:
IsCode
(
94212438
)
or
c
:
IsSetC
ard
(
0x1c
))
end
function
c94212438
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c94212438
.
cfilter1
,
1
,
nil
,
tp
)
...
...
@@ -96,7 +96,7 @@ function c94212438.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
function
c94212438
.
cfilter3
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetC
ode
(
0x1c
)
return
c
:
IsFaceup
()
and
c
:
IsSetC
ard
(
0x1c
)
end
function
c94212438
.
winop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
WIN_REASON_DESTINY_BOARD
=
0x15
...
...
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