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
d2f589a9
You need to sign in or sign up before continuing.
Commit
d2f589a9
authored
Sep 06, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wadashimo
parent
e3ace390
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
expansions/script/c12034000.lua
expansions/script/c12034000.lua
+3
-2
expansions/script/c30556006.lua
expansions/script/c30556006.lua
+1
-1
expansions/script/c30556007.lua
expansions/script/c30556007.lua
+1
-1
expansions/script/c30556008.lua
expansions/script/c30556008.lua
+1
-1
No files found.
expansions/script/c12034000.lua
View file @
d2f589a9
...
@@ -23,6 +23,7 @@ function sr_kmmm.load_metatable(code)
...
@@ -23,6 +23,7 @@ function sr_kmmm.load_metatable(code)
end
end
function
sr_kmmm
.
limitcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
sr_kmmm
.
limitcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
phase
=
Duel
.
GetCurrentPhase
()
local
phase
=
Duel
.
GetCurrentPhase
()
local
tp
=
e
:
GetHandler
():
GetControler
()
return
Duel
.
GetTurnPlayer
()
==
tp
or
(
Duel
.
GetFlagEffect
(
tp
,
12034010
)
>
0
and
ph
==
PHASE_MAIN1
)
return
Duel
.
GetTurnPlayer
()
==
tp
or
(
Duel
.
GetFlagEffect
(
tp
,
12034010
)
>
0
and
ph
==
PHASE_MAIN1
)
end
end
function
sr_kmmm
.
fusion_effect
(
c
,
m
,
des
)
function
sr_kmmm
.
fusion_effect
(
c
,
m
,
des
)
...
@@ -111,7 +112,7 @@ function sr_kmmm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -111,7 +112,7 @@ function sr_kmmm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
res
=
Duel
.
IsExistingMatchingCard
(
sr_kmmm
.
spfilter1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg4
,
mf
,
chkf
)
res
=
Duel
.
IsExistingMatchingCard
(
sr_kmmm
.
spfilter1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg4
,
mf
,
chkf
)
end
end
end
end
return
(
(
c
:
IsCode
(
12034001
)
and
b2
)
or
res
)
and
(
(
c
:
IsCode
(
12034000
)
and
b1
)
or
not
c
:
IsCode
(
12034000
))
return
(
(
c
:
IsCode
(
12034001
)
and
b2
)
or
res
)
and
(
(
c
:
IsCode
(
12034000
)
and
b1
)
or
not
c
:
IsCode
(
12034000
))
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
0
,
LOCATION_MZONE
+
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
0
,
LOCATION_MZONE
+
LOCATION_HAND
)
...
@@ -294,4 +295,4 @@ function cm.ex_effect_operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -294,4 +295,4 @@ function cm.ex_effect_operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
RACE_ALL
)
e1
:
SetValue
(
RACE_ALL
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
end
end
\ No newline at end of file
expansions/script/c30556006.lua
View file @
d2f589a9
...
@@ -20,7 +20,7 @@ function c30556006.initial_effect(c)
...
@@ -20,7 +20,7 @@ function c30556006.initial_effect(c)
e4
:
SetCategory
(
CATEGORY_DAMAGE
+
CATEGORY_TOGRAVE
)
e4
:
SetCategory
(
CATEGORY_DAMAGE
+
CATEGORY_TOGRAVE
)
e4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_
DESTROY
)
e4
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e4
:
SetTarget
(
c30556006
.
damtg
)
e4
:
SetTarget
(
c30556006
.
damtg
)
e4
:
SetOperation
(
c30556006
.
damop
)
e4
:
SetOperation
(
c30556006
.
damop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
...
...
expansions/script/c30556007.lua
View file @
d2f589a9
...
@@ -20,7 +20,7 @@ function c30556007.initial_effect(c)
...
@@ -20,7 +20,7 @@ function c30556007.initial_effect(c)
e4
:
SetCategory
(
CATEGORY_DAMAGE
+
CATEGORY_TOGRAVE
)
e4
:
SetCategory
(
CATEGORY_DAMAGE
+
CATEGORY_TOGRAVE
)
e4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_
DESTROY
)
e4
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e4
:
SetTarget
(
c30556007
.
damtg
)
e4
:
SetTarget
(
c30556007
.
damtg
)
e4
:
SetOperation
(
c30556007
.
damop
)
e4
:
SetOperation
(
c30556007
.
damop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
...
...
expansions/script/c30556008.lua
View file @
d2f589a9
...
@@ -17,7 +17,7 @@ function c30556008.initial_effect(c)
...
@@ -17,7 +17,7 @@ function c30556008.initial_effect(c)
e4
:
SetCategory
(
CATEGORY_DAMAGE
)
e4
:
SetCategory
(
CATEGORY_DAMAGE
)
e4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_
DESTROY
)
e4
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e4
:
SetTarget
(
c30556008
.
damtg
)
e4
:
SetTarget
(
c30556008
.
damtg
)
e4
:
SetOperation
(
c30556008
.
damop
)
e4
:
SetOperation
(
c30556008
.
damop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
...
...
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