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
4
Merge Requests
4
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
3b1c3265
Commit
3b1c3265
authored
Sep 08, 2023
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 魔砲戦機ダルマ・カルマ
parent
91b616fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
c30748475.lua
c30748475.lua
+6
-3
No files found.
c30748475.lua
View file @
3b1c3265
...
@@ -12,7 +12,7 @@ function s.initial_effect(c)
...
@@ -12,7 +12,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
Is
Faceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
Is
CanTurnSet
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
chk
==
0
then
return
#
g
>
0
end
if
chk
==
0
then
return
#
g
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
#
g
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
#
g
,
0
,
0
)
end
end
...
@@ -25,7 +25,10 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -25,7 +25,10 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
if
#
tg
>
0
then
if
#
tg
>
0
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
--not fully implemented: https://github.com/Fluorohydride/ygopro/issues/2404
local
turnp
=
Duel
.
GetTurnPlayer
()
Duel
.
SendtoGrave
(
tg
,
REASON_RULE
)
for
p
=
turnp
,
1
-
turnp
,
1
-
turnp
-
turnp
do
local
sg
=
tg
:
Filter
(
Card
.
IsControler
,
nil
,
p
)
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
,
p
)
end
end
end
end
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