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
REIKAI
ygopro-222DIY-cards
Commits
8db1d8c6
Commit
8db1d8c6
authored
Dec 29, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c71403015.lua
parent
13072c82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
expansions/script/c71403015.lua
expansions/script/c71403015.lua
+5
-4
No files found.
expansions/script/c71403015.lua
View file @
8db1d8c6
...
...
@@ -30,13 +30,14 @@ function c71403015.initial_effect(c)
c
:
RegisterEffect
(
ep2
)
--monster movement effect
yume
.
RegPPTTetrisExMoveEffect
(
c
,
71403015
)
--
change pos(monster effect)
--
disable and remove
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
71403015
,
1
))
e2
:
SetCategory
(
CATEGORY_DISABLE
+
CATEGORY_DESTROY
+
CATEGORY_REMOVE
+
CATEGORY_GRAVE_ACTION
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_BATTLE_START
+
TIMING_END_PHASE
)
e2
:
SetCountLimit
(
1
,
71513015
)
e2
:
SetCost
(
yume
.
PPTLimitCost
)
e2
:
SetTarget
(
c71403015
.
tg2
)
...
...
@@ -44,6 +45,7 @@ function c71403015.initial_effect(c)
c
:
RegisterEffect
(
e2
)
yume
.
PPTCounter
()
end
c71403015
.
pendulum_level
=
4
function
c71403015
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
yume
.
PPTOtherScaleCheck
(
e
)
and
eg
:
IsExists
(
Card
.
IsSummonType
,
1
,
nil
,
SUMMON_TYPE_PENDULUM
)
end
...
...
@@ -98,7 +100,6 @@ function c71403015.tg2(e,tp,eg,ep,ev,re,r,rp,chk)
or
Duel
.
IsExistingMatchingCard
(
c71403015
.
filter2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
true
)
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NegateAnyFilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
if
chk
==
0
then
return
#
g
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
g
,
1
,
0
,
0
)
end
function
c71403015
.
filter2
(
c
,
check
)
...
...
@@ -116,7 +117,7 @@ function c71403015.op2(e,tp,eg,ep,ev,re,r,rp)
if
not
opt1
and
not
opt2
then
return
end
if
opt1
and
not
opt2
then
result
=
0
end
if
opt2
and
not
opt1
then
result
=
1
end
if
opt1
and
opt2
then
result
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
7140301
5
,
2
),
aux
.
Stringid
(
71403015
,
3
))
end
if
opt1
and
opt2
then
result
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
7140301
1
,
2
),
aux
.
Stringid
(
71403011
,
3
))
end
if
result
==
0
then
result
=
c
:
RemoveOverlayCard
(
tp
,
2
,
2
,
REASON_EFFECT
)
else
...
...
@@ -147,7 +148,7 @@ function c71403015.op2(e,tp,eg,ep,ev,re,r,rp)
sc
:
RegisterEffect
(
e1
)
end
end
local
bg
=
Duel
.
GetMatchingGroup
(
c71403015
.
filter2dis
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
nil
,
e
)
local
bg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
nil
,
tp
)
if
bg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
71403015
,
4
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
...
...
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