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
Soulgamer
ygopro-222DIY-cards
Commits
f59203b3
Commit
f59203b3
authored
Oct 30, 2023
by
REIKAI
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix conflict
parent
b7158828
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
22 deletions
+5
-22
expansions/script/c77765002.lua
expansions/script/c77765002.lua
+3
-7
expansions/script/c77765004.lua
expansions/script/c77765004.lua
+1
-5
expansions/script/c77765007.lua
expansions/script/c77765007.lua
+1
-10
No files found.
expansions/script/c77765002.lua
View file @
f59203b3
...
@@ -14,18 +14,18 @@ function c77765002.initial_effect(c)
...
@@ -14,18 +14,18 @@ function c77765002.initial_effect(c)
--
--
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
)
e1
:
SetRange
(
LOCATION_FZONE
)
e1
:
SetRange
(
LOCATION_FZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetTarget
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e1
:
SetTarget
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
,
tp
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c77765002
.
filter1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
,
tp
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c77765002
.
filter1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
LOCATION_DECK
+
LOCATION_HAND
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
LOCATION_DECK
+
LOCATION_HAND
,
tp
)
end
)
end
)
e1
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e1
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
,
tp
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
,
tp
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c77765002
.
filter1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c77765002
.
filter1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
)
if
#
g
==
0
then
return
end
if
#
g
==
0
then
return
end
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
local
sc
=
g
:
GetFirst
()
local
sc
=
g
:
GetFirst
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
...
@@ -58,11 +58,7 @@ function c77765002.initial_effect(c)
...
@@ -58,11 +58,7 @@ function c77765002.initial_effect(c)
local
tc
=
Duel
.
CreateToken
(
tp
,
code
)
local
tc
=
Duel
.
CreateToken
(
tp
,
code
)
Duel
.
DisableActionCheck
(
false
)
Duel
.
DisableActionCheck
(
false
)
if
tc
then
if
tc
then
<<<<<<<
HEAD
return
c
:
IsFaceup
()
and
c
:
IsCode
(
77765001
)
and
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
)
>
0
--and tc:CheckEquipTarget(c)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
77765001
)
and
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
)
>
0
--and tc:CheckEquipTarget(c)
=======
return
c
:
IsFaceup
()
and
c
:
IsCode
(
77765001
)
and
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
)
>
0
and
tc
:
CheckEquipTarget
(
c
)
>>>>>>>
e8817f1011ef690e10f70938650b5ef260ef8722
else
else
return
false
return
false
end
end
...
...
expansions/script/c77765004.lua
View file @
f59203b3
...
@@ -34,7 +34,7 @@ function cm.initial_effect(c)
...
@@ -34,7 +34,7 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
--e1:SetCode(EVENT_FREE_CHAIN)
--e1:SetCode(EVENT_FREE_CHAIN)
--e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER)
--e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetTarget
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e1
:
SetTarget
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
@@ -75,11 +75,7 @@ function cm.initial_effect(c)
...
@@ -75,11 +75,7 @@ function cm.initial_effect(c)
local
tc
=
Duel
.
CreateToken
(
tp
,
code
)
local
tc
=
Duel
.
CreateToken
(
tp
,
code
)
Duel
.
DisableActionCheck
(
false
)
Duel
.
DisableActionCheck
(
false
)
if
tc
then
if
tc
then
<<<<<<<
HEAD
return
c
:
IsFaceup
()
and
c
:
IsCode
(
77765001
)
and
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
)
>
0
--and tc:CheckEquipTarget(c)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
77765001
)
and
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
)
>
0
--and tc:CheckEquipTarget(c)
=======
return
c
:
IsFaceup
()
and
c
:
IsCode
(
77765001
)
and
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
)
>
0
and
tc
:
CheckEquipTarget
(
c
)
>>>>>>>
e8817f1011ef690e10f70938650b5ef260ef8722
else
else
return
false
return
false
end
end
...
...
expansions/script/c77765007.lua
View file @
f59203b3
...
@@ -13,21 +13,13 @@ function cm.initial_effect(c)
...
@@ -13,21 +13,13 @@ function cm.initial_effect(c)
local
tc
=
Duel
.
CreateToken
(
tp
,
code
)
local
tc
=
Duel
.
CreateToken
(
tp
,
code
)
Duel
.
DisableActionCheck
(
false
)
Duel
.
DisableActionCheck
(
false
)
if
tc
then
if
tc
then
<<<<<<<
HEAD
return
c
:
IsFaceup
()
and
c
:
IsCode
(
77765001
)
and
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
)
>
0
--and tc:CheckEquipTarget(c)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
77765001
)
and
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
)
>
0
--and tc:CheckEquipTarget(c)
else
else
return
false
return
false
end
end
=======
return
c
:
IsFaceup
()
and
c
:
IsCode
(
77765001
)
and
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
)
>
0
and
tc
:
CheckEquipTarget
(
c
)
else
return
false
end
return
c
:
IsFaceup
()
and
c
:
IsCode
(
77765001
)
and
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
)
>
0
and
tc
:
CheckEquipTarget
(
c
)
and
(
cc
:
IsControler
(
c
:
GetControler
())
or
c
:
IsAbleToChangeControler
())
>>>>>>>
e8817f1011ef690e10f70938650b5ef260ef8722
end
end
local
function
DifficultyFilter
(
c
,
e
,
tp
)
local
function
DifficultyFilter
(
c
,
e
,
tp
)
return
Kaguya
.
IsDifficulty
(
c
)
and
c
:
IsFaceup
()
and
c
and
Duel
.
IsExistingMatchingCard
(
KaguyaFilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
,
c
)
return
Kaguya
.
IsDifficulty
(
c
)
and
c
:
IsFaceup
()
and
Senya
.
IsDFCTransformable
(
c
)
and
Duel
.
IsExistingMatchingCard
(
KaguyaFilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
,
c
)
end
end
local
target_list
=
{
local
target_list
=
{
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -106,7 +98,6 @@ function cm.initial_effect(c)
...
@@ -106,7 +98,6 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCondition
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e1
:
SetCondition
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
function
(
c
)
return
Duel
.
IsExistingMatchingCard
(
function
(
c
)
return
Kaguya
.
IsDifficulty
(
c
)
and
c
:
IsFaceup
()
return
Kaguya
.
IsDifficulty
(
c
)
and
c
:
IsFaceup
()
...
...
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