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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
be37a2e4
Commit
be37a2e4
authored
Aug 05, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1+1=3
parent
b9a68bb6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
expansions/script/c29990140.lua
expansions/script/c29990140.lua
+1
-1
expansions/script/c29990150.lua
expansions/script/c29990150.lua
+1
-1
expansions/script/c81049088.lua
expansions/script/c81049088.lua
+1
-1
expansions/script/c81049089.lua
expansions/script/c81049089.lua
+1
-1
No files found.
expansions/script/c29990140.lua
View file @
be37a2e4
...
...
@@ -11,7 +11,7 @@ function c29990140.initial_effect(c)
--Gains Effect
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
29990140
,
0
))
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetType
(
EFFECT_TYPE_XMATERIAL
+
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
29990140
+
EFFECT_COUNT_CODE_OATH
)
...
...
expansions/script/c29990150.lua
View file @
be37a2e4
...
...
@@ -11,7 +11,7 @@ function c29990150.initial_effect(c)
--Gains Effect
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
29990150
,
0
))
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e1
:
SetType
(
EFFECT_TYPE_XMATERIAL
+
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
29990150
+
EFFECT_COUNT_CODE_OATH
)
...
...
expansions/script/c81049088.lua
View file @
be37a2e4
...
...
@@ -41,7 +41,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local
ct
=#
{
c
:
IsHasEffect
(
EFFECT_TRAP_ACT_IN_SET_TURN
,
tp
)}
local
dis
=
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
if
chk
==
0
then
return
ct
>
1
or
dis
end
if
ct
==
1
or
dis
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
if
ct
==
1
or
dis
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
Duel
.
DiscardHand
(
tp
,
cm
.
cfilter
,
1
,
1
,
REASON_DISCARD
+
REASON_COST
,
nil
)
end
end
...
...
expansions/script/c81049089.lua
View file @
be37a2e4
...
...
@@ -41,7 +41,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local
ct
=#
{
c
:
IsHasEffect
(
EFFECT_TRAP_ACT_IN_SET_TURN
,
tp
)}
local
dis
=
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
if
chk
==
0
then
return
ct
>
1
or
dis
end
if
ct
==
1
or
dis
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
if
ct
==
1
or
dis
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
Duel
.
DiscardHand
(
tp
,
cm
.
cfilter
,
1
,
1
,
REASON_DISCARD
+
REASON_COST
,
nil
)
end
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