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
274cc10b
Commit
274cc10b
authored
Jun 13, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rar
parent
ea35de97
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
expansions/script/c26812004.lua
expansions/script/c26812004.lua
+6
-2
expansions/script/c81022007.lua
expansions/script/c81022007.lua
+1
-1
No files found.
expansions/script/c26812004.lua
View file @
274cc10b
...
...
@@ -82,7 +82,11 @@ function cm.tsop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
actcon
(
e
)
local
tc
=
Duel
.
GetAttacker
()
local
tp
=
e
:
GetHandlerPlayer
()
return
tc
and
tc
:
IsControler
(
tp
)
and
tc
:
IsSummonType
(
SUMMON_TYPE_NORMAL
)
and
tc
:
IsLevel
(
10
)
local
a
=
Duel
.
GetAttacker
()
local
d
=
Duel
.
GetAttackTarget
()
return
(
a
and
cm
.
cfilter
(
a
,
tp
))
or
(
d
and
cm
.
cfilter
(
d
,
tp
))
end
function
cm
.
cfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSummonType
(
SUMMON_TYPE_NORMAL
)
and
c
:
IsLevel
(
10
)
and
c
:
IsControler
(
tp
)
end
expansions/script/c81022007.lua
View file @
274cc10b
...
...
@@ -24,7 +24,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
filter
(
c
,
e
,
tp
,
m1
,
ft
)
if
not
c
:
Is
SetCard
(
0x5da8
)
or
bit
.
band
(
c
:
GetType
(),
0x81
)
~=
0x81
if
not
c
:
Is
Type
(
TYPE_PENDULUM
)
or
bit
.
band
(
c
:
GetType
(),
0x81
)
~=
0x81
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
then
return
false
end
local
mg
=
m1
:
Filter
(
Card
.
IsCanBeRitualMaterial
,
c
,
c
)
if
c
.
mat_filter
then
...
...
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