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
八宫一月
ygopro-THC-cards
Commits
f6520d88
Commit
f6520d88
authored
Mar 04, 2022
by
tsubaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.999zy fix2
parent
32ee4152
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
5 deletions
+14
-5
expansions/AI.cdb
expansions/AI.cdb
+0
-0
expansions/script/nef/TheElementTheory.lua
expansions/script/nef/TheElementTheory.lua
+4
-4
expansions/thc.cdb
expansions/thc.cdb
+0
-0
script/c50216.lua
script/c50216.lua
+1
-1
script/c50501.lua
script/c50501.lua
+9
-0
No files found.
expansions/AI.cdb
View file @
f6520d88
No preview for this file type
expansions/script/nef/TheElementTheory.lua
View file @
f6520d88
...
...
@@ -123,12 +123,12 @@ if not TET.ELCounter then
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
>=
2
then
if
eh
<
Mystery
then
gd
:
Merge
(
gh
)
end
Duel
.
RegisterFlagEffect
(
tp
,
50429
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
Duel
.
SendtoGrave
(
gd
,
REASON_EFFECT
)
>
0
then
Duel
.
Damage
(
tp
,
Mystery
*
3
00
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
Mystery
*
4
00
,
REASON_EFFECT
)
end
end
--冻结
...
...
@@ -191,12 +191,12 @@ if not TET.ELCounter then
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
>=
2
then
if
eh
<
Mystery
then
gd
:
Merge
(
gh
)
end
Duel
.
RegisterFlagEffect
(
tp
,
50429
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
Duel
.
SendtoGrave
(
gd
,
REASON_EFFECT
)
>
0
then
Duel
.
Damage
(
tp
,
Mystery
*
3
00
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
Mystery
*
4
00
,
REASON_EFFECT
)
end
end
--超导
...
...
expansions/thc.cdb
View file @
f6520d88
No preview for this file type
script/c50216.lua
View file @
f6520d88
...
...
@@ -70,7 +70,7 @@ end
function
c50216
.
bop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
num
=
1
local
genso
,
count
=
TET
.
ELCounter
.
Get
(
1
-
tp
)
if
genso
==
50216
and
count
>
1
then
num
=
2
-
count
end
if
genso
==
50216
and
count
>
0
then
num
=
1
-
count
end
if
num
<
0
then
num
=
0
end
TET
.
ELCounter
.
Add
(
nil
,
1
-
tp
,
50216
,
num
,
e
)
end
script/c50501.lua
View file @
f6520d88
...
...
@@ -7,6 +7,7 @@ function c50501.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
2
,
50501
)
e1
:
SetCondition
(
c50101
.
condition
)
e1
:
SetCost
(
c50501
.
cost1
)
e1
:
SetTarget
(
c50501
.
target1
)
e1
:
SetOperation
(
c50501
.
operation1
)
...
...
@@ -17,6 +18,7 @@ function c50501.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCountLimit
(
2
,
50501
)
e2
:
SetCondition
(
c50101
.
condition
)
e2
:
SetCost
(
c50501
.
cost2
)
e2
:
SetTarget
(
c50501
.
target2
)
e2
:
SetOperation
(
c50501
.
operation2
)
...
...
@@ -32,6 +34,13 @@ function c50501.initial_effect(c)
e3
:
SetOperation
(
c50501
.
operation3
)
c
:
RegisterEffect
(
e3
)
end
function
c50101
.
filter
(
c
)
return
c
:
IsSetCard
(
0x250
)
end
function
c50101
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c50101
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
return
g
:
GetClassCount
(
Card
.
GetOriginalCode
)
>
3
end
function
c50501
.
spfilter4
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x250
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
GetLevel
()
==
4
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