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
6c2539e7
Commit
6c2539e7
authored
Oct 10, 2019
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lua and cdb
parent
f5c4f369
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
5 deletions
+13
-5
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c33400306.lua
expansions/script/c33400306.lua
+6
-1
expansions/script/c65050199.lua
expansions/script/c65050199.lua
+1
-1
expansions/script/c65050208.lua
expansions/script/c65050208.lua
+1
-1
expansions/script/c81000000.lua
expansions/script/c81000000.lua
+5
-2
No files found.
expansions/222DIY.cdb
View file @
6c2539e7
No preview for this file type
expansions/script/c33400306.lua
View file @
6c2539e7
...
@@ -36,7 +36,7 @@ function c33400306.initial_effect(c)
...
@@ -36,7 +36,7 @@ function c33400306.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e4
:
SetCode
(
EVENT_TO_GRAVE
)
e4
:
SetCode
(
EVENT_TO_GRAVE
)
e4
:
SetCondition
(
c33400306
.
indcon
)
e4
:
SetCondition
(
c33400306
.
indcon
2
)
e4
:
SetTarget
(
c33400306
.
adtg
)
e4
:
SetTarget
(
c33400306
.
adtg
)
e4
:
SetOperation
(
c33400306
.
adop
)
e4
:
SetOperation
(
c33400306
.
adop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
...
@@ -45,6 +45,11 @@ function c33400306.mfilter(c)
...
@@ -45,6 +45,11 @@ function c33400306.mfilter(c)
return
not
c
:
IsType
(
TYPE_RITUAL
)
return
not
c
:
IsType
(
TYPE_RITUAL
)
end
end
function
c33400306
.
indcon
(
e
)
function
c33400306
.
indcon
(
e
)
local
c
=
e
:
GetHandler
()
local
mg
=
c
:
GetMaterial
()
return
c
:
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
and
mg
:
GetCount
()
>
0
and
not
mg
:
IsExists
(
c33400306
.
mfilter
,
1
,
nil
)
end
function
c33400306
.
indcon2
(
e
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
mg
=
c
:
GetMaterial
()
local
mg
=
c
:
GetMaterial
()
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
and
mg
:
GetCount
()
>
0
and
not
mg
:
IsExists
(
c33400306
.
mfilter
,
1
,
nil
)
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
and
mg
:
GetCount
()
>
0
and
not
mg
:
IsExists
(
c33400306
.
mfilter
,
1
,
nil
)
...
...
expansions/script/c65050199.lua
View file @
6c2539e7
...
@@ -28,7 +28,7 @@ function c65050199.initial_effect(c)
...
@@ -28,7 +28,7 @@ function c65050199.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCountLimit
(
1
+
EFFECT_COUNT_CODE_SINGLE
)
e3
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e3
:
SetCondition
(
c65050199
.
con1
)
e3
:
SetCondition
(
c65050199
.
con1
)
e3
:
SetTarget
(
c65050199
.
tg
)
e3
:
SetTarget
(
c65050199
.
tg
)
e3
:
SetOperation
(
c65050199
.
op
)
e3
:
SetOperation
(
c65050199
.
op
)
...
...
expansions/script/c65050208.lua
View file @
6c2539e7
...
@@ -36,7 +36,7 @@ function c65050208.initial_effect(c)
...
@@ -36,7 +36,7 @@ function c65050208.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCountLimit
(
1
+
EFFECT_COUNT_CODE_SINGLE
)
e3
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e3
:
SetCondition
(
c65050208
.
con1
)
e3
:
SetCondition
(
c65050208
.
con1
)
e3
:
SetTarget
(
c65050208
.
tg
)
e3
:
SetTarget
(
c65050208
.
tg
)
e3
:
SetOperation
(
c65050208
.
op
)
e3
:
SetOperation
(
c65050208
.
op
)
...
...
expansions/script/c81000000.lua
View file @
6c2539e7
...
@@ -23,8 +23,11 @@ end
...
@@ -23,8 +23,11 @@ end
--Reika effect condition
--Reika effect condition
function
Tenka
.
ReikaCon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
Tenka
.
ReikaCon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tp
=
e
:
GetHandlerPlayer
()
local
tp
=
e
:
GetHandlerPlayer
()
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
81015050
)
then
return
true
else
for
i
=
0
,
4
do
for
i
=
0
,
4
do
if
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
i
)
then
return
false
end
if
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
i
)
then
return
false
end
end
end
end
return
true
return
true
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