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
7443f64d
Commit
7443f64d
authored
Sep 26, 2019
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua and cdb fix
parent
18f72f56
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c33400018.lua
expansions/script/c33400018.lua
+1
-1
expansions/script/c81018023.lua
expansions/script/c81018023.lua
+2
-3
No files found.
expansions/222DIY.cdb
View file @
7443f64d
No preview for this file type
expansions/script/c33400018.lua
View file @
7443f64d
...
@@ -30,7 +30,7 @@ function c33400018.initial_effect(c)
...
@@ -30,7 +30,7 @@ function c33400018.initial_effect(c)
e2
:
SetOperation
(
c33400018
.
addc
)
e2
:
SetOperation
(
c33400018
.
addc
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
Duel
.
AddCustomActivityCounter
(
33400018
,
ACTIVITY_SPSUMMON
,
c33400018
.
counterfilter
)
Duel
.
AddCustomActivityCounter
(
33400018
,
ACTIVITY_SPSUMMON
,
c33400018
.
counterfilter
)
local
e3
=
e
1
:
Clone
()
local
e3
=
e
2
:
Clone
()
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--to hand
--to hand
...
...
expansions/script/c81018023.lua
View file @
7443f64d
...
@@ -7,9 +7,8 @@ function c81018023.initial_effect(c)
...
@@ -7,9 +7,8 @@ function c81018023.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_BATTLE_DAMAGE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCode
(
EVENT_DAMAGE
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCountLimit
(
1
,
81018023
)
e1
:
SetCountLimit
(
1
,
81018023
)
e1
:
SetCondition
(
c81018023
.
sumcon
)
e1
:
SetCondition
(
c81018023
.
sumcon
)
e1
:
SetTarget
(
c81018023
.
sumtg
)
e1
:
SetTarget
(
c81018023
.
sumtg
)
...
@@ -40,7 +39,7 @@ function c81018023.initial_effect(c)
...
@@ -40,7 +39,7 @@ function c81018023.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c81018023
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c81018023
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
and
ep
~=
tp
return
ep
~=
tp
end
end
function
c81018023
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c81018023
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
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