Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
Reinen
ygopro-scripts
Commits
acc5b1d1
Commit
acc5b1d1
authored
Apr 02, 2020
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update E・HERO ストーム・ネオス and E・HERO マグマ・ネオス
use EVENT_TO_DECK directly
parent
ea577548
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
c49352945.lua
c49352945.lua
+7
-4
c78512663.lua
c78512663.lua
+7
-4
No files found.
c49352945.lua
View file @
acc5b1d1
...
@@ -43,10 +43,13 @@ function c49352945.initial_effect(c)
...
@@ -43,10 +43,13 @@ function c49352945.initial_effect(c)
e6
:
SetDescription
(
aux
.
Stringid
(
49352945
,
2
))
e6
:
SetDescription
(
aux
.
Stringid
(
49352945
,
2
))
e6
:
SetCategory
(
CATEGORY_TODECK
)
e6
:
SetCategory
(
CATEGORY_TODECK
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e6
:
SetCode
(
EVENT_CUSTOM
+
49352945
)
e6
:
SetCode
(
EVENT_TO_DECK
)
e6
:
SetCondition
(
c49352945
.
tdcon
)
e6
:
SetTarget
(
c49352945
.
tdtg
)
e6
:
SetTarget
(
c49352945
.
tdtg
)
e6
:
SetOperation
(
c49352945
.
tdop
)
e6
:
SetOperation
(
c49352945
.
tdop
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
e3
:
SetLabelObject
(
e6
)
e4
:
SetLabelObject
(
e6
)
end
end
c49352945
.
material_setcode
=
0x8
c49352945
.
material_setcode
=
0x8
function
c49352945
.
splimit
(
e
,
se
,
sp
,
st
)
function
c49352945
.
splimit
(
e
,
se
,
sp
,
st
)
...
@@ -66,9 +69,6 @@ function c49352945.retop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,9 +69,6 @@ function c49352945.retop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_EFFECT
)
if
c
:
IsLocation
(
LOCATION_EXTRA
)
then
Duel
.
RaiseSingleEvent
(
c
,
EVENT_CUSTOM
+
49352945
,
e
,
0
,
0
,
0
,
0
)
end
end
end
function
c49352945
.
desfilter
(
c
)
function
c49352945
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
...
@@ -82,6 +82,9 @@ function c49352945.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -82,6 +82,9 @@ function c49352945.desop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
c49352945
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c49352945
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
function
c49352945
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetLabelObject
()
==
e
end
function
c49352945
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c49352945
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
...
...
c78512663.lua
View file @
acc5b1d1
...
@@ -41,10 +41,13 @@ function c78512663.initial_effect(c)
...
@@ -41,10 +41,13 @@ function c78512663.initial_effect(c)
e6
:
SetDescription
(
aux
.
Stringid
(
78512663
,
1
))
e6
:
SetDescription
(
aux
.
Stringid
(
78512663
,
1
))
e6
:
SetCategory
(
CATEGORY_TOHAND
)
e6
:
SetCategory
(
CATEGORY_TOHAND
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e6
:
SetCode
(
EVENT_CUSTOM
+
78512663
)
e6
:
SetCode
(
EVENT_TO_DECK
)
e6
:
SetCondition
(
c78512663
.
thcon
)
e6
:
SetTarget
(
c78512663
.
thtg
)
e6
:
SetTarget
(
c78512663
.
thtg
)
e6
:
SetOperation
(
c78512663
.
thop
)
e6
:
SetOperation
(
c78512663
.
thop
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
e3
:
SetLabelObject
(
e6
)
e4
:
SetLabelObject
(
e6
)
end
end
c78512663
.
material_setcode
=
0x8
c78512663
.
material_setcode
=
0x8
function
c78512663
.
splimit
(
e
,
se
,
sp
,
st
)
function
c78512663
.
splimit
(
e
,
se
,
sp
,
st
)
...
@@ -67,9 +70,9 @@ function c78512663.retop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,9 +70,9 @@ function c78512663.retop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_EFFECT
)
if
c
:
IsLocation
(
LOCATION_EXTRA
)
then
end
Duel
.
RaiseSingleEvent
(
c
,
EVENT_CUSTOM
+
78512663
,
e
,
0
,
0
,
0
,
0
)
function
c78512663
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
return
re
:
GetLabelObject
()
==
e
end
end
function
c78512663
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c78512663
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
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