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
840ac897
Commit
840ac897
authored
Mar 01, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybb
parent
5e7f0de2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
expansions/script/c37901004.lua
expansions/script/c37901004.lua
+2
-2
expansions/script/c81048004.lua
expansions/script/c81048004.lua
+2
-1
No files found.
expansions/script/c37901004.lua
View file @
840ac897
...
@@ -93,8 +93,8 @@ function cm.cf1(c)
...
@@ -93,8 +93,8 @@ function cm.cf1(c)
end
end
--e2
--e2
function
cm
.
tf2
(
c
)
function
cm
.
tf2
(
c
)
return
c
:
IsSetCard
(
0x388
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0x388
)
and
c
:
IsAbleToGrave
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
cm
.
tf3
(
c
,
tc
)
function
cm
.
tf3
(
c
,
tc
)
return
c
:
IsSetCard
(
0x388
)
and
c
:
IsAbleToHand
()
and
c
:
IsCode
(
tc
)
return
c
:
IsSetCard
(
0x388
)
and
c
:
IsAbleToHand
()
and
c
:
IsCode
(
tc
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
\ No newline at end of file
expansions/script/c81048004.lua
View file @
840ac897
...
@@ -50,6 +50,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -50,6 +50,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
chkf
=
tp
local
chkf
=
tp
local
mg1
=
Duel
.
GetMatchingGroup
(
cm
.
filter1
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
)
local
mg1
=
Duel
.
GetMatchingGroup
(
cm
.
filter1
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
)
local
sg1
=
Duel
.
GetMatchingGroup
(
cm
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
sg1
=
Duel
.
GetMatchingGroup
(
cm
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
...
@@ -82,7 +83,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -82,7 +83,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
fid
=
c
:
GetFieldID
()
local
fid
=
c
:
GetFieldID
()
tc
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
fid
)
tc
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
fid
)
tc
:
CompleteProcedure
()
tc
:
CompleteProcedure
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_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