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
fc2e3f55
Commit
fc2e3f55
authored
Feb 11, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f8cfcb52
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
c37310367.lua
c37310367.lua
+5
-5
c59934749.lua
c59934749.lua
+2
-2
c85216896.lua
c85216896.lua
+2
-1
No files found.
c37310367.lua
View file @
fc2e3f55
...
...
@@ -70,19 +70,19 @@ function c37310367.disop(e,tp,eg,ep,ev,re,r,rp)
local
sc
=
g
:
GetFirst
()
if
sc
==
rc
then
sc
=
g
:
GetNext
()
end
if
sc
:
IsControler
(
tp
)
and
sc
:
IsRace
(
RACE_CYBERS
)
and
rc
:
IsControler
(
1
-
tp
)
then
while
t
c
do
Duel
.
NegateRelatedChain
(
t
c
,
RESET_TURN_SET
)
while
s
c
do
Duel
.
NegateRelatedChain
(
s
c
,
RESET_TURN_SET
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
t
c
:
RegisterEffect
(
e1
)
s
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
t
c
:
RegisterEffect
(
e2
)
t
c
=
g
:
GetNext
()
s
c
:
RegisterEffect
(
e2
)
s
c
=
g
:
GetNext
()
end
end
end
c59934749.lua
View file @
fc2e3f55
...
...
@@ -76,7 +76,7 @@ function c59934749.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
return
true
end
function
c59934749
.
cfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsType
(
TYPE_EQUIP
)
and
c
:
IsAbleToGrave
()
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsType
(
TYPE_EQUIP
)
and
c
:
IsAbleToGrave
AsCost
()
end
function
c59934749
.
spfilter
(
c
,
e
,
tp
,
lv
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsLevelBelow
(
lv
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
@@ -87,7 +87,7 @@ function c59934749.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if
e
:
GetLabel
()
~=
100
then
return
false
end
e
:
SetLabel
(
0
)
local
cg
=
Duel
.
GetMatchingGroup
(
c59934749
.
cfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
cg
:
GetCount
()
>
0
and
Duel
.
IsExistingMatchingCard
(
c59934749
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
cg
:
GetClassCount
(
Card
.
GetCode
))
end
local
cg
=
Duel
.
GetMatchingGroup
(
c59934749
.
cfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
...
...
c85216896.lua
View file @
fc2e3f55
...
...
@@ -32,7 +32,8 @@ function c85216896.matfilter(c)
end
function
c85216896
.
cfilter
(
c
,
tp
,
zone
)
local
seq
=
c
:
GetPreviousSequence
()
return
c
:
GetPreviousControler
()
==
tp
and
bit
.
extract
(
zone
,
seq
)
~=
0
and
c
:
GetSummonLocation
()
==
LOCATION_EXTRA
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
return
c
:
GetPreviousControler
()
==
tp
and
bit
.
extract
(
zone
,
seq
)
~=
0
and
c
:
GetSummonLocation
()
==
LOCATION_EXTRA
and
(
c
:
IsReason
(
REASON_BATTLE
)
or
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetReasonPlayer
()
~=
tp
)
end
function
c85216896
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
zone
=
e
:
GetHandler
():
GetLinkedZone
()
...
...
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