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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
8a74bc96
Commit
8a74bc96
authored
Apr 14, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
3d9a1fcc
Pipeline
#11613
passed with stages
in 32 minutes and 25 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
18 deletions
+17
-18
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c33200721.lua
expansions/script/c33200721.lua
+2
-2
expansions/script/c35100101.lua
expansions/script/c35100101.lua
+2
-2
expansions/script/c35100115.lua
expansions/script/c35100115.lua
+1
-1
expansions/script/c35100121.lua
expansions/script/c35100121.lua
+10
-11
expansions/script/c85400015.lua
expansions/script/c85400015.lua
+2
-2
No files found.
expansions/222DIY.cdb
View file @
8a74bc96
No preview for this file type
expansions/script/c33200721.lua
View file @
8a74bc96
...
...
@@ -64,8 +64,8 @@ function c33200721.thfilter(c)
return
c
:
IsSetCard
(
0xc32a
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
end
function
c33200721
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
1
,
0x32a
,
2
,
REASON_COST
)
end
Duel
.
RemoveCounter
(
tp
,
1
,
1
,
0x32a
,
2
,
REASON_COST
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanRemoveCounter
(
tp
,
0x32a
,
2
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveCounter
(
tp
,
0x32a
,
2
,
REASON_COST
)
end
function
c33200721
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c33200721
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c35100101.lua
View file @
8a74bc96
...
...
@@ -14,11 +14,11 @@ function cm.initial_effect(c)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e5
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e5
:
SetTarget
(
cm
.
distarget
)
e5
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e5
:
SetValue
(
cm
.
efilter
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
--negate
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
expansions/script/c35100115.lua
View file @
8a74bc96
...
...
@@ -29,7 +29,7 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
e1
:
SetRange
(
LOCATION_
HAND
)
e1
:
SetRange
(
LOCATION_
MZONE
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCondition
(
cm
.
spcon
)
e1
:
SetTarget
(
cm
.
sptg
)
...
...
expansions/script/c35100121.lua
View file @
8a74bc96
...
...
@@ -40,10 +40,9 @@ end
function
cm
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
a
=
Duel
.
GetAttacker
()
if
not
a
:
IsControler
(
tp
)
then
a
=
Duel
.
GetAttackTarget
()
end
return
a
and
a
:
IsType
(
TYPE_LINK
)
local
d
=
a
:
GetBattleTarget
()
if
a
:
IsControler
(
1
-
tp
)
then
a
,
d
=
d
,
a
end
return
a
and
a
:
IsType
(
TYPE_LINK
)
and
d
and
a
:
IsRelateToBattle
()
and
d
:
IsRelateToBattle
()
and
a
:
GetControler
()
~=
d
:
GetControler
()
end
function
cm
.
mvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
cm
.
mvfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
...
...
@@ -51,9 +50,8 @@ function cm.mvtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
mvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
a
=
Duel
.
GetAttacker
()
if
not
a
:
IsControler
(
1
-
tp
)
then
a
=
Duel
.
GetAttackTarget
()
end
local
d
=
a
:
GetBattleTarget
()
if
a
:
IsControler
(
1
-
tp
)
then
a
,
d
=
d
,
a
end
if
Duel
.
IsExistingMatchingCard
(
cm
.
mvfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
mvfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
...
...
@@ -65,13 +63,14 @@ function cm.mvop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
g2
)
local
tc2
=
g2
:
GetFirst
()
Duel
.
SwapSequence
(
tc1
,
tc2
)
if
a
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
d
:
IsFaceup
()
and
d
:
IsRelateToBattle
()
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetValue
(
a
:
GetBaseAttack
())
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetValue
(
d
:
GetBaseAttack
())
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_DAMAGE_CAL
)
a
:
RegisterEffect
(
e1
)
d
:
RegisterEffect
(
e1
)
end
end
end
...
...
expansions/script/c85400015.lua
View file @
8a74bc96
...
...
@@ -17,8 +17,8 @@ function c85400015.fl2(c)
return
c
:
IsCanBeXyzMaterial
(
nil
)
and
c
:
IsCode
(
85400000
)
end
function
c85400015
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
c
hkc
:
IsLocation
(
LOCATION_MZONE
)
and
c
85400015
.
fl1
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c85400015
.
fl1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
IsExisting
Target
(
c85400015
.
fl2
,
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chkc
then
return
c85400015
.
fl1
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c85400015
.
fl1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
IsExisting
MatchingCard
(
c85400015
.
fl2
,
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c85400015
.
fl1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
end
...
...
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