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
d842404c
Commit
d842404c
authored
Jun 14, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rar
parent
c648e8e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
expansions/script/c12008030.lua
expansions/script/c12008030.lua
+8
-1
expansions/script/c12063060.lua
expansions/script/c12063060.lua
+4
-3
No files found.
expansions/script/c12008030.lua
View file @
d842404c
...
...
@@ -25,6 +25,10 @@ function c12008030.initial_effect(c)
e2
:
SetTarget
(
c12008030
.
sptg1
)
e2
:
SetOperation
(
c12008030
.
spop1
)
c
:
RegisterEffect
(
e2
)
local
e22
=
e2
:
Clone
()
e22
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
,
EFFECT_FLAG2_COF
)
e22
:
SetCondition
(
c12008030
.
spcon1
)
c
:
RegisterEffect
(
e22
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
12008030
,
1
))
...
...
@@ -39,6 +43,9 @@ function c12008030.initial_effect(c)
e1
:
SetOperation
(
c12008030
.
operation
)
c
:
RegisterEffect
(
e1
)
end
function
c12008030
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
12008030
)
>
0
and
e
:
GetHandler
():
IsPublic
()
end
function
c12008030
.
tdcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
12008030
)
>
0
end
...
...
@@ -55,7 +62,7 @@ function c12008030.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_PUBLIC
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
2
)
c
:
RegisterEffect
(
e1
)
Duel
.
RegisterFlagEffect
(
tp
,
12008030
,
RESET_PHASE
+
PHASE_END
,
0
,
2
)
c
:
RegisterFlagEffect
(
12008030
,
RESET_PHASE
+
PHASE_END
,
0
,
2
)
end
function
c12008030
.
spfilter1
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1fb3
)
and
c
:
IsLevelAbove
(
1
)
...
...
expansions/script/c12063060.lua
View file @
d842404c
...
...
@@ -40,11 +40,12 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
local
tc
=
g
:
GetFirst
()
if
tc
:
IsAbleToHand
()
and
e
:
GetLabel
()
and
e
:
GetLabel
()
~=
2
and
(
not
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
ft
<=
0
or
Duel
.
SelectOption
(
tp
,
1190
,
1152
)
==
0
)
then
local
ft
=
Duel
.
GetMZoneCount
(
tp
)
if
tc
:
IsAbleToHand
()
and
e
:
GetLabel
()
and
e
:
GetLabel
()
==
2
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
ft
>
0
and
Duel
.
SelectOption
(
tp
,
1190
,
1152
)
==
1
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
else
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
else
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
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