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
cb9a1807
Commit
cb9a1807
authored
Jun 06, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nmbd
parent
b94ad0c8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
expansions/script/c16130001.lua
expansions/script/c16130001.lua
+3
-2
expansions/script/c16130010.lua
expansions/script/c16130010.lua
+3
-3
expansions/script/c81005011.lua
expansions/script/c81005011.lua
+1
-1
No files found.
expansions/script/c16130001.lua
View file @
cb9a1807
...
...
@@ -67,11 +67,12 @@ function cm.sfilter(c)
return
c
:
IsRace
(
RACE_ZOMBIE
)
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
end
function
cm
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
re
:
GetHandler
():
IsAbleToHand
()
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
g1
=
Duel
.
GetFieldGroup
(
1
-
tp
,
LOCATION_HAND
,
0
)
local
rc
=
re
:
GetHandler
()
if
rc
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
then
rc
:
CancelToGrave
()
end
if
not
re
:
IsActiveType
(
TYPE_MONSTER
)
then
rc
:
CancelToGrave
()
if
not
rc
:
IsAbleToHand
()
then
Duel
.
SendtoGrave
(
rc
,
REASON_RULE
)
end
end
if
Duel
.
SendtoHand
(
eg
,
tp
,
REASON_EFFECT
)
==
0
then
return
end
local
og
=
Duel
.
GetOperatedGroup
()
local
tc
=
og
:
GetFirst
()
...
...
expansions/script/c16130010.lua
View file @
cb9a1807
...
...
@@ -8,8 +8,8 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
m
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetTarget
(
cm
.
atarget
)
e1
:
SetOperation
(
cm
.
aop
)
e1
:
SetTarget
(
cm
.
sptg1
)
e1
:
SetOperation
(
cm
.
spop1
)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
spfilter1
(
c
,
e
,
tp
)
...
...
@@ -80,4 +80,4 @@ end
function
cm
.
crtg1
(
e
,
c
)
local
race
=
e
:
GetLabel
()
return
c
:
IsRace
(
race
)
end
\ No newline at end of file
end
\ No newline at end of file
expansions/script/c81005011.lua
View file @
cb9a1807
...
...
@@ -5,7 +5,7 @@ Duel.LoadScript("c81000000.lua")
function
cm
.
initial_effect
(
c
)
--special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_
SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_
TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
m
+
EFFECT_COUNT_CODE_OATH
)
...
...
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