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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
870dc638
Commit
870dc638
authored
Jan 19, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
438437d4
Pipeline
#8811
passed with stages
in 27 minutes and 50 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
26 deletions
+21
-26
expansions/script/c16150033.lua
expansions/script/c16150033.lua
+1
-3
expansions/script/c66915035.lua
expansions/script/c66915035.lua
+20
-23
No files found.
expansions/script/c16150033.lua
View file @
870dc638
...
...
@@ -163,9 +163,7 @@ end
function
cm
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsAbleToRemoveAsCost
()
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
c
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
c
,
POS_FACEUP
,
REASON_COST
)
end
function
cm
.
eqfilter
(
c
)
return
rk
.
check
(
c
,
"DAIOUGU"
)
and
c
:
CheckUniqueOnField
(
tp
)
and
not
c
:
IsForbidden
()
...
...
expansions/script/c66915035.lua
View file @
870dc638
...
...
@@ -4,18 +4,23 @@ function c66915035.initial_effect(c)
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunFunRep
(
c
,
c66915035
.
mfilter1
,
c66915035
.
mfilter2
,
2
,
63
,
true
)
--spsummon condition
local
e12
=
Effect
.
CreateEffect
(
c
)
e12
:
SetType
(
EFFECT_TYPE_SINGLE
)
e12
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e12
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e12
:
SetValue
(
c66915035
.
splimit
)
c
:
RegisterEffect
(
e12
)
--base atk/def
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c66915035
.
splimit
)
c
:
RegisterEffect
(
e1
)
--spsummon success
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetOperation
(
c66915035
.
sucop
)
c
:
RegisterEffect
(
e3
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetCode
(
EFFECT_SET_BASE_ATTACK
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetValue
(
c66915035
.
atkval
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_BASE_DEFENSE
)
c
:
RegisterEffect
(
e2
)
--copy
local
e31
=
Effect
.
CreateEffect
(
c
)
e31
:
SetDescription
(
aux
.
Stringid
(
66915035
,
1
))
...
...
@@ -37,6 +42,9 @@ function c66915035.initial_effect(c)
e4
:
SetTarget
(
c66915035
.
reptg
)
c
:
RegisterEffect
(
e4
)
end
function
c66915035
.
atkval
(
e
,
c
)
return
c
:
GetMaterialCount
()
*
500
end
function
c66915035
.
splimit
(
e
,
se
,
sp
,
st
)
if
not
StarLight_from_K
and
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
~=
SUMMON_TYPE_FUSION
then
return
false
end
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
or
StarLight_from_K
.
Brightstarlight_Effect
[
se
]
...
...
@@ -47,18 +55,7 @@ end
function
c66915035
.
mfilter2
(
c
)
return
c
:
IsFusionSetCard
(
0x1374
)
end
function
c66915035
.
sucop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_BASE_ATTACK
)
e1
:
SetValue
(
c
:
GetMaterialCount
()
*
500
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_BASE_DEFENSE
)
c
:
RegisterEffect
(
e2
)
end
function
c66915035
.
copycost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetFlagEffect
(
66915035
)
==
0
end
e
:
GetHandler
():
RegisterFlagEffect
(
66915035
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
...
...
@@ -123,7 +120,7 @@ function c66915035.rstop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
end
function
c66915035
.
check2
(
c
,
e
,
tp
)
function
c66915035
.
check2
(
c
,
e
,
tp
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsAbleToDeck
()
end
function
c66915035
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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