Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
a0c4d69c
Commit
a0c4d69c
authored
Mar 29, 2021
by
mallu11
Committed by
GitHub
Mar 29, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Sin パラダイム・ドラゴン (#1604)
parent
de2d2ff5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
c16958382.lua
c16958382.lua
+10
-6
No files found.
c16958382.lua
View file @
a0c4d69c
--Sin パラダイム・ドラゴン
function
c16958382
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--spsummon condition
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e0
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
c
:
RegisterEffect
(
e0
)
--special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -58,15 +64,13 @@ function c16958382.spop(e,tp,eg,ep,ev,re,r,rp,c)
te
:
UseCountLimit
(
tp
)
Duel
.
Remove
(
tg
,
POS_FACEUP
,
REASON_COST
)
else
local
tc
=
Duel
.
GetFirstMatchingCard
(
c16958382
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c16958382
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_COST
)
end
end
function
c16958382
.
codefilter1
(
c
)
return
c
:
IsCode
(
27564031
)
and
c
:
IsFaceup
()
end
function
c16958382
.
descon
(
e
)
return
not
Duel
.
IsE
xistingMatchingCard
(
c16958382
.
codefilter1
,
0
,
LOCATION_FZONE
,
LOCATION_FZONE
,
1
,
nil
)
return
not
Duel
.
IsE
nvironment
(
27564031
)
end
function
c16958382
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x23
)
and
c
:
IsAbleToGraveAsCost
()
...
...
@@ -81,7 +85,7 @@ function c16958382.filter(c)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsLevel
(
8
)
and
c
:
IsFaceup
()
and
c
:
IsAbleToExtra
()
end
function
c16958382
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c16958382
.
filter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
c
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c16958382
.
filter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOEXTRA
,
nil
,
1
,
tp
,
LOCATION_REMOVED
)
end
function
c16958382
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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