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
Ai
ygopro-222DIY-cards
Commits
0a5ae749
Commit
0a5ae749
authored
May 30, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nmbd
parent
ffb4fac4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
12 deletions
+12
-12
expansions/script/c1009017.lua
expansions/script/c1009017.lua
+3
-3
expansions/script/c33500408.lua
expansions/script/c33500408.lua
+3
-3
expansions/script/c33501302.lua
expansions/script/c33501302.lua
+2
-2
expansions/script/c60151708.lua
expansions/script/c60151708.lua
+3
-3
expansions/script/c60151710.lua
expansions/script/c60151710.lua
+1
-1
No files found.
expansions/script/c1009017.lua
View file @
0a5ae749
...
...
@@ -69,11 +69,11 @@ function c1009017.spcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
~=
tp
end
function
c1009017
.
filter
(
c
)
return
c
:
IsAbleToHand
()
end
return
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
function
c1009017
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1009017
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
local
sg
=
Duel
.
GetMatchingGroup
(
c1009017
.
filter
,
tp
,
0
,
LOCATION_
MZONE
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
c1009017
.
filter
,
tp
,
0
,
LOCATION_
ONFIELD
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
sg
,
sg
:
GetCount
(),
0
,
0
)
Duel
.
SetChainLimit
(
c1009017
.
chlimit
)
end
...
...
expansions/script/c33500408.lua
View file @
0a5ae749
...
...
@@ -154,8 +154,8 @@ end
-- Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
-- local g=Duel.SelectMatchingCard(tp,nil,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,2,nil,c)
-- if g:GetCount()>0 then
--
Duel.HintSelection(g)
--
Duel.SendtoDeck(g,nil,2,REASON_EFFECT)
--
Duel.HintSelection(g)
--
Duel.SendtoDeck(g,nil,2,REASON_EFFECT)
-- end
--end
--e2
...
...
@@ -182,7 +182,7 @@ function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
end
--e7
function
cm
.
discon7
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter
9
,
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
local
ct
=
g
:
GetClassCount
(
Card
.
GetCode
)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
ct
>=
7
and
ep
==
1
-
tp
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
IsChainNegatable
(
ev
)
end
...
...
expansions/script/c33501302.lua
View file @
0a5ae749
...
...
@@ -53,8 +53,8 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if
not
aux
.
MustMaterialCheck
(
tc
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
then
return
end
if
tc
:
IsFacedown
()
or
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
IsControler
(
1
-
tp
)
or
tc
:
IsImmuneToEffect
(
e
)
then
return
end
local
r4
=
Duel
.
GetMatchingGroup
(
cm
.
r4filter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
tc
,
4
)
if
c
:
IsType
(
TYPE_XYZ
)
then
local
rk
=
c
:
GetRank
()
if
t
c
:
IsType
(
TYPE_XYZ
)
then
local
rk
=
t
c
:
GetRank
()
local
ra
=
Duel
.
GetMatchingGroup
(
cm
.
rafilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
tc
,
rk
+
1
)
r4
:
Merge
(
ra
)
end
...
...
expansions/script/c60151708.lua
View file @
0a5ae749
...
...
@@ -38,7 +38,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
cm
.
ffilter
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x3b26
)
)
e1
:
SetValue
(
500
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
@@ -46,7 +46,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e3
:
SetTarget
(
cm
.
ffilter
)
e3
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x3b26
)
)
e3
:
SetValue
(
500
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e3
,
tp
)
...
...
@@ -54,7 +54,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetTarget
(
cm
.
ffilter
)
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x3b26
)
)
e2
:
SetValue
(
1
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
...
...
expansions/script/c60151710.lua
View file @
0a5ae749
...
...
@@ -39,7 +39,7 @@ function cm.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
cm
.
thfilter
(
c
,
code
)
return
not
c
:
IsCode
(
code
)
and
c
:
IsAbleToHand
()
return
not
c
:
IsCode
(
code
)
and
c
:
IsAbleToHand
()
and
c
:
IsSetCard
(
0x3b26
)
end
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
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