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
Reinen
ygopro-scripts
Commits
cb185504
Commit
cb185504
authored
May 08, 2020
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 転生炎獣の聖域
use count limit directly
parent
184a618e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
c1295111.lua
c1295111.lua
+1
-2
No files found.
c1295111.lua
View file @
cb185504
...
@@ -12,6 +12,7 @@ function c1295111.initial_effect(c)
...
@@ -12,6 +12,7 @@ function c1295111.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetRange
(
LOCATION_EXTRA
)
e2
:
SetRange
(
LOCATION_EXTRA
)
e2
:
SetCountLimit
(
1
,
1295111
)
e2
:
SetCondition
(
c1295111
.
linkcon
)
e2
:
SetCondition
(
c1295111
.
linkcon
)
e2
:
SetOperation
(
c1295111
.
linkop
)
e2
:
SetOperation
(
c1295111
.
linkop
)
e2
:
SetValue
(
SUMMON_TYPE_LINK
)
e2
:
SetValue
(
SUMMON_TYPE_LINK
)
...
@@ -46,13 +47,11 @@ function c1295111.linkcon(e,c,og,lmat,min,max)
...
@@ -46,13 +47,11 @@ function c1295111.linkcon(e,c,og,lmat,min,max)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
return
Duel
.
IsExistingMatchingCard
(
c1295111
.
lmfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
c
,
tp
,
og
,
lmat
)
return
Duel
.
IsExistingMatchingCard
(
c1295111
.
lmfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
c
,
tp
,
og
,
lmat
)
and
Duel
.
GetFlagEffect
(
tp
,
1295111
)
==
0
end
end
function
c1295111
.
linkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
og
,
lmat
,
min
,
max
)
function
c1295111
.
linkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
og
,
lmat
,
min
,
max
)
local
mg
=
Duel
.
SelectMatchingCard
(
tp
,
c1295111
.
lmfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
c
,
tp
,
og
,
lmat
)
local
mg
=
Duel
.
SelectMatchingCard
(
tp
,
c1295111
.
lmfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
c
,
tp
,
og
,
lmat
)
c
:
SetMaterial
(
mg
)
c
:
SetMaterial
(
mg
)
Duel
.
SendtoGrave
(
mg
,
REASON_MATERIAL
+
REASON_LINK
)
Duel
.
SendtoGrave
(
mg
,
REASON_MATERIAL
+
REASON_LINK
)
Duel
.
RegisterFlagEffect
(
tp
,
1295111
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c1295111
.
mattg
(
e
,
c
)
function
c1295111
.
mattg
(
e
,
c
)
return
c
:
IsSetCard
(
0x119
)
and
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsSetCard
(
0x119
)
and
c
:
IsType
(
TYPE_LINK
)
...
...
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