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
4874331d
Commit
4874331d
authored
Nov 19, 2019
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua fix
parent
b6abd3a5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
expansions/script/c11200044.lua
expansions/script/c11200044.lua
+1
-1
expansions/script/c33400401.lua
expansions/script/c33400401.lua
+1
-1
expansions/script/c33400403.lua
expansions/script/c33400403.lua
+2
-2
expansions/script/c33400474.lua
expansions/script/c33400474.lua
+1
-1
No files found.
expansions/script/c11200044.lua
View file @
4874331d
...
...
@@ -47,7 +47,7 @@ function c11200044.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
2
,
REASON_COST
)
end
function
c11200044
.
filter1
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
Is
Type
(
TYPE_XYZ
)
and
c
:
Is
Race
(
RACE_AQUA
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_AQUA
)
and
Duel
.
IsExistingMatchingCard
(
c11200044
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
,
c
:
GetCode
())
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
)
>
0
and
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
...
...
expansions/script/c33400401.lua
View file @
4874331d
...
...
@@ -25,7 +25,7 @@ function c33400401.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c33400401
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x6343
)
or
eg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x5343
)
return
eg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x6343
)
or
eg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x5343
)
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
1
end
function
c33400401
.
spfilter1
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
(
c
:
IsSetCard
(
0xc342
)
or
c
:
IsSetCard
(
0x5342
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
expansions/script/c33400403.lua
View file @
4874331d
...
...
@@ -68,9 +68,9 @@ function c33400403.setop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
end
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
expansions/script/c33400474.lua
View file @
4874331d
...
...
@@ -25,7 +25,7 @@ function c33400474.cfilter(c,e,tp)
return
c
:
IsSetCard
(
0x341
)
and
c
:
IsAbleToRemoveAsCost
()
and
Duel
.
IsExistingMatchingCard
(
c33400474
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
nm
)
end
function
c33400474
.
filter
(
c
,
e
,
tp
,
nm
)
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsRank
(
nm
)
return
c
:
Is
SetCard
(
0x341
)
and
c
:
Is
Type
(
TYPE_XYZ
)
and
c
:
IsRank
(
nm
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
end
function
c33400474
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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