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
059e31bc
Commit
059e31bc
authored
Jan 30, 2025
by
tsubaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 4g
parent
cc068293
Pipeline
#32871
passed with stage
in 8 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
expansions/AI.cdb
expansions/AI.cdb
+0
-0
expansions/thc.cdb
expansions/thc.cdb
+0
-0
script/c22522.lua
script/c22522.lua
+3
-3
script/c23150.lua
script/c23150.lua
+2
-2
script/c25068.lua
script/c25068.lua
+6
-6
No files found.
expansions/AI.cdb
View file @
059e31bc
No preview for this file type
expansions/thc.cdb
View file @
059e31bc
No preview for this file type
script/c22522.lua
View file @
059e31bc
...
...
@@ -2,12 +2,12 @@
local
s
,
id
=
GetID
()
function
s
.
initial_effect
(
c
)
-- 同调召唤
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsType
,
TYPE_TUNER
),
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x208
),
1
)
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x208
),
1
)
c
:
EnableReviveLimit
()
-- ①:自己基本分比对方高的场合
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK_ANNOUNCE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
...
...
@@ -20,7 +20,7 @@ function s.initial_effect(c)
-- ②:自己基本分比对方低的场合
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EFFECT_CANNOT_ATTACK_ANNOUNCE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
...
...
script/c23150.lua
View file @
059e31bc
...
...
@@ -21,7 +21,7 @@ function c23150.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_DAMAGE
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
2315
0
)
e2
:
SetCountLimit
(
1
,
2315
1
)
e2
:
SetCost
(
c23150
.
cost
)
e2
:
SetTarget
(
c23150
.
target
)
e2
:
SetOperation
(
c23150
.
operation
)
...
...
@@ -47,7 +47,7 @@ function c23150.setop1(e,tp,eg,ep,ev,re,r,rp)
local
maxct
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
smct
=
0
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
231500
,
0
,
0x4011
,
500
,
2000
,
10
,
RACE_ROCK
,
ATTRIBUTE_EARTH
)
then
return
end
while
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x128a
,
2
,
REASON_COST
)
and
maxct
>
0
do
while
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x128a
,
2
,
REASON_COST
)
and
maxct
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
23150
,
2
))
do
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x128a
,
2
,
REASON_COST
)
local
token
=
Duel
.
CreateToken
(
tp
,
231500
)
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
script/c25068.lua
View file @
059e31bc
...
...
@@ -48,7 +48,7 @@ function c25068.initial_effect(c)
c25068
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_BATTLE
_DESTROYE
D
)
ge1
:
SetCode
(
EVENT_BATTLED
)
ge1
:
SetOperation
(
c25068
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
...
...
@@ -56,10 +56,11 @@ end
function
c25068
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
a
=
Duel
.
GetAttacker
()
local
at
=
Duel
.
GetAttackTarget
()
if
a
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
at
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
end
local
tc
=
a
local
tc
if
at
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
tc
=
a
end
if
a
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
tc
=
at
end
tc
:
RegisterFlagEffect
(
25068
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
if
a
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
at
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
end
tc
:
RegisterFlagEffect
(
25068
,
RESET_EVENT
+
0x1fe0000
,
0
,
0
)
end
function
c25068
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsFaceup
()
end
...
...
@@ -78,8 +79,7 @@ function c25068.descon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetEquipTarget
():
IsPosition
(
POS_FACEUP_ATTACK
)
end
function
c25068
.
desfilter
(
c
)
local
ct
=
c
:
GetFlagEffect
(
25068
)
return
c
:
IsDestructable
()
and
ct
>
0
return
c
:
IsDestructable
()
and
c
:
GetFlagEffect
(
25068
)
>
0
end
function
c25068
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsDestructable
()
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