Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
9fd067be
Commit
9fd067be
authored
Jan 20, 2024
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e6a5f4d2
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
11 deletions
+12
-11
c23530726.lua
c23530726.lua
+1
-1
c42427230.lua
c42427230.lua
+5
-5
c43502497.lua
c43502497.lua
+2
-2
c48486809.lua
c48486809.lua
+1
-1
c71818935.lua
c71818935.lua
+1
-1
c75874514.lua
c75874514.lua
+2
-1
No files found.
c23530726.lua
View file @
9fd067be
...
...
@@ -62,6 +62,6 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
BreakEffect
()
Duel
.
Destroy
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
end
end
\ No newline at end of file
c42427230.lua
View file @
9fd067be
...
...
@@ -18,7 +18,7 @@ function c42427230.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_REMOVE
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e2
:
SetCountLimit
(
1
,
424272
04
)
e2
:
SetCountLimit
(
1
,
424272
31
)
e2
:
SetTarget
(
c42427230
.
destg
)
e2
:
SetOperation
(
c42427230
.
desop
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -30,11 +30,11 @@ function c42427230.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
rg
=
Duel
.
GetMatchingGroup
(
c42427230
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
tp
)
if
chk
==
0
then
return
rg
:
GetCount
()
==
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
42427230
):
GetCount
()
and
rg
:
GetCount
()
~=
0
and
Duel
.
GetMZoneCount
(
tp
,
rg
)
>
0
end
ct
=
Duel
.
Release
(
rg
,
REASON_COST
)
*
2
local
ct
=
Duel
.
Release
(
rg
,
REASON_COST
)
*
2
e
:
SetLabel
(
ct
)
end
function
c42427230
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
424272
04
,
0
,
TYPES_TOKEN_MONSTER
,
200
,
200
,
1
,
RACE_MACHINE
,
ATTRIBUTE_FIRE
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
424272
31
,
0
,
TYPES_TOKEN_MONSTER
,
200
,
200
,
1
,
RACE_MACHINE
,
ATTRIBUTE_FIRE
)
end
local
ct
=
e
:
GetLabel
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
...
...
@@ -43,7 +43,7 @@ function c42427230.spop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ct
=
e
:
GetLabel
()
if
ft
>
0
and
ct
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
424272
04
,
0
,
TYPES_TOKEN_MONSTER
,
200
,
200
,
1
,
RACE_MACHINE
,
ATTRIBUTE_FIRE
)
then
if
ft
>
0
and
ct
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
424272
31
,
0
,
TYPES_TOKEN_MONSTER
,
200
,
200
,
1
,
RACE_MACHINE
,
ATTRIBUTE_FIRE
)
then
local
count
=
math.min
(
ft
,
ct
)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
count
=
1
end
if
count
>
1
then
...
...
@@ -57,7 +57,7 @@ function c42427230.spop(e,tp,eg,ep,ev,re,r,rp)
count
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
num
))
end
for
i
=
1
,
count
do
local
token
=
Duel
.
CreateToken
(
tp
,
424272
04
)
local
token
=
Duel
.
CreateToken
(
tp
,
424272
31
)
if
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
42427230
,
3
))
...
...
c43502497.lua
View file @
9fd067be
--ペンデュラム・ウィッチ
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
aux
.
EnablePendulumAttribute
(
c
)
--to extra
...
...
@@ -74,7 +74,7 @@ end
function
s
.
txop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetTargetsRelateToChain
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
id
,
3
))
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter
,
tp
,
LOCATION_DECK
,
1
,
1
,
nil
,
g
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
g
)
Duel
.
SendtoExtraP
(
tg
,
nil
,
REASON_EFFECT
)
end
function
s
.
sfilter
(
c
)
...
...
c48486809.lua
View file @
9fd067be
...
...
@@ -37,7 +37,7 @@ function s.initial_effect(c)
e4
:
SetOperation
(
s
.
desop2
)
c
:
RegisterEffect
(
e4
)
end
s
.
lvup
=
{
57116033
,
id
}
s
.
lvup
=
{
id
}
function
s
.
spfilter
(
c
)
return
(
c
:
IsCode
(
57116033
)
or
c
:
IsSetCard
(
0x3008
)
and
c
:
IsType
(
TYPE_FUSION
))
and
c
:
IsFaceupEx
()
and
c
:
IsAbleToRemoveAsCost
()
end
...
...
c71818935.lua
View file @
9fd067be
...
...
@@ -19,7 +19,7 @@ function s.filter(c,lg)
end
function
s
.
lmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
()
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
s
.
filter
(
chkc
,
lg
)
end
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
c
hkc
:
IsLocation
(
LOCATION_MZONE
)
and
s
.
filter
(
chkc
,
lg
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
lg
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
lg
)
...
...
c75874514.lua
View file @
9fd067be
...
...
@@ -61,7 +61,8 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummonComplete
()
Duel
.
AdjustAll
()
local
g
=
Duel
.
GetMatchingGroup
(
s
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
c
)
if
g
:
GetCount
()
>
0
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
if
g
:
GetCount
()
>
0
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsControler
(
tp
)
and
c
:
IsFaceup
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
...
...
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