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
Soulgamer
ygopro-222DIY-cards
Commits
1f2b3857
Commit
1f2b3857
authored
Sep 30, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
20033d78
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
expansions/script/c16104202.lua
expansions/script/c16104202.lua
+5
-1
expansions/script/c16400008.lua
expansions/script/c16400008.lua
+1
-0
No files found.
expansions/script/c16104202.lua
View file @
1f2b3857
...
...
@@ -98,7 +98,11 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
if
rg
then
g
:
Merge
(
rg
)
end
return
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
(
c
:
GetSequence
()
==
seq
or
(
c
:
GetEquipGroup
()
and
c
:
GetEquipGroup
():
IsExists
(
cm
.
disfilter
,
1
,
nil
,
seq
)))
and
not
rg
:
IsContains
(
re
:
GetHandler
())
and
c
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
and
loc
&
LOCATION_ONFIELD
~=
0
if
re
:
GetHandler
():
IsControler
(
tp
)
then
return
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
(
c
:
GetSequence
()
==
seq
or
(
c
:
GetEquipGroup
()
and
c
:
GetEquipGroup
():
IsExists
(
cm
.
disfilter
,
1
,
nil
,
seq
)))
and
not
rg
:
IsContains
(
re
:
GetHandler
())
and
c
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
and
loc
&
LOCATION_SZONE
~=
0
else
return
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
(
c
:
GetSequence
()
==
4
-
seq
or
(
c
:
GetEquipGroup
()
and
c
:
GetEquipGroup
():
IsExists
(
cm
.
disfilter
,
1
,
nil
,
4
-
seq
)))
and
not
rg
:
IsContains
(
re
:
GetHandler
())
and
c
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
and
loc
&
LOCATION_SZONE
~=
0
end
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
...
...
expansions/script/c16400008.lua
View file @
1f2b3857
...
...
@@ -8,6 +8,7 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_BE_MATERIAL
)
e1
:
SetCountLimit
(
1
,
m
+
EFFECT_COUNT_CODE_DUEL
)
e1
:
SetCondition
(
cm
.
spcon
)
...
...
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