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
7c7e8347
Commit
7c7e8347
authored
Jan 03, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dededededededededededede
parent
08466ab6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
20 deletions
+23
-20
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c33403500.lua
expansions/script/c33403500.lua
+23
-20
No files found.
expansions/222DIY.cdb
View file @
7c7e8347
No preview for this file type
expansions/script/c33403500.lua
View file @
7c7e8347
...
@@ -115,26 +115,29 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -115,26 +115,29 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter1
,
tp
,
LOCATION_ONFIELD
,
0
,
5
,
5
,
nil
,
tp
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter1
,
tp
,
LOCATION_ONFIELD
,
0
,
5
,
5
,
nil
,
tp
)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e12
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e12
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e12
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e12
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e12
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e2
:
SetValue
(
1
)
e12
:
SetValue
(
1
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
2
)
e12
:
SetReset
(
RESET_EVENT
+
0xff0000
+
RESET_PHASE
+
PHASE_END
,
2
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e12
)
local
e3
=
e2
:
Clone
()
local
e13
=
e12
:
Clone
()
e3
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e13
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e13
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e14
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e14
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e14
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetValue
(
cm
.
efilter2
)
e14
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
2
)
e14
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
c
:
RegisterEffect
(
e1
)
e14
:
SetValue
(
cm
.
efilter2
)
end
e14
:
SetReset
(
RESET_EVENT
+
0xff0000
+
RESET_PHASE
+
PHASE_END
,
2
)
function
cm
.
efilter2
(
e
,
re
)
c
:
RegisterEffect
(
e14
)
return
e
:
GetHandlerPlayer
()
~=
re
:
GetOwnerPlayer
()
or
(
not
re
:
GetHandler
():
IsSetCard
(
0x5349
))
e
:
GetHandler
():
RegisterFlagEffect
(
m
,
RESET_EVENT
+
0xff0000
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
2
,
0
,
aux
.
Stringid
(
m
,
3
))
end
function
cm
.
efilter2
(
e
,
te
)
return
e
:
GetHandlerPlayer
()
~=
te
:
GetOwnerPlayer
()
or
((
not
te
:
GetHandler
():
IsSetCard
(
0x5349
))
and
(
not
te
:
GetHandler
()
==
e
:
GetHandler
()))
end
end
function
cm
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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