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
REIKAI
ygopro-222DIY-cards
Commits
30d69d6f
Commit
30d69d6f
authored
Jan 23, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
cf5276af
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
10 deletions
+6
-10
expansions/script/c21185825.lua
expansions/script/c21185825.lua
+3
-7
expansions/script/c33701015.lua
expansions/script/c33701015.lua
+1
-1
expansions/script/c53718005.lua
expansions/script/c53718005.lua
+1
-1
expansions/script/c81907124.lua
expansions/script/c81907124.lua
+1
-1
No files found.
expansions/script/c21185825.lua
View file @
30d69d6f
--洛天依「日面」
EFFECT_FLAG_OWNER_RELATE
=
0x1000000
function
c21185825
.
initial_effect
(
c
)
c
:
SetSPSummonOnce
(
21185825
)
c
:
EnableReviveLimit
()
...
...
@@ -74,16 +73,13 @@ end
function
c21185825
.
gf
(
c
,
lc
,
sg
)
return
sg
and
c
:
IsCanBeLinkMaterial
(
lc
)
and
c
:
IsLinkType
(
TYPE_LINK
)
and
c
:
GetSequence
()
>=
5
end
function
c21185825
.
to222
(
c
)
return
not
c
:
IsLinkType
(
TYPE_EFFECT
)
end
function
c21185825
.
LCheckGoal
(
sg
,
tp
,
lc
,
lmat
)
return
#
sg
>=
4
and
sg
:
IsExists
(
c21185825
.
gf
,
1
,
nil
,
lc
,
sg
)
and
sg
:
CheckWithSumEqual
(
aux
.
GetLinkCount
,
5
,
#
sg
,
#
sg
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
lc
)
>
0
and
not
sg
:
IsExists
(
aux
.
LUncompatibilityFilter
,
1
,
nil
,
sg
,
lc
,
tp
)
and
not
sg
:
IsExists
(
c21185825
.
to222
,
1
,
nil
)
and
(
not
lmat
or
sg
:
IsContains
(
lmat
)
)
end
function
c21185825
.
LCheckGoal2
(
sg
,
tp
,
lc
,
lmat
)
return
#
sg
==
1
...
...
@@ -176,7 +172,7 @@ function c21185825.op(e,tp,eg,ep,ev,re,r,rp)
if
tc
then
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_COPY_INHERIT
+
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetProperty
(
0x1002000
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
@@ -186,7 +182,7 @@ function c21185825.op(e,tp,eg,ep,ev,re,r,rp)
if
atk
>
0
then
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
e2
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetProperty
(
0x1000000
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetValue
(
-
math.ceil
(
atk
/
2
))
...
...
expansions/script/c33701015.lua
View file @
30d69d6f
...
...
@@ -107,7 +107,7 @@ function s.chainreg(e, tp, eg, ep, ev, re, r, rp)
end
function
s
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
Duel
.
GetTurnPlayer
()
~=
tp
and
c
:
IsPreviousControler
(
tp
)
and
e
:
GetHandler
():
GetFlagEffect
(
id
)
~=
0
return
Duel
.
GetTurnPlayer
()
~=
tp
and
c
:
IsPreviousControler
(
tp
)
and
rp
==
1
-
tp
and
e
:
GetHandler
():
GetFlagEffect
(
id
)
~=
0
end
function
s
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
...
...
expansions/script/c53718005.lua
View file @
30d69d6f
...
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
aux
.
AddCodeList
(
c
,
53718002
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_
TOHAND
+
CATEGORY_TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_
SPECIAL_SUMMON
+
CATEGORY_TOHAND
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetRange
(
LOCATION_HAND
)
...
...
expansions/script/c81907124.lua
View file @
30d69d6f
...
...
@@ -101,7 +101,7 @@ end
function
cm
.
drcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tdfilter
,
tp
,
0xff
,
0
,
3
,
e
:
GetHandler
())
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tdfilter
,
tp
,
tp
,
0xff
,
0
,
3
,
3
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tdfilter
,
tp
,
0xff
,
0
,
3
,
3
,
nil
)
Duel
.
SendtoDeck
(
g
,
nil
,
REASON_COST
)
end
function
cm
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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