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
d9610350
Commit
d9610350
authored
Apr 29, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
8e37abdf
Pipeline
#12114
passed with stages
in 32 minutes
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
18 deletions
+21
-18
expansions/script/c17032770.lua
expansions/script/c17032770.lua
+12
-12
expansions/script/c17035101.lua
expansions/script/c17035101.lua
+7
-4
expansions/script/c81044018.lua
expansions/script/c81044018.lua
+2
-2
No files found.
expansions/script/c17032770.lua
View file @
d9610350
...
...
@@ -3,20 +3,20 @@ xpcall(function() require("expansions/script/c17035101") end,function() require(
function
c17032770
.
initial_effect
(
c
)
chiki
.
reposcon
(
c
)
--special summon
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetDescription
(
aux
.
Stringid
(
17032850
,
0
))
e
1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e
1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e
1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e
1
:
SetRange
(
LOCATION_MZONE
)
e
1
:
SetCountLimit
(
1
,
17032850
)
e
1
:
SetCondition
(
chiki
.
poccon
)
e
1
:
SetTarget
(
c17032770
.
cptg
)
e
1
:
SetOperation
(
c17032770
.
cpop
)
c
:
RegisterEffect
(
e
1
)
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetDescription
(
aux
.
Stringid
(
17032850
,
0
))
e
2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e
2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e
2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e
2
:
SetRange
(
LOCATION_MZONE
)
e
2
:
SetCountLimit
(
1
,
17032850
)
e
2
:
SetCondition
(
chiki
.
poccon
)
e
2
:
SetTarget
(
c17032770
.
cptg
)
e
2
:
SetOperation
(
c17032770
.
cpop
)
c
:
RegisterEffect
(
e
2
)
end
function
c17032770
.
cpfilter
(
c
)
return
c
:
IsSetCard
(
0x97f3
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToDeck
()
and
c
:
CheckActivateEffect
(
false
,
true
,
false
)
~=
nil
return
c
:
IsSetCard
(
0x97f3
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
CheckActivateEffect
(
false
,
true
,
false
)
~=
nil
end
function
c17032770
.
cptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
...
...
expansions/script/c17035101.lua
View file @
d9610350
...
...
@@ -906,10 +906,11 @@ function Chikichikibanban.handspop(self_location,opponent_location,op,controler,
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
return
end
if
ft
>
maxc
then
ft
=
maxc
elseif
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
if
minc
>
ft
then
minc
=
ft
end
local
g
=
Duel
.
GetFieldGroup
(
tp
,
self_location
,
opponent_location
)
local
sg
=
g
:
Filter
(
Chikichikibanban
.
handspfilter
,
nil
,
e
,
controler
,
f
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tg
=
sg
:
SelectSubGroup
(
tp
,
Chikichikibanban
.
SpecialSummonProcedureFreeGoal2
,
false
,
minc
,
maxc
,
controler
,
gf
)
local
tg
=
sg
:
SelectSubGroup
(
tp
,
Chikichikibanban
.
SpecialSummonProcedureFreeGoal2
,
false
,
minc
,
ft
,
controler
,
gf
)
if
tg
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
tg
,
0
,
tp
,
controler
,
false
,
false
,
POS_FACEUP
)
if
op
then
Duel
.
BreakEffect
()
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
,
e
:
GetHandler
())
end
...
...
@@ -934,9 +935,9 @@ function Chikichikibanban.reposcon(c,c_location,tg,op,con,etype,gategory,...)
local
c_location
=
c_location
if
not
c_location
then
c_location
=
LOCATION_HAND
end
local
tg
=
tg
if
not
tg
then
tg
=
chiki
.
sptg
end
if
not
tg
then
tg
=
Chikichikibanban
.
sptg
end
local
op
=
op
if
not
op
then
op
=
chiki
.
spop
end
if
not
op
then
op
=
Chikichikibanban
.
spop
end
if
not
gategory
then
gategory
=
CATEGORY_SPECIAL_SUMMON
end
if
not
etype
then
etype
=
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
end
local
limt
=
{
...
}
...
...
@@ -954,9 +955,10 @@ function Chikichikibanban.reposcon(c,c_location,tg,op,con,etype,gategory,...)
e1
:
SetTarget
(
tg
)
e1
:
SetOperation
(
op
)
c
:
RegisterEffect
(
e1
)
return
e1
end
function
Chikichikibanban
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
...
...
@@ -999,6 +1001,7 @@ function Chikichikibanban.reposcost(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
+
EFFECT_FLAG_OATH
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
...
...
expansions/script/c81044018.lua
View file @
d9610350
...
...
@@ -29,7 +29,7 @@ function cm.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
cm
.
drcon
)
e3
:
SetCost
(
cm
.
dacost
)
e3
:
SetTarget
(
cm
.
drtg
)
...
...
@@ -43,7 +43,7 @@ function cm.initial_effect(c)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetCode
(
EVENT_PAY_LPCOST
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
,
m
+
900
)
e4
:
SetCountLimit
(
1
,
m
)
e4
:
SetCondition
(
cm
.
thcon
)
e4
:
SetTarget
(
cm
.
thtg
)
e4
:
SetOperation
(
cm
.
thop
)
...
...
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