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
Soulgamer
ygopro-222DIY-cards
Commits
45e3774a
Commit
45e3774a
authored
Sep 03, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
E
parent
5dc71103
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
expansions/script/c16101049.lua
expansions/script/c16101049.lua
+2
-2
No files found.
expansions/script/c16101049.lua
View file @
45e3774a
...
...
@@ -85,14 +85,14 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return
ph
==
PHASE_DAMAGE
and
(
c
==
Duel
.
GetAttacker
()
or
c
==
Duel
.
GetAttackTarget
())
and
not
Duel
.
IsDamageCalculated
()
end
function
cm
.
c
filter
(
c
)
function
cm
.
rm
filter
(
c
)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
cm
.
cfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
rg
=
Duel
.
GetMatchingGroup
(
cm
.
c
filter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
nil
)
local
rg
=
Duel
.
GetMatchingGroup
(
cm
.
rm
filter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
nil
)
local
rg2
=
Duel
.
GetMatchingGroup
(
cm
.
cfilter2
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
nil
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
==
0
and
rg
:
GetCount
()
==
rg2
:
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