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
Ai
ygopro-222DIY-cards
Commits
dda4da9b
Commit
dda4da9b
authored
Jul 07, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5d2d5f0d
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
110 additions
and
203 deletions
+110
-203
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/pics/12048022.jpg
expansions/pics/12048022.jpg
+0
-0
expansions/pics/12048023.jpg
expansions/pics/12048023.jpg
+0
-0
expansions/script/c12048022.lua
expansions/script/c12048022.lua
+0
-61
expansions/script/c12048023.lua
expansions/script/c12048023.lua
+0
-33
expansions/script/c33401309.lua
expansions/script/c33401309.lua
+1
-1
expansions/script/c60152301.lua
expansions/script/c60152301.lua
+109
-108
No files found.
expansions/222DIY.cdb
View file @
dda4da9b
No preview for this file type
expansions/pics/12048022.jpg
deleted
100644 → 0
View file @
5d2d5f0d
281 KB
expansions/pics/12048023.jpg
deleted
100644 → 0
View file @
5d2d5f0d
252 KB
expansions/script/c12048022.lua
deleted
100644 → 0
View file @
5d2d5f0d
Duel
.
LoadScript
(
"c12048000.lua"
)
--永远的证明 玛莉梅娜
local
m
=
12048022
local
cm
=
_G
[
"c"
..
m
]
cm
.
srre_front_side
=
12048021
cm
.
srre_back_side
=
12048022
function
cm
.
initial_effect
(
c
)
--immune
local
e1
=
srre
.
immuneffect
(
c
,
1
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_HANDES
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_DRAW
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
--back
local
e3
=
srre
.
backeffect
(
c
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
~=
tp
and
r
==
REASON_RULE
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
tt
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_DECK
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
1
-
tp
,
tt
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DECKDES
,
nil
,
0
,
1
-
tp
,
tt
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tt
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_DECK
)
Duel
.
DiscardDeck
(
1
-
tp
,
tt
,
REASON_EFFECT
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_DRAW
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
1
)
e2
:
SetTargetRange
(
0
,
1
)
Duel
.
RegisterEffect
(
e2
,
tp
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_PREDRAW
)
e3
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
cm
.
recon
)
e3
:
SetOperation
(
cm
.
reop
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
function
cm
.
recon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
~=
tp
end
function
cm
.
reop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
tp
,
0
,
LOCATION_GRAVE
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
ShuffleDeck
(
1
-
tp
)
end
end
\ No newline at end of file
expansions/script/c12048023.lua
deleted
100644 → 0
View file @
5d2d5f0d
Duel
.
LoadScript
(
"c12048000.lua"
)
--享乐的不死者 亚希娅
local
m
=
12048023
local
cm
=
_G
[
"c"
..
m
]
cm
.
srre_front_side
=
12048020
cm
.
srre_back_side
=
12048023
function
cm
.
initial_effect
(
c
)
--immune
local
e1
=
srre
.
immuneffect
(
c
,
1
)
--qe
local
e2
=
srre
.
negateeffect
(
c
,
m
,{
m
,
0
},
CATEGORY_NEGATE
,
LOCATION_MZONE
,
nil
,
cm
.
necon
,
cm
.
cost
,
cm
.
netg
,
cm
.
neop
)
--back
local
e3
=
srre
.
backeffect
(
c
)
end
function
cm
.
necon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
false
end
return
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
Duel
.
IsChainNegatable
(
ev
)
end
function
cm
.
costfilter
(
c
)
return
c
:
IsAbleToDeckAsCost
()
and
srre
.
check_set_HakaShiro
(
c
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
costfilter
,
tp
,
LOCATION_GRAVE
,
0
,
5
,
nil
)
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
costfilter
,
tp
,
LOCATION_GRAVE
,
0
,
5
,
5
,
nil
)
Duel
.
SendtoDeck
(
g
,
nil
,
1
,
REASON_COST
)
end
function
cm
.
netg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
aux
.
nbcon
(
tp
,
re
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
end
function
cm
.
neop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
end
expansions/script/c33401309.lua
View file @
dda4da9b
...
...
@@ -45,7 +45,7 @@ function c33401309.thop2(e,tp,eg,ep,ev,re,r,rp)
end
function
c33401309
.
cptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExisting
Target
(
c33401309
.
matfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExisting
MatchingCard
(
c33401309
.
matfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
end
function
c33401309
.
cpop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c60152301.lua
View file @
dda4da9b
This diff is collapsed.
Click to expand it.
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