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
58c5b9c4
Commit
58c5b9c4
authored
Mar 31, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
9
parent
70783699
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
expansions/script/c12025005.lua
expansions/script/c12025005.lua
+6
-2
expansions/script/c12025011.lua
expansions/script/c12025011.lua
+2
-1
No files found.
expansions/script/c12025005.lua
View file @
58c5b9c4
...
...
@@ -32,8 +32,12 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
spop2
)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
matval
(
e
,
c
,
mg
)
return
c
:
IsRace
(
RACE_REPTILE
)
function
cm
.
exmfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsCode
(
m
)
end
function
cm
.
matval
(
e
,
lc
,
mg
,
c
,
tp
)
if
not
lc
:
IsRace
(
RACE_REPTILE
)
then
return
false
,
nil
end
return
true
,
not
mg
or
not
mg
:
IsExists
(
cm
.
exmfilter
,
1
,
nil
)
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
expansions/script/c12025011.lua
View file @
58c5b9c4
...
...
@@ -37,6 +37,7 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_PRE_DAMAGE_CALCULATE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
...
...
@@ -93,7 +94,7 @@ function cm.spfilter(c,e,tp)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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