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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
6cf89cb9
Commit
6cf89cb9
authored
Dec 04, 2024
by
HidarimeYume
Committed by
GitHub
Dec 04, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c77751766.lua (#2753)
parent
02c17fe9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
c77751766.lua
c77751766.lua
+13
-2
No files found.
c77751766.lua
View file @
6cf89cb9
...
@@ -23,6 +23,7 @@ function s.initial_effect(c)
...
@@ -23,6 +23,7 @@ function s.initial_effect(c)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCondition
(
s
.
ccon1
)
e3
:
SetCondition
(
s
.
ccon1
)
e3
:
SetCost
(
s
.
ccost
)
e3
:
SetOperation
(
s
.
cop
)
e3
:
SetOperation
(
s
.
cop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
local
e4
=
e3
:
Clone
()
...
@@ -39,13 +40,23 @@ function s.ctpermit(e)
...
@@ -39,13 +40,23 @@ function s.ctpermit(e)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
IsStatus
(
STATUS_CHAINING
)
return
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
IsStatus
(
STATUS_CHAINING
)
end
end
function
s
.
cfilter1
(
c
,
loc
)
return
c
:
IsPreviousLocation
(
loc
)
and
c
:
GetSpecialSummonInfo
(
SUMMON_INFO_REASON_EFFECT
)
end
function
s
.
cfilter2
(
c
,
loc
)
return
c
:
IsPreviousLocation
(
loc
)
and
c
:
IsReason
(
REASON_EFFECT
)
end
function
s
.
ccon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
ccon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
re
:
IsActiveType
(
TYPE_TRAP
+
TYPE_SPELL
)
return
re
and
re
:
IsActiveType
(
TYPE_TRAP
+
TYPE_SPELL
)
and
eg
:
IsExists
(
Card
.
IsPreviousLocation
,
1
,
nil
,
LOCATION_EXTRA
)
and
eg
:
IsExists
(
s
.
cfilter1
,
1
,
nil
,
LOCATION_EXTRA
)
end
end
function
s
.
ccon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
ccon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
re
:
IsActiveType
(
TYPE_TRAP
+
TYPE_SPELL
)
return
re
and
re
:
IsActiveType
(
TYPE_TRAP
+
TYPE_SPELL
)
and
eg
:
IsExists
(
Card
.
IsPreviousLocation
,
1
,
nil
,
LOCATION_DECK
)
and
eg
:
IsExists
(
s
.
cfilter2
,
1
,
nil
,
LOCATION_DECK
)
end
function
s
.
ccost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
end
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_CHAIN
,
0
,
1
)
end
end
function
s
.
setfilter
(
c
)
function
s
.
setfilter
(
c
)
return
c
:
IsSetCard
(
0x1bd
)
and
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsSSetable
()
return
c
:
IsSetCard
(
0x1bd
)
and
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsSSetable
()
...
...
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