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
6d063259
Commit
6d063259
authored
Dec 16, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
y1s1qs
parent
c6dcc1ab
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
expansions/script/c33310350.lua
expansions/script/c33310350.lua
+2
-5
expansions/script/c33310351.lua
expansions/script/c33310351.lua
+3
-2
expansions/script/c33310375.lua
expansions/script/c33310375.lua
+3
-2
No files found.
expansions/script/c33310350.lua
View file @
6d063259
...
...
@@ -77,7 +77,7 @@ function cm.regop(e,tp,eg)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetValue
(
cm
.
efilter
)
e2
:
SetCondition
(
cm
.
con1
)
--
e2:SetCondition(cm.con1)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
end
...
...
@@ -99,10 +99,7 @@ function cm.regop(e,tp,eg)
end
end
function
cm
.
efilter
(
e
,
re
)
return
e
:
GetOwnerPlayer
()
~=
re
:
GetOwnerPlayer
()
end
function
cm
.
con1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
e
:
GetHandlerPlayer
()
return
Duel
.
GetTurnPlayer
()
==
e
:
GetHandlerPlayer
()
and
e
:
GetOwnerPlayer
()
~=
re
:
GetOwnerPlayer
()
end
function
cm
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
33310351
,
33310375
)
...
...
expansions/script/c33310351.lua
View file @
6d063259
...
...
@@ -78,9 +78,10 @@ end
function
cm
.
psop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_MZONE
)
local
sg
=
Duel
.
GetMatchingGroup
(
cm
.
psfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
if
#
sg
>
0
and
Duel
.
ChangePosition
(
sg
,
POS_FACEUP_DEFENSE
)
>
0
then
if
#
sg
>
0
then
--and Duel.ChangePosition(sg,POS_FACEUP_DEFENSE)>0 then
Duel
.
ChangePosition
(
sg
,
POS_FACEUP_DEFENSE
)
local
og
=
Duel
.
GetOperatedGroup
()
local
tg
=
g
-
og
local
tg
=
g
-
og
if
#
tg
>
0
then
Duel
.
BreakEffect
()
Duel
.
SendtoGrave
(
tg
,
REASON_RULE
)
...
...
expansions/script/c33310375.lua
View file @
6d063259
...
...
@@ -63,7 +63,7 @@ function cm.pstg(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
psfilter0
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
cm
.
psfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
tg
=
g
-
sg
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
psfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
psfilter
0
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
#
tg
>
0
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
tg
,
#
tg
,
0
,
0
)
end
...
...
@@ -71,7 +71,8 @@ end
function
cm
.
psop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
psfilter0
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
cm
.
psfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
#
sg
>
0
and
Duel
.
ChangePosition
(
sg
,
POS_FACEDOWN_DEFENSE
)
>
0
then
if
#
sg
>
0
then
--and Duel.ChangePosition(sg,POS_FACEDOWN_DEFENSE)>0 then
Duel
.
ChangePosition
(
sg
,
POS_FACEDOWN_DEFENSE
)
local
og
=
Duel
.
GetOperatedGroup
()
Duel
.
RaiseEvent
(
og
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
local
tg
=
g
-
og
...
...
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