Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
346970ea
Commit
346970ea
authored
Apr 16, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tnndx
parent
5e0b30f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
expansions/script/c16107111.lua
expansions/script/c16107111.lua
+11
-3
No files found.
expansions/script/c16107111.lua
View file @
346970ea
...
...
@@ -62,7 +62,7 @@ function cm.actcon(e)
return
Duel
.
GetMatchingGroupCount
(
cm
.
gfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
>
0
end
function
cm
.
gfilter
(
c
)
return
(
c
:
IsRankAbove
(
10
)
or
c
:
IsLevelAbove
(
10
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
return
(
c
:
IsRankAbove
(
10
)
and
c
:
IsLevelAbove
(
10
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
end
----
function
cm
.
ctfilter
(
c
)
...
...
@@ -102,7 +102,16 @@ function cm.cost3(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
nova
,
6
,
REASON_COST
)
end
function
cm
.
filter3
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
c
:
RegisterFlagEffect
(
m
,
0
,
0
,
1
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_CODE
)
e1
:
SetValue
(
m
)
c
:
RegisterEffect
(
e1
,
true
)
local
res
=
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
c
:
ResetFlagEffect
(
m
)
e1
:
Reset
()
return
res
end
function
cm
.
tg3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
ct
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
...
...
@@ -114,7 +123,6 @@ function cm.tg3(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
cm
.
op3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
return
end
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
...
...
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