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
e32bcaeb
Commit
e32bcaeb
authored
Dec 29, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7
parent
02677e95
Pipeline
#32165
failed with stages
in 25 minutes and 41 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
expansions/script/c17243611.lua
expansions/script/c17243611.lua
+2
-2
expansions/script/c17243613.lua
expansions/script/c17243613.lua
+4
-0
expansions/script/c17243660.lua
expansions/script/c17243660.lua
+1
-1
No files found.
expansions/script/c17243611.lua
View file @
e32bcaeb
...
...
@@ -10,7 +10,7 @@ function cm.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetTarget
(
cm
.
thtg
)
...
...
@@ -33,7 +33,7 @@ end
cm
.
SetCard_JYMFS
=
true
function
cm
.
thfilter
(
c
)
return
c
.
SetCard_JYMFS
and
c
:
IsAbleToHand
()
return
c
.
SetCard_JYMFS
and
c
:
Is
Type
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
Is
AbleToHand
()
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
...
expansions/script/c17243613.lua
View file @
e32bcaeb
...
...
@@ -21,6 +21,7 @@ function cm.initial_effect(c)
e2
:
SetHintTiming
(
0
,
TIMING_MAIN_END
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetCondition
(
cm
.
lvcon
)
e2
:
SetTarget
(
cm
.
lvtg
)
e2
:
SetOperation
(
cm
.
lvop
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -38,6 +39,9 @@ end
cm
.
SetCard_JYMFS
=
true
function
cm
.
lvcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
&
(
PHASE_MAIN1
+
PHASE_MAIN2
)
>
0
end
function
cm
.
lvfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
0
)
end
...
...
expansions/script/c17243660.lua
View file @
e32bcaeb
...
...
@@ -60,7 +60,7 @@ function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
if
#
g
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
HintSelection
(
tc
)
Duel
.
HintSelection
(
g
)
if
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
and
tc
:
GetBaseAttack
()
>
0
then
Duel
.
BreakEffect
()
Duel
.
Damage
(
1
-
tp
,
tc
:
GetBaseAttack
(),
REASON_EFFECT
)
...
...
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