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
53bd9e96
You need to sign in or sign up before continuing.
Commit
53bd9e96
authored
Feb 19, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
671bd2b5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
3 deletions
+25
-3
expansions/script/c12823255.lua
expansions/script/c12823255.lua
+1
-1
expansions/script/c12825613.lua
expansions/script/c12825613.lua
+1
-1
expansions/script/c16104437.lua
expansions/script/c16104437.lua
+15
-0
expansions/script/c16368145.lua
expansions/script/c16368145.lua
+6
-0
expansions/script/c50218535.lua
expansions/script/c50218535.lua
+2
-1
No files found.
expansions/script/c12823255.lua
View file @
53bd9e96
...
...
@@ -30,7 +30,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
local
tc1
=
sg
:
GetFirst
()
local
g
=
c
:
GetAttackableTarget
()
local
g
=
tc1
:
GetAttackableTarget
()
if
#
g
>
0
and
Duel
.
SelectOption
(
tp
,
1157
,
1117
)
==
0
then
local
tc2
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
if
tc2
then
...
...
expansions/script/c12825613.lua
View file @
53bd9e96
...
...
@@ -15,7 +15,7 @@ function c12825613.initial_effect(c)
--draw
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
1108
)
e2
:
SetCategory
(
CATEGORY_
SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_
DRAW
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCountLimit
(
1
,
12825613
)
...
...
expansions/script/c16104437.lua
View file @
53bd9e96
...
...
@@ -131,6 +131,21 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
efilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
tc1
=
g1
:
GetFirst
()
if
tc
and
tc1
then
local
record_type
=
tc
:
GetOriginalType
()
tc
:
SetCardData
(
CARDDATA_TYPE
,
record_type
|
TYPE_EQUIP
)
tc
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
,
0
,
1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_MOVE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetLabel
(
record_type
)
e2
:
SetOperation
(
function
(
de
)
local
dc
=
de
:
GetHandler
()
dc
:
SetCardData
(
CARDDATA_TYPE
,
de
:
GetLabel
())
de
:
Reset
()
end
)
tc
:
RegisterEffect
(
e2
)
if
not
Duel
.
Equip
(
tp
,
tc
,
tc1
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c16368145.lua
View file @
53bd9e96
...
...
@@ -23,6 +23,7 @@ function c16368145.initial_effect(c)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCode
(
EVENT_PRE_DAMAGE_CALCULATE
)
e2
:
SetCondition
(
c16368145
.
atkcon
)
e2
:
SetCost
(
c16368145
.
atkcost
)
e2
:
SetOperation
(
c16368145
.
atkop
)
c
:
RegisterEffect
(
e2
)
--activate limit
...
...
@@ -43,6 +44,11 @@ end
function
c16368145
.
atkval
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
aux
.
AND
(
Card
.
IsSetCard
,
Card
.
IsFaceup
),
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
nil
,
0xcb1
,
0xdc3
)
-
1
end
function
c16368145
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
GetFlagEffect
(
16368145
)
==
0
end
c
:
RegisterFlagEffect
(
16368145
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_DAMAGE_CAL
,
0
,
1
)
end
function
c16368145
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
...
...
expansions/script/c50218535.lua
View file @
53bd9e96
...
...
@@ -39,7 +39,8 @@ end
function
c50218535
.
ovop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
not
rc
:
IsImmuneToEffect
(
e
)
and
rc
:
IsCanOverlay
()
then
if
c
:
IsRelateToEffect
(
e
)
and
rc
:
IsRelateToEffect
(
re
)
and
not
rc
:
IsImmuneToEffect
(
e
)
and
rc
:
IsCanOverlay
()
then
local
og
=
rc
:
GetOverlayGroup
()
if
og
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
og
,
REASON_RULE
)
...
...
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