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
1
Issues
1
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
HiiragiGuardians
ygopro-THC-cards
Commits
7eba87b3
Commit
7eba87b3
authored
Jul 27, 2025
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix dots
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
a0998e51
Pipeline
#39559
passed with stage
in 1 minute and 26 seconds
Changes
21
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
465 additions
and
430 deletions
+465
-430
expansions/script/nef/dot.lua
expansions/script/nef/dot.lua
+7
-1
script/c19047.lua
script/c19047.lua
+2
-1
script/c21024.lua
script/c21024.lua
+98
-97
script/c21091.lua
script/c21091.lua
+105
-104
script/c21146.lua
script/c21146.lua
+64
-63
script/c21161.lua
script/c21161.lua
+120
-116
script/c22111.lua
script/c22111.lua
+25
-11
script/c22174.lua
script/c22174.lua
+4
-3
script/c24055.lua
script/c24055.lua
+2
-1
script/c24059.lua
script/c24059.lua
+2
-1
script/c24066.lua
script/c24066.lua
+2
-1
script/c24074.lua
script/c24074.lua
+2
-1
script/c24171.lua
script/c24171.lua
+2
-1
script/c25043.lua
script/c25043.lua
+2
-1
script/c25048.lua
script/c25048.lua
+2
-1
script/c25050.lua
script/c25050.lua
+2
-1
script/c25051.lua
script/c25051.lua
+2
-1
script/c27507.lua
script/c27507.lua
+3
-2
script/c31013.lua
script/c31013.lua
+2
-1
script/c31093.lua
script/c31093.lua
+2
-1
script/c888174.lua
script/c888174.lua
+15
-21
No files found.
expansions/script/nef/dot.lua
View file @
7eba87b3
...
...
@@ -23,7 +23,13 @@ if not DOT.DotCounter then
num1
=
num1
+
dmg1
num2
=
num2
+
dmg2
end
Debug
.
Message
(
'下一波持续伤害:'
..
num1
..
local
name
if
tp
==
0
then
name
=
'先手玩家'
else
name
=
'后手玩家'
end
Debug
.
Message
(
name
..
'下一波持续伤害:'
..
num1
..
'剩余持续伤害:'
..
num2
)
class
.
_n
[
tp
]
=
{
52001
,
num1
,
num2
}
end
...
...
script/c19047.lua
View file @
7eba87b3
...
...
@@ -86,9 +86,10 @@ function c19047.damop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabel
(
ct
)
c
:
SetTurnCounter
(
ct
)
Duel
.
Damage
(
1
-
tp
,
400
,
REASON_EFFECT
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
400
,
e
)
if
ct
==
3
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
400
,
-
400
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
400
,
e
)
end
end
end
...
...
script/c21024.lua
View file @
7eba87b3
...
...
@@ -60,9 +60,10 @@ function c21024.damop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Damage
(
tp
,
400
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
400
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
400
,
e
)
if
ct
==
3
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
400
,
-
400
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
400
,
e
)
end
end
end
...
...
script/c21091.lua
View file @
7eba87b3
...
...
@@ -58,9 +58,10 @@ function c21091.damop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Damage
(
tp
,
dam
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
dam
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
dam
,
e
)
if
ct
==
3
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
dam
,
-
dam
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
dam
,
e
)
end
end
end
...
...
script/c21146.lua
View file @
7eba87b3
...
...
@@ -55,9 +55,10 @@ function c21146.damop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabel
(
ct
)
c
:
SetTurnCounter
(
ct
)
Duel
.
Damage
(
1
-
tp
,
300
,
REASON_EFFECT
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
300
,
e
)
if
ct
==
4
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
300
,
-
300
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
300
,
e
)
end
end
end
script/c21161.lua
View file @
7eba87b3
...
...
@@ -57,6 +57,7 @@ function c21161.op(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
c21161
.
damop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
2
)
Duel
.
RegisterEffect
(
e1
,
tp
)
DOT
.
DotCounter
.
Add
(
nil
,
tp
,
0
,
400
,
800
,
e
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
400
,
800
,
e
)
end
end
...
...
@@ -70,9 +71,12 @@ function c21161.damop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Damage
(
tp
,
400
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
400
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
400
,
e
)
if
ct
==
2
then
DOT
.
DotCounter
.
Add
(
nil
,
tp
,
0
,
-
400
,
-
400
,
e
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
400
,
-
400
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
tp
,
0
,
0
,
-
400
,
e
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
400
,
e
)
end
end
end
...
...
script/c22111.lua
View file @
7eba87b3
...
...
@@ -92,10 +92,24 @@ function c22111.dmop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetLabel
(
0
)
e1
:
SetCondition
(
c24066
.
damcon
)
e1
:
SetOperation
(
c24066
.
damop
)
e1
:
SetLabel
(
0
,
rt
)
e1
:
SetOperation
(
c22111
.
damop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
7
)
Duel
.
RegisterEffect
(
e1
,
tp
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
rt
,
rt
*
7
,
e
)
end
function
c22111
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
ct
,
rt
=
e
:
GetLabel
()
if
(
ct
<
7
)
then
ct
=
ct
+
1
e
:
SetLabel
(
ct
,
rt
)
c
:
SetTurnCounter
(
ct
)
Duel
.
Damage
(
1
-
tp
,
rt
,
REASON_EFFECT
)
if
ct
==
7
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
rt
,
-
rt
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
rt
,
e
)
end
end
end
\ No newline at end of file
script/c22174.lua
View file @
7eba87b3
...
...
@@ -94,9 +94,10 @@ function c22174.damop(e,tp,eg,ep,ev,re,r,rp)
c
:
SetTurnCounter
(
ct
)
Duel
.
Hint
(
HINT_CARD
,
0
,
22174
)
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
1000
,
e
)
if
ct
==
4
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
1000
,
-
1000
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
1000
,
e
)
end
end
end
script/c24055.lua
View file @
7eba87b3
...
...
@@ -55,9 +55,10 @@ function c24055.damop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabel
(
ct
)
c
:
SetTurnCounter
(
ct
)
Duel
.
Damage
(
1
-
tp
,
300
,
REASON_EFFECT
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
300
,
e
)
if
ct
==
3
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
300
,
-
300
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
300
,
e
)
end
end
end
...
...
script/c24059.lua
View file @
7eba87b3
...
...
@@ -69,9 +69,10 @@ function c24059.damop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabel
(
ct
)
c
:
SetTurnCounter
(
ct
)
Duel
.
Damage
(
1
-
tp
,
600
,
REASON_EFFECT
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
600
,
e
)
if
ct
==
3
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
600
,
-
600
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
600
,
e
)
end
end
end
script/c24066.lua
View file @
7eba87b3
...
...
@@ -44,9 +44,10 @@ function c24066.damop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabel
(
ct
)
c
:
SetTurnCounter
(
ct
)
Duel
.
Damage
(
1
-
tp
,
300
,
REASON_EFFECT
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
300
,
e
)
if
ct
==
5
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
300
,
-
300
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
300
,
e
)
end
end
end
script/c24074.lua
View file @
7eba87b3
...
...
@@ -79,9 +79,10 @@ function c24074.damop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabel
(
ct
)
c
:
SetTurnCounter
(
ct
)
Duel
.
Damage
(
1
-
tp
,
400
,
REASON_EFFECT
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
400
,
e
)
if
ct
==
3
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
400
,
-
400
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
400
,
e
)
end
end
end
script/c24171.lua
View file @
7eba87b3
...
...
@@ -80,9 +80,10 @@ function s.damop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabel
(
ct
)
c
:
SetTurnCounter
(
ct
)
Duel
.
Damage
(
1
-
tp
,
300
,
REASON_EFFECT
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
700
,
e
)
if
ct
==
2
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
700
,
-
700
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
700
,
e
)
end
end
end
script/c25043.lua
View file @
7eba87b3
...
...
@@ -121,9 +121,10 @@ function c25043.damop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabel
(
ct
)
c
:
SetTurnCounter
(
ct
)
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
500
,
e
)
if
ct
==
3
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
500
,
-
500
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
500
,
e
)
end
end
end
script/c25048.lua
View file @
7eba87b3
...
...
@@ -42,9 +42,10 @@ function c25048.damop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabel
(
ct
)
c
:
SetTurnCounter
(
ct
)
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
500
,
e
)
if
ct
==
5
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
500
,
-
500
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
500
,
e
)
end
end
end
script/c25050.lua
View file @
7eba87b3
...
...
@@ -56,9 +56,10 @@ function c25050.damop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabel
(
ct
)
c
:
SetTurnCounter
(
ct
)
Duel
.
Damage
(
1
-
tp
,
800
,
REASON_EFFECT
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
800
,
e
)
if
ct
==
2
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
800
,
-
800
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
800
,
e
)
end
end
end
script/c25051.lua
View file @
7eba87b3
...
...
@@ -54,9 +54,10 @@ function c25051.damop(e,tp,eg,ep,ev,re,r,rp)
local
ct
=
e
:
GetLabel
()
if
(
ct
<
3
)
then
Duel
.
Damage
(
1
-
tp
,
400
,
REASON_EFFECT
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
400
,
e
)
if
ct
==
3
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
400
,
-
400
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
400
,
e
)
end
end
end
...
...
script/c27507.lua
View file @
7eba87b3
...
...
@@ -84,9 +84,10 @@ function s.damop1(e,tp,eg,ep,ev,re,r,rp)
if
(
ct
>
0
)
then
e
:
GetHandler
():
SetTurnCounter
(
ct
-
1
)
Duel
.
Damage
(
1
-
tp
,
dam
,
REASON_EFFECT
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
dam
,
e
)
if
ct
==
1
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
dam
,
0
,
e
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
dam
,
-
dam
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
dam
,
e
)
end
end
end
...
...
script/c31013.lua
View file @
7eba87b3
...
...
@@ -94,9 +94,10 @@ function c31013.damop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabel
(
ct
)
c
:
SetTurnCounter
(
ct
)
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
500
,
e
)
if
ct
==
3
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
500
,
-
500
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
500
,
e
)
end
end
end
script/c31093.lua
View file @
7eba87b3
...
...
@@ -95,9 +95,10 @@ function s.damop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabel
(
ct
)
c
:
SetTurnCounter
(
ct
)
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
500
,
e
)
if
ct
==
3
then
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
500
,
-
500
,
e
)
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
500
,
e
)
end
end
end
script/c888174.lua
View file @
7eba87b3
...
...
@@ -21,6 +21,7 @@ function c888174.initial_effect(c)
Duel
.
RegisterEffect
(
e1
,
0
)
local
e2
=
e1
:
Clone
()
Duel
.
RegisterEffect
(
e2
,
1
)
c888174
.
burn_cts
=
{{},{}}
end
end
function
c888174
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -31,35 +32,28 @@ function c888174.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
end
function
c888174
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetLabel
(
0
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
,
4
)
e1
:
SetCode
(
EFFECT_FLAG_EFFECT
+
888174
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
cts
=
c888174
.
burn_cts
[
tp
+
1
]
table.insert
(
cts
,
4
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
1000
,
4000
,
e
)
end
function
c888174
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
GetFlagEffect
(
tp
,
888174
)
>
0
local
cts
=
c888174
.
burn_cts
[
tp
+
1
]
return
Duel
.
GetTurnPlayer
()
~=
tp
and
#
cts
>
0
end
function
c888174
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
ct
=
e
:
GetLabel
()
if
(
ct
<
4
)
then
ct
=
ct
+
1
e
:
SetLabel
(
ct
)
c
:
SetTurnCounter
(
ct
)
local
n
=
Duel
.
GetFlagEffect
(
tp
,
888174
)
for
i
=
1
,
n
do
local
cts
=
c888174
.
burn_cts
[
tp
+
1
]
local
new_cts
=
{}
for
_
,
ct
in
ipairs
(
cts
)
do
ct
=
ct
-
1
Duel
.
Hint
(
HINT_CARD
,
0
,
888174
)
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
)
if
ct
>
0
then
table.insert
(
new_cts
,
ct
)
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
0
,
-
1000
,
e
)
end
if
ct
==
4
then
else
DOT
.
DotCounter
.
Add
(
nil
,
1
-
tp
,
0
,
-
1000
,
-
1000
,
e
)
end
end
c888174
.
burn_cts
[
tp
+
1
]
=
new_cts
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