Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-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
GuGu
ygopro-THC-cards
Commits
092c65d9
Commit
092c65d9
authored
Mar 05, 2022
by
tsubaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.999zy fix3
parent
486a2e06
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
expansions/script/nef/TheElementTheory.lua
expansions/script/nef/TheElementTheory.lua
+12
-12
script/c50501.lua
script/c50501.lua
+3
-3
No files found.
expansions/script/nef/TheElementTheory.lua
View file @
092c65d9
...
@@ -121,14 +121,14 @@ if not TET.ELCounter then
...
@@ -121,14 +121,14 @@ if not TET.ELCounter then
if
code
==
Electro
then
if
code
==
Electro
then
Duel
.
Hint
(
HINT_CARD
,
0
,
50704
)
Duel
.
Hint
(
HINT_CARD
,
0
,
50704
)
count
=
count
-
num
count
=
count
-
num
local
gh
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
):
RandomSelect
(
tp
,
1
)
local
gd
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
):
RandomSelect
(
tp
,
1
)
if
eh
<
Mystery
then
if
eh
<
Mystery
then
local
gh
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
):
RandomSelect
(
tp
,
1
)
local
gd
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
):
RandomSelect
(
tp
,
1
)
gd
:
Merge
(
gh
)
gd
:
Merge
(
gh
)
end
Duel
.
RegisterFlagEffect
(
tp
,
50429
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
50429
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
Duel
.
SendtoGrave
(
gd
,
REASON_EFFECT
)
>
0
then
if
Duel
.
SendtoGrave
(
gd
,
REASON_EFFECT
)
>
0
then
Duel
.
Damage
(
tp
,
Mystery
*
400
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
Mystery
*
400
,
REASON_EFFECT
)
end
end
end
end
end
--冻结
--冻结
...
@@ -189,14 +189,14 @@ if not TET.ELCounter then
...
@@ -189,14 +189,14 @@ if not TET.ELCounter then
if
code
==
Hydro
then
if
code
==
Hydro
then
Duel
.
Hint
(
HINT_CARD
,
0
,
50704
)
Duel
.
Hint
(
HINT_CARD
,
0
,
50704
)
count
=
count
-
num
count
=
count
-
num
local
gh
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
):
RandomSelect
(
tp
,
1
)
local
gd
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
):
RandomSelect
(
tp
,
1
)
if
eh
<
Mystery
then
if
eh
<
Mystery
then
local
gh
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
):
RandomSelect
(
tp
,
1
)
local
gd
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
):
RandomSelect
(
tp
,
1
)
gd
:
Merge
(
gh
)
gd
:
Merge
(
gh
)
end
Duel
.
RegisterFlagEffect
(
tp
,
50429
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
50429
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
Duel
.
SendtoGrave
(
gd
,
REASON_EFFECT
)
>
0
then
if
Duel
.
SendtoGrave
(
gd
,
REASON_EFFECT
)
>
0
then
Duel
.
Damage
(
tp
,
Mystery
*
400
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
Mystery
*
400
,
REASON_EFFECT
)
end
end
end
end
end
--超导
--超导
...
...
script/c50501.lua
View file @
092c65d9
...
@@ -34,11 +34,11 @@ function c50501.initial_effect(c)
...
@@ -34,11 +34,11 @@ function c50501.initial_effect(c)
e3
:
SetOperation
(
c50501
.
operation3
)
e3
:
SetOperation
(
c50501
.
operation3
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c50
1
01
.
filter
(
c
)
function
c50
5
01
.
filter
(
c
)
return
c
:
IsSetCard
(
0x250
)
return
c
:
IsSetCard
(
0x250
)
end
end
function
c50
1
01
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c50
5
01
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c50
1
01
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c50
5
01
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
return
g
:
GetClassCount
(
Card
.
GetOriginalCode
)
>
3
return
g
:
GetClassCount
(
Card
.
GetOriginalCode
)
>
3
end
end
function
c50501
.
spfilter4
(
c
,
e
,
tp
)
function
c50501
.
spfilter4
(
c
,
e
,
tp
)
...
...
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