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
334038ef
Commit
334038ef
authored
Apr 27, 2022
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix element theory
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
58bab7be
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
expansions/script/nef/TheElementTheory.lua
expansions/script/nef/TheElementTheory.lua
+7
-7
No files found.
expansions/script/nef/TheElementTheory.lua
View file @
334038ef
...
@@ -42,7 +42,7 @@ if not TET.ELCounter then
...
@@ -42,7 +42,7 @@ if not TET.ELCounter then
if
count
>
5
then
count
=
5
end
if
count
>
5
then
count
=
5
end
if
genso
==
Geo
and
count
>
3
then
count
=
3
end
if
genso
==
Geo
and
count
>
3
then
count
=
3
end
--火为底
--火为底
elseif
genso
==
Pyro
then
elseif
genso
==
Pyro
and
count
>
0
then
--蒸发
--蒸发
if
code
==
Hydro
then
if
code
==
Hydro
then
Duel
.
Hint
(
HINT_CARD
,
0
,
50701
)
Duel
.
Hint
(
HINT_CARD
,
0
,
50701
)
...
@@ -99,7 +99,7 @@ if not TET.ELCounter then
...
@@ -99,7 +99,7 @@ if not TET.ELCounter then
TET
.
crystal
(
ze
,
tp
,
Mystery
)
TET
.
crystal
(
ze
,
tp
,
Mystery
)
end
end
--水为底
--水为底
elseif
genso
==
Hydro
then
elseif
genso
==
Hydro
and
count
>
0
then
--蒸发
--蒸发
if
code
==
Pyro
then
if
code
==
Pyro
then
Duel
.
Hint
(
HINT_CARD
,
0
,
50701
)
Duel
.
Hint
(
HINT_CARD
,
0
,
50701
)
...
@@ -136,7 +136,7 @@ if not TET.ELCounter then
...
@@ -136,7 +136,7 @@ if not TET.ELCounter then
Duel
.
Hint
(
HINT_CARD
,
0
,
50705
)
Duel
.
Hint
(
HINT_CARD
,
0
,
50705
)
count
=
count
-
num
count
=
count
-
num
local
cc
=
te
:
GetHandler
()
local
cc
=
te
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_
ONFIELD
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_
MZONE
,
0
,
nil
)
local
gm
=
Mystery
local
gm
=
Mystery
while
gm
>
0
and
g
:
GetCount
()
>
0
do
while
gm
>
0
and
g
:
GetCount
()
>
0
do
local
tc
=
g
:
RandomSelect
(
tp
,
1
):
GetFirst
()
local
tc
=
g
:
RandomSelect
(
tp
,
1
):
GetFirst
()
...
@@ -174,7 +174,7 @@ if not TET.ELCounter then
...
@@ -174,7 +174,7 @@ if not TET.ELCounter then
TET
.
crystal
(
ze
,
tp
,
Mystery
)
TET
.
crystal
(
ze
,
tp
,
Mystery
)
end
end
--雷为底
--雷为底
elseif
genso
==
Electro
then
elseif
genso
==
Electro
and
count
>
0
then
--超载
--超载
if
code
==
Pyro
then
if
code
==
Pyro
then
Duel
.
Hint
(
HINT_CARD
,
0
,
50702
)
Duel
.
Hint
(
HINT_CARD
,
0
,
50702
)
...
@@ -230,7 +230,7 @@ if not TET.ELCounter then
...
@@ -230,7 +230,7 @@ if not TET.ELCounter then
TET
.
crystal
(
ze
,
tp
,
Mystery
)
TET
.
crystal
(
ze
,
tp
,
Mystery
)
end
end
--冰为底
--冰为底
elseif
genso
==
Cyro
then
elseif
genso
==
Cyro
and
count
>
0
then
--融化
--融化
if
code
==
Pyro
then
if
code
==
Pyro
then
Duel
.
Hint
(
HINT_CARD
,
0
,
50703
)
Duel
.
Hint
(
HINT_CARD
,
0
,
50703
)
...
@@ -253,7 +253,7 @@ if not TET.ELCounter then
...
@@ -253,7 +253,7 @@ if not TET.ELCounter then
Duel
.
Hint
(
HINT_CARD
,
0
,
50705
)
Duel
.
Hint
(
HINT_CARD
,
0
,
50705
)
count
=
count
-
num
count
=
count
-
num
local
cc
=
te
:
GetHandler
()
local
cc
=
te
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_
ONFIELD
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_
MZONE
,
0
,
nil
)
local
gm
=
Mystery
local
gm
=
Mystery
while
gm
>
0
and
g
:
GetCount
()
>
0
do
while
gm
>
0
and
g
:
GetCount
()
>
0
do
local
tc
=
g
:
RandomSelect
(
tp
,
1
):
GetFirst
()
local
tc
=
g
:
RandomSelect
(
tp
,
1
):
GetFirst
()
...
@@ -310,7 +310,7 @@ if not TET.ELCounter then
...
@@ -310,7 +310,7 @@ if not TET.ELCounter then
TET
.
crystal
(
ze
,
tp
,
Mystery
)
TET
.
crystal
(
ze
,
tp
,
Mystery
)
end
end
--岩为底
--岩为底
elseif
genso
==
Geo
then
elseif
genso
==
Geo
and
count
>
0
then
--结晶
--结晶
if
code
~=
Anemo
then
if
code
~=
Anemo
then
count
=
count
-
num
count
=
count
-
num
...
...
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