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
fc34fc2b
Commit
fc34fc2b
authored
Jul 15, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
ce4e0651
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
expansions/script/c33201454.lua
expansions/script/c33201454.lua
+1
-1
expansions/script/c33201460.lua
expansions/script/c33201460.lua
+3
-5
No files found.
expansions/script/c33201454.lua
View file @
fc34fc2b
...
...
@@ -9,7 +9,7 @@ function s.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
+
10000
)
e1
:
SetCountLimit
(
1
,
id
+
10000
)
e1
:
SetLabel
(
0
)
e1
:
SetCondition
(
s
.
condition
)
e1
:
SetTarget
(
s
.
target
)
...
...
expansions/script/c33201460.lua
View file @
fc34fc2b
...
...
@@ -3,11 +3,10 @@ local s,id,o=GetID()
Duel
.
LoadScript
(
"c33201450.lua"
)
function
s
.
initial_effect
(
c
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
nil
,
2
,
2
,
s
.
ovfilter
,
aux
.
Stringid
(
id
,
0
),
99
,
s
.
xyzop
)
aux
.
AddXyzProcedure
(
c
,
nil
,
2
,
2
,
s
.
ovfilter
,
aux
.
Stringid
(
id
,
0
),
2
,
s
.
xyzop
)
c
:
EnableReviveLimit
()
--remove
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
@@ -26,7 +25,6 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
tgop
)
c
:
RegisterEffect
(
e2
)
end
s
.
VHisc_hdst
=
true
function
s
.
ovfilter
(
c
)
return
c
:
IsFaceup
()
and
VHisc_HDST
.
nck
(
c
)
and
not
c
:
IsCode
(
id
)
...
...
@@ -59,7 +57,6 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
and
ct
then
local
sg
=
g
:
RandomSelect
(
tp
,
ct
)
Duel
.
ConfirmCards
(
tp
,
sg
)
Duel
.
ShuffleHand
(
1
-
tp
)
local
tc
=
sg
:
GetFirst
()
while
tc
do
if
VHisc_HDST
.
nck
(
tc
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
...
...
@@ -75,6 +72,7 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
end
tc
=
sg
:
GetNext
()
end
Duel
.
ShuffleHand
(
1
-
tp
)
end
end
function
s
.
fgfilter
(
c
,
code
)
...
...
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