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
Soulgamer
ygopro-222DIY-cards
Commits
2aed48fd
Commit
2aed48fd
authored
Jul 01, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
85561442
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
expansions/script/c12024002.lua
expansions/script/c12024002.lua
+1
-1
expansions/script/c12070011.lua
expansions/script/c12070011.lua
+1
-1
expansions/script/c21520098.lua
expansions/script/c21520098.lua
+2
-2
expansions/script/c65050241.lua
expansions/script/c65050241.lua
+2
-2
No files found.
expansions/script/c12024002.lua
View file @
2aed48fd
...
...
@@ -73,7 +73,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
LOCATION_DECK
)
e1
:
SetValue
(
LOCATION_DECK
SHF
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESET_OVERLAY
+
RESET_TOFIELD
+
RESET_TOGRAVE
+
RESET_TOHAND
,
0
,
1
)
...
...
expansions/script/c12070011.lua
View file @
2aed48fd
...
...
@@ -3,7 +3,7 @@ local m=12070011
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
aux
.
Filter
BoolFunction
(
Card
.
GetSynchroLevel
,
3
),
aux
.
NonTuner
(
nil
),
1
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
Filter
EqualFunction
(
Card
.
GetSynchroLevel
,
3
,
c
),
aux
.
NonTuner
(
nil
),
1
)
c
:
EnableReviveLimit
()
--Destroy
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c21520098.lua
View file @
2aed48fd
...
...
@@ -34,7 +34,7 @@ function c21520098.initial_effect(c)
--disable
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_CHAIN_
ACTIVAT
ING
)
e2
:
SetCode
(
EVENT_CHAIN_
SOLV
ING
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c21520098
.
discon
)
e2
:
SetOperation
(
c21520098
.
disop
)
...
...
@@ -120,7 +120,7 @@ function c21520098.adval(e,c)
return
(
c
:
GetOverlayCount
()
+
Duel
.
GetTurnCount
())
*
c
:
GetRank
()
*
100
end
function
c21520098
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
e
:
GetHandlerPlayer
(),
1
,
REASON_EFFECT
)
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
e
:
GetHandlerPlayer
(),
1
,
REASON_EFFECT
)
and
ep
~=
e
:
GetHandlerPlayer
()
end
function
c21520098
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c65050241.lua
View file @
2aed48fd
...
...
@@ -134,7 +134,7 @@ function c65050241.con(e,tp,eg,ep,ev,re,r,rp,chk)
return
c
:
IsPreviousLocation
(
LOCATION_HAND
+
LOCATION_ONFIELD
)
and
c
:
IsReason
(
REASON_EFFECT
)
end
function
c65050241
.
filter
(
c
,
e
,
tp
)
return
(
c
:
IsSetCard
(
0x5da8
)
or
c
:
IsSetCard
(
0x9da9
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
return
(
c
:
IsSetCard
(
0x5da8
)
or
c
:
IsSetCard
(
0x9da9
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c65050241
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65050241
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetMZoneCount
(
tp
)
>
0
end
...
...
@@ -144,6 +144,6 @@ function c65050241.op(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetMZoneCount
(
tp
)
<=
0
then
return
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65050241
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
fals
e
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
tru
e
,
false
,
POS_FACEUP
)
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