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
7c2b7df2
Commit
7c2b7df2
authored
Apr 07, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
58c5c06e
Pipeline
#11505
passed with stages
in 28 minutes and 18 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
9 deletions
+10
-9
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c35700107.lua
expansions/script/c35700107.lua
+6
-6
expansions/script/c39101001.lua
expansions/script/c39101001.lua
+2
-1
expansions/script/c39101016.lua
expansions/script/c39101016.lua
+1
-1
expansions/script/c39101021.lua
expansions/script/c39101021.lua
+1
-1
No files found.
expansions/222DIY.cdb
View file @
7c2b7df2
No preview for this file type
expansions/script/c35700107.lua
View file @
7c2b7df2
...
...
@@ -24,14 +24,11 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e9
)
--damage reduce
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
E
FFECT_CHANG
E_BATTLE_DAMAGE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
E
VENT_PR
E_BATTLE_DAMAGE
)
e3
:
SetCondition
(
cm
.
indcon
)
e3
:
Set
Value
(
aux
.
ChangeBattleDamage
(
1
,
HALF_DAMAGE
)
)
e3
:
Set
Operation
(
cm
.
rdop
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
e4
:
SetValue
(
aux
.
ChangeBattleDamage
(
0
,
HALF_DAMAGE
))
c
:
RegisterEffect
(
e4
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e5
:
SetType
(
EFFECT_TYPE_QUICK_O
)
...
...
@@ -48,6 +45,9 @@ end
function
cm
.
efilter
(
e
,
te
)
return
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
and
te
:
IsActiveType
(
TYPE_MONSTER
)
end
function
cm
.
rdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
ChangeBattleDamage
(
ep
,
ev
/
2
)
end
function
cm
.
drcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAttackPos
()
and
e
:
GetHandler
():
IsCanChangePosition
()
end
...
...
expansions/script/c39101001.lua
View file @
7c2b7df2
...
...
@@ -35,13 +35,14 @@ function Suyu_constel.p1(c)
return
e1
end
function
Suyu_constel
.
effect
(
c
,
code
,
id
,
loc
,
tg
,
op
,
cat
,
cost
)
function
Suyu_constel
.
effect
(
c
,
code
,
id
,
loc
,
tg
,
op
,
cat
,
cost
,
pro
)
local
tc
=
c
--summon with s/t
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
code
,
id
))
e4
:
SetCategory
(
cat
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetProperty
(
pro
)
e4
:
SetRange
(
loc
)
e4
:
SetCountLimit
(
1
,
code
+
id
)
if
cost
~=
nil
then
...
...
expansions/script/c39101016.lua
View file @
7c2b7df2
...
...
@@ -13,7 +13,7 @@ function cm.initial_effect(c)
e4
:
SetCode
(
EVENT_FREE_CHAIN
)
e4
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e4
:
SetRange
(
LOCATION_HAND
)
e4
:
SetCountLimit
(
1
,
m
)
e4
:
SetCountLimit
(
1
,
m
+
1
)
e4
:
SetCost
(
cm
.
cost
)
e4
:
SetOperation
(
cm
.
op
)
c
:
RegisterEffect
(
e4
)
...
...
expansions/script/c39101021.lua
View file @
7c2b7df2
...
...
@@ -18,7 +18,7 @@ function cm.initial_effect(c)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e4
)
local
e6
,
e7
=
Suyu_constel
.
effect
(
c
,
m
,
3
,
LOCATION_MZONE
,
cm
.
mtg
,
cm
.
mop
,
CATEGORY_POSITION
)
local
e6
,
e7
=
Suyu_constel
.
effect
(
c
,
m
,
3
,
LOCATION_MZONE
,
cm
.
mtg
,
cm
.
mop
,
CATEGORY_POSITION
,
EFFECT_FLAG_CARD_TARGET
)
end
function
cm
.
drcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
==
0
and
Duel
.
CheckLPCost
(
tp
,
1000
)
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