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
44202178
Commit
44202178
authored
Nov 25, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
18d2fe0d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
expansions/script/c12053010.lua
expansions/script/c12053010.lua
+1
-1
expansions/script/c12058021.lua
expansions/script/c12058021.lua
+1
-0
expansions/script/c75646072.lua
expansions/script/c75646072.lua
+1
-1
expansions/script/c9910224.lua
expansions/script/c9910224.lua
+1
-1
No files found.
expansions/script/c12053010.lua
View file @
44202178
...
...
@@ -51,7 +51,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
Release
(
sg
,
REASON_COST
)
end
function
cm
.
filter
(
c
)
function
cm
.
spcost
filter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
GetFlagEffect
(
12053000
)
>
0
or
c
:
GetFlagEffect
(
12053001
)
>
0
or
c
:
GetFlagEffect
(
12053002
)
>
0
or
c
:
GetFlagEffect
(
12053003
)
>
0
or
c
:
GetFlagEffect
(
12053004
)
>
0
or
c
:
GetFlagEffect
(
12053005
)
>
0
or
c
:
GetFlagEffect
(
12053006
)
>
0
or
c
:
GetFlagEffect
(
12053007
)
>
0
or
c
:
GetFlagEffect
(
12053008
)
>
0
or
c
:
GetFlagEffect
(
12053009
)
>
0
or
c
:
GetFlagEffect
(
12053010
)
>
0
)
end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c12058021.lua
View file @
44202178
...
...
@@ -67,6 +67,7 @@ function cm.disfilter(c)
end
function
cm
.
epexop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
dg
=
Duel
.
GetMatchingGroup
(
cm
.
disfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
dg
:
GetCount
()
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
(),
c
:
GetCode
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
BreakEffect
()
...
...
expansions/script/c75646072.lua
View file @
44202178
...
...
@@ -10,7 +10,7 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetCode
(
m
)
e1
:
SetCode
(
75646072
)
e1
:
SetRange
(
LOCATION_MZONE
)
c
:
RegisterEffect
(
e1
)
--
...
...
expansions/script/c9910224.lua
View file @
44202178
...
...
@@ -28,7 +28,7 @@ function c9910224.condition(e,tp,eg,ep,ev,re,r,rp)
return
not
Duel
.
IsExistingMatchingCard
(
c9910224
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c9910224
.
spfilter
(
c
,
e
,
tp
)
return
c
:
Is
Race
(
RACE_PSYCHO
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
Is
SetCard
(
0x955
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c9910224
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
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