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
133e91b9
Commit
133e91b9
authored
Jun 08, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
7019c791
Pipeline
#13489
passed with stages
in 26 minutes and 2 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
expansions/script/c33200433.lua
expansions/script/c33200433.lua
+2
-1
expansions/script/c33200436.lua
expansions/script/c33200436.lua
+7
-8
No files found.
expansions/script/c33200433.lua
View file @
133e91b9
...
...
@@ -55,6 +55,7 @@ function c33200433.spop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetOperatedGroup
():
GetFirst
()
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
if
tc
:
IsType
(
TYPE_SPELL
)
then
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
end
Duel
.
ShuffleHand
(
tp
)
end
end
...
...
expansions/script/c33200436.lua
View file @
133e91b9
...
...
@@ -65,20 +65,19 @@ function c33200436.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
and
g
:
GetCount
()
>
0
end
end
function
c33200436
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c33200436
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
for
tc
in
aux
.
Next
(
g
)
do
local
sg
=
Duel
.
GetMatchingGroup
(
c33200436
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsType
,
tp
,
0
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
nil
,
TYPE_SPELL
)
if
g
:
GetCount
()
==
0
or
sg
:
GetCount
()
==
0
then
return
end
local
atkval
=
g
:
GetCount
()
*-
500
for
tc
in
aux
.
Next
(
sg
)
do
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c33200436
.
atkval
)
e1
:
SetValue
(
atkval
)
tc
:
RegisterEffect
(
e1
)
if
tc
:
IsAttack
(
0
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
end
function
c33200436
.
atkval
(
e
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsType
,
tp
,
0
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
nil
,
TYPE_SPELL
)
return
0
-
500
*
g
:
GetCount
()
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