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
Ai
ygopro-222DIY-cards
Commits
5a7adcac
Commit
5a7adcac
authored
Jul 18, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fnmdp
parent
3f5a7398
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c81005063.lua
expansions/script/c81005063.lua
+4
-2
No files found.
expansions/222DIY.cdb
View file @
5a7adcac
No preview for this file type
expansions/script/c81005063.lua
View file @
5a7adcac
...
@@ -19,7 +19,6 @@ function cm.initial_effect(c)
...
@@ -19,7 +19,6 @@ function cm.initial_effect(c)
e4
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e4
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
,
m
)
e4
:
SetCountLimit
(
1
,
m
)
e4
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
e4
:
SetCondition
(
cm
.
descon1
)
e4
:
SetCondition
(
cm
.
descon1
)
e4
:
SetCost
(
cm
.
atkcost
)
e4
:
SetCost
(
cm
.
atkcost
)
e4
:
SetTarget
(
cm
.
atktg
)
e4
:
SetTarget
(
cm
.
atktg
)
...
@@ -28,6 +27,7 @@ function cm.initial_effect(c)
...
@@ -28,6 +27,7 @@ function cm.initial_effect(c)
local
e5
=
e4
:
Clone
()
local
e5
=
e4
:
Clone
()
e5
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e5
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e5
:
SetCode
(
EVENT_FREE_CHAIN
)
e5
:
SetCode
(
EVENT_FREE_CHAIN
)
e5
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
e5
:
SetCondition
(
cm
.
descon2
)
e5
:
SetCondition
(
cm
.
descon2
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
...
@@ -37,13 +37,15 @@ end
...
@@ -37,13 +37,15 @@ end
function
cm
.
val
(
e
,
c
)
function
cm
.
val
(
e
,
c
)
return
Duel
.
GetMatchingGroup
(
cm
.
atkfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
):
GetClassCount
(
Card
.
GetCode
)
*
300
return
Duel
.
GetMatchingGroup
(
cm
.
atkfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
):
GetClassCount
(
Card
.
GetCode
)
*
300
end
end
function
cm
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_CONTINUOUS
)
and
c
:
IsType
(
TYPE_TRAP
)
end
function
cm
.
descon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
descon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
return
not
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
end
function
cm
.
descon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
descon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
aux
.
dscon
()
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
aux
.
dscon
()
end
end
function
cm
.
atkfilter1
(
c
,
tp
)
function
cm
.
atkfilter1
(
c
,
tp
)
return
c
:
GetBaseAttack
()
>
0
and
Duel
.
IsExistingTarget
(
cm
.
atkfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
)
return
c
:
GetBaseAttack
()
>
0
and
Duel
.
IsExistingTarget
(
cm
.
atkfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
)
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