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
3c05a150
Commit
3c05a150
authored
Aug 07, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
E
parent
4653b312
Pipeline
#15427
passed with stages
in 27 minutes and 8 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
expansions/script/c15000850.lua
expansions/script/c15000850.lua
+4
-1
expansions/script/c15000866.lua
expansions/script/c15000866.lua
+4
-1
expansions/script/c75646970.lua
expansions/script/c75646970.lua
+2
-1
No files found.
expansions/script/c15000850.lua
View file @
3c05a150
...
...
@@ -53,7 +53,10 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
atkval
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsType
,
c
:
GetControler
(),
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
TYPE_EQUIP
)
*
1000
return
Duel
.
GetMatchingGroupCount
(
cm
.
eqfilter
,
c
:
GetControler
(),
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
*
1000
end
function
cm
.
eqfilter
(
c
)
return
c
:
IsType
(
TYPE_EQUIP
)
and
c
:
IsFaceup
()
end
function
cm
.
eqsfilter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_EQUIP
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
eqmfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
)
and
not
c
:
IsPublic
()
...
...
expansions/script/c15000866.lua
View file @
3c05a150
...
...
@@ -27,6 +27,9 @@ end
function
cm
.
filter
(
c
)
return
c
:
IsCode
(
15000862
)
and
c
:
IsAbleToHand
()
end
function
cm
.
nfilter
(
c
)
return
(
aux
.
NegateMonsterFilter
(
c
)
or
c
:
IsType
(
TYPE_SPELL
)
or
c
:
IsType
(
TYPE_TRAP
))
and
c
:
IsFaceup
()
end
function
cm
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
...
...
@@ -40,7 +43,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISABLE
)
local
ag
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
ag
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
nfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
bc
=
ag
:
GetFirst
()
if
bc
then
Duel
.
NegateRelatedChain
(
bc
,
RESET_TURN_SET
)
...
...
expansions/script/c75646970.lua
View file @
3c05a150
...
...
@@ -77,7 +77,7 @@ end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
GetMZoneCount
(
tp
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
+
1
,
0xa2c2
,
0x21
,
2800
,
2000
,
8
,
RACE_PSYCHO
,
ATTRIBUTE_WATER
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
Step
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_MOVE
)
...
...
@@ -91,6 +91,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
c
:
SetEntityCode
(
tcode
,
true
)
c
:
ReplaceEffect
(
tcode
,
RESET_EVENT
+
0x7e0000
)
c
:
RegisterFlagEffect
(
m
,
0
,
0
,
0
)
Duel
.
SpecialSummonComplete
()
end
end
function
cm
.
backon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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