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
Ai
ygopro-222DIY-cards
Commits
59f13f2d
Commit
59f13f2d
authored
May 30, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vme50
parent
e2293af0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
expansions/script/c64800217.lua
expansions/script/c64800217.lua
+1
-1
expansions/script/c64800225.lua
expansions/script/c64800225.lua
+5
-1
No files found.
expansions/script/c64800217.lua
View file @
59f13f2d
...
...
@@ -58,7 +58,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
desfilter
(
c
,
e
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_EXTRA
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
,
Group
.
FromCards
(
c
))
return
c
:
IsSetCard
(
0x541a
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_EXTRA
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
,
Group
.
FromCards
(
c
))
end
function
s
.
spfilter
(
c
,
e
,
tp
,
dg
)
local
tc
=
dg
:
GetFirst
()
...
...
expansions/script/c64800225.lua
View file @
59f13f2d
...
...
@@ -9,7 +9,6 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e2
:
SetCountLimit
(
1
,
id
)
e2
:
SetCondition
(
s
.
condition
)
e2
:
SetTarget
(
s
.
target
)
...
...
@@ -30,7 +29,9 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e3
:
SetCountLimit
(
1
,
id
+
20000
)
e3
:
SetCondition
(
s
.
chcon
)
e3
:
SetTarget
(
s
.
chtg
)
e3
:
SetOperation
(
s
.
chop
)
c
:
RegisterEffect
(
e3
)
...
...
@@ -85,6 +86,9 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
chcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
~=
tp
end
function
s
.
dsfilter
(
c
)
return
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsFaceup
()
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