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
148000bb
Commit
148000bb
authored
Jun 04, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
967a2fe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
c42901635.lua
c42901635.lua
+4
-4
No files found.
c42901635.lua
View file @
148000bb
...
@@ -69,7 +69,7 @@ function c42901635.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -69,7 +69,7 @@ function c42901635.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_COST
)
end
end
function
c42901635
.
costfilter
(
c
)
function
c42901635
.
costfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsSetCard
(
0x2066
)
or
c
:
IsCode
(
99785935
,
39256679
,
11549357
)
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x2066
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsAbleToRemoveAsCost
()
end
end
function
c42901635
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c42901635
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c42901635
.
costfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c42901635
.
costfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
@@ -96,7 +96,7 @@ function c42901635.spcon2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -96,7 +96,7 @@ function c42901635.spcon2(e,tp,eg,ep,ev,re,r,rp)
or
(
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetPreviousControler
()
==
tp
)
or
(
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetPreviousControler
()
==
tp
)
end
end
function
c42901635
.
spfilter
(
c
,
e
,
tp
)
function
c42901635
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
99785935
,
39256679
,
1154935
7
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
42023223
,
79418928
,
1550203
7
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
c
:
IsCanBeEffectTarget
(
e
)
end
end
...
@@ -126,8 +126,8 @@ function c42901635.sptg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -126,8 +126,8 @@ function c42901635.sptg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
sg
:
Merge
(
g1
)
sg
:
Merge
(
g1
)
g
:
Sub
(
g1
)
g
:
Sub
(
g1
)
end
end
Duel
.
SetTargetCard
(
g
)
Duel
.
SetTargetCard
(
s
g
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
3
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
s
g
,
3
,
0
,
0
)
end
end
function
c42901635
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c42901635
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
...
...
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